Forum Discussion
Is there a easy way to exit a user?
- Nov 30, 2018
Here's what we do:
- As the user exits, the AD account gets disabled
- A daily scheduled script which:
1. Pulls user accounts that were disabled in the last 24 hours
2. Connects to O365
3. Enables 'x' days litigation hold on the identified mailboxes
4. Waits 60 mins (for the LitHold to take effect)5. Prefixes the Alias (from on-premise) with "CAS_}"
In the next sync interval, these accounts will become inactive mailboxes and will remain in the O365 system for 'x' days per the litigation hold interval. The licenses get automatically freed up as the accounts become inactive.
May not be the best approach as every organization would have their own needs, this approach works for us (open to suggestions/improvements).
Here's what we do:
- As the user exits, the AD account gets disabled
- A daily scheduled script which:
1. Pulls user accounts that were disabled in the last 24 hours
2. Connects to O365
3. Enables 'x' days litigation hold on the identified mailboxes
4. Waits 60 mins (for the LitHold to take effect)
5. Prefixes the Alias (from on-premise) with "CAS_}"
In the next sync interval, these accounts will become inactive mailboxes and will remain in the O365 system for 'x' days per the litigation hold interval. The licenses get automatically freed up as the accounts become inactive.
May not be the best approach as every organization would have their own needs, this approach works for us (open to suggestions/improvements).