Kill all active user sessions in any Azure AD/ Office 365 application

If you are are ever in a situation where you have to deal with a compromised O365 account or situation similar to mine where users were assigned Onedrive/SPO license and you want to revoke them and stop users from using them immediately, the below cmdlet is much helpful. If you are dealing with a large … Continue reading Kill all active user sessions in any Azure AD/ Office 365 application

Force a sync from Azure AD Connect to Office 365

AAD sync runs every 30 minutes, we are several situations where you cant wait 30 minutes for a change to sync across, you still want to force a sync.┬áTo do so, on the server which has AAD Connect installed and type the following to import the AAD Connect PowerShell module: Import-Module ADSync You check the … Continue reading Force a sync from Azure AD Connect to Office 365