I have a specific need to add only newly disabled users to a group,
The catch is that I would like only disabled users from a specific date forward,
ie only put in the group if they were disabled from 5/13/2023 and on
Any ideas?
I have a specific need to add only newly disabled users to a group,
The catch is that I would like only disabled users from a specific date forward,
ie only put in the group if they were disabled from 5/13/2023 and on
Any ideas?
A few things you can try are …
For more information read this article: IsDisable Constant – Connect to AD
WHEN
User.Container == “‘OU=Disabled Users’” && Employment.DateOfTermination > new DateTime(2023, 5, 13)
THEN
true
WHEN
Default
THEN
false