SOLVED

Suspend all users

Steel Contributor

Can we  suspend all the IDs within 30 mins, or in specific duration  in the event of cyber emergency. How can I do in Azure AD . please note its not deletion of user temporary block them in the event of emergency for a certain duration 

4 Replies
best response confirmed by Chandrasekhar_Arya (Steel Contributor)
Solution
Disable the account via the admin portal/PowerShell/Graph, and revoke their refresh tokens.
Can I do the same for all the user at one go ?
Sure, that's what PowerShell is for, you can script it to go over all users in bulk.
Whether all the request will complete within 30 mins? for example i need to suspend 100 IDs on 1000 servers (i.e. 100*1000 requests) will it complete within 30 mins?
1 best response

Accepted Solutions
best response confirmed by Chandrasekhar_Arya (Steel Contributor)
Solution
Disable the account via the admin portal/PowerShell/Graph, and revoke their refresh tokens.

View solution in original post