This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Query Inactive Users and disable/deprovison depending on how long it has been

Hi All,

I am in the middle of creating a workflow in ARS to basically does the following:

1) Scheduled workflow(s) that runs once a day

2) Queries All Domain Controllers to determine a users LastLogon attribute

3) If the amount of days since last logon is, lets say 20, send an email to the user warning them they will be disabled

4) Once that user hits 30 days with no active logons, the user account should be disabled.

5) After 90 days of no logins deprovision the account with existing deprovisioning rules

There is more to it, but just wanting to see how people have done something similar to the above? Are you exporting to CSV, are you using mutliple workflows, multiple scripts? Would love to see what you have.

Thanks!