0 votes

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 their office location

I also have a business rule that triggers on the reset of a user password and send the user a Welcome email with the password but it only triggers for users in the OU that the scheduled task looks at... I just want to know if the Business Rule will trigger before the scheduled task moves them out of the OU that the business rule is looking at.


by (450 points)

1 Answer

0 votes
by (215k points)


By default, actions in Business Rules, Scheduled Tasks, and Custom Commands are executed sequentially. An action will not be executed until all the operations related to execution of the previous one (e.g. the triggered Business Rules) are finished. So, if the Reset user password action is specified before the Move the user action in your Scheduled Task, the move operation will be performed only after all the Business Rules triggered by the password reset are executed. But, if the Execute asynchronously checkbox is selected in properties of an action, the main operation (e.g. Scheduled Task run) will not wait until the action is executed. image.png

Related questions

0 votes
1 answer

Is it possible to disable then re-enable a Business Rule from a Scheduled Task? For example, when the Scheduled tasks starts, it disables a Business Rule, runs the Task(s), then re-enables the Business Rule when done.

asked May 11, 2016 by Kikaida (4.8k points)
0 votes
1 answer

Hello, I have my OUs structured so each department we're working with has an OU for their service accounts under their department OU. e.g. OU=Service Accounts,OU=Sales,OU= ... add each new OU to the scheduled task but I was hoping for something more hands off.

asked Oct 19, 2015 by drew.tittle (4.5k points)
0 votes
1 answer

"Connecting to remote server <<FQDN Servername>> failed with the following error message : The server certificate on the destination computer (<<FQDN servername: ... ? This may help to diagnose the issue with schannel on the skype server.

asked Mar 5 by mark.it.admin (3.5k 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 (280 points)
0 votes
0 answers

I am creating a new scheduled task and form. We would like to have the ability to schedule the reassignment of a staff member to a different location in the future. ... context, my manager won't necessarily know when he tries to move somebody. Thanks everybody

asked May 21 by jcalvert (650 points)
2,183 questions
1,948 answers
5,257 users