Licenses could not be assigned or removed due to an error -Azure AD group based licenses

Scenario: Group based licensing is enabled in Azure AD. Exchange online is not assigned through the group based licensed. Newly added users to the group fail to get licenses assigned via the group. Reprocessing the group based license throws error: Licenses could not be assigned or removed due to an error Solution: A recent service … Continue reading Licenses could not be assigned or removed due to an error -Azure AD group based licenses

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