0 votes

Hello Community,

we want to allow every IT-Coordinator do disable Users.

Our Process is as followed:

  • the manager of the OU can mark a user to be disabled by a specific date! (not directly deleted, because we have a retention period in which out-of-office messages have to be sent)
  • approval by IT team
  • do some changes to the user, but the user has to be left active (changes in the screenshot)
  • user should be deleted automatically by a scheduled task after the date set by the manger plus one month


so the user has to be active until the user will be deleted. this is needed because we want to have an out-of-office message regarding for one month. afther this one month, the user can be deleted by the scheduled task.


my first try was to set the parameter given from the manager in the webform of the last day to a customattribute and then let the scheduled task run every day and see if the dates is one month after the "lastday-parameter".

is this possible in such a way?

or is there another way to schedule a task for later?

by (200 points)

1 Answer

0 votes
by (257k points)
selected by
Best answer


You will need to use a slightly different approach:


thank you so much! ;-)

Related questions

0 votes
1 answer

Hi We have a couple of scheduled tasks set up to remove accounts which have been disabled for a perios of time. This works fine for normal user accounts, but we ... and former domain admin accounts? We're running the latest version of Adaxes Thanks Matt

asked Oct 26, 2022 by chappers77 (1.7k points)
0 votes
1 answer

Hello, we cannot delete users with adminCount=1 with the buildin action "Delete the user" because of missing (adminSDHolder)permission to delete users as ... $identity = "%distinguishedName%" Remove-AdmUser -Identity $identity -Confirm:$False regards Helmut

asked Nov 17, 2020 by a423385 (510 points)
0 votes
1 answer

Hi, our user objects are synced from HR system into AD and generated by a middleware - would a business rule "After creating a user" be triggered in this way or not? Looks ... for this? I need to control those tasks and would like to exit in case of issues

asked Jun 5 by wintec01 (420 points)
0 votes
1 answer

and script is but nothing is happeneing. my user in adaxe browwser has the attribute to yes

asked May 10 by fjacques (20 points)
0 votes
1 answer

I have a scheduled task that runs a Powershell script against an AD group, "Group 1". I need to get all of the members of Group 1, and add them to Group 2. The ... identity in the error message start with 'user;'? What is the correct way to accomplish this?

asked Aug 27, 2019 by ngb (130 points)
3,167 questions
2,870 answers
506,077 users