Is it poossibel to run pre and post commands before processing all objects, and then after processing all objects? I have a process that validates if a user account should be disabled, at the moment I have it that if there is an error the account is disabeld by default as a fall back postion, this need to stay in place. However I need to be able to tell if the process failing is causing mass disabling of accounts.

ago by (410 points)

1 Answer

ago by (310k points)
0 votes

Hello Sam,

Unfortunately, there is no such possibility. Each object is processed by a scheduled task separately. You can use corresponding conditions in the task itself or business rules triggering before the corresponding operation (e.g. Before updating a user) to perform the required validation.

Related questions

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

Is it possible to disable a specific action and/or condition block in a custom command or scheduled task? The main use case would be to make troubleshooting easier without ... as well as the ability to disable an entire condition block from the context menu.

asked Jan 4, 2023 by ngb (360 points)
0 votes
1 answer

We have a couple scheduled tasks that are scoped to run on all user objects across our domain to check for things like upcoming password expiration and account expiration. These ... log. Is there a way to only log events when an operation is executed?

asked Jul 9, 2021 by KelseaIT (330 points)
0 votes
1 answer

New user here, and I'm hoping this is an easy question: I'm able to modify the actions available to a user before (for example) a contact is created in the Edit ... add the new contact to various groups. How I disable that action? Thanks for the assistance!

asked Nov 2, 2016 by ctdhelpdesk (190 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, 2024 by johanpr (120 points)
0 votes
1 answer