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

image.png

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.

image.png

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 (289k points)
selected by
Best answer

Hello,

You will need to use a slightly different approach:

0

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 (2.0k 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

I want to create a scheduled task to disable a user if he is inactive for 30days, the task must check inacivity o AD and Azure.

asked May 16 by johanpr (120 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, 2023 by wintec01 (1.5k 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, 2023 by fjacques (20 points)
3,550 questions
3,241 answers
8,235 comments
547,827 users