0 votes

I'm not entirely sure if this is possible using a business rule but what I am trying to achieve is have the business rule perform actions when a user account has expired.

Can this be acheived or would a scheduled task be the preferred method?

admc_2020-09-21_13-44-58.png

by (90 points)

1 Answer

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

Hello Richard,

If you want the actions to be executed when account expires, the Business Rule will not work. The thing is that Business Rules can be triggered only by the operations performed via Adaxes. When the account expiration date passes, the account itself does not change. To execute your actions when account has expired, a Scheduled Task should be used. For information on how to schedule tasks in Adaxes, please, have a look at the following tutorial: https://www.adaxes.com/tutorials_AutomatingDailyTasks_ScheduleTasksForActiveDirectoryManagement.htm. To prevent execution of the actions from the first action set on the disabled accounts, you can add the If account is enabled condition. Your task should be like the following: image.png

0

Thank you, that really cleared up my confusion. I will setup the scheduled task as suggested.

Related questions

0 votes
1 answer

My scheduled task currently: Checks for staff in a particular OU that do not have an O365 license Adds a license Resets their AD Password Moves them to an OU based off ... scheduled task moves them out of the OU that the business rule is looking at. Thanks

asked Apr 15, 2020 by russmerriman (40 points)
0 votes
1 answer

Hi, I recall reading in documentation that business rules will be triggered also if changes are made in AD MMC or powershell. Right now the rules are triggered when changes ... so would there be any way to have business rules triggered in these cases? Thanks

asked Dec 7, 2017 by digimortal (240 points)
0 votes
1 answer

We would like to create a ticket in our ticketing system after a user's account is unlocked. I would like to use a business rule to do this so that it happens automatically. I don't see an option for this. I only see "After updating a user:"

asked Feb 4, 2020 by mark.it.admin (2.0k points)
0 votes
1 answer

Hello, I'd like the change the behavior of the account expires field from end of the day meaning 12am the next day to a specific time on the date specified. Example 5pm on ... got the idea from here: https://mikefrobbins.com/2013/12/12/set ... owershell/

asked Jul 31, 2019 by polley (1.2k points)
0 votes
1 answer

The secret has expired. 365 Tenant Application. I went into Azure AD and looked and went to Enterpise Applications but don't see a place to "reset" the client secret.

asked Mar 21 by B_Witmer (20 points)
2,779 questions
2,512 answers
6,574 comments
25,886 users