Auto-Licensing script for Office 365

You can use the following script with task scheduler to connect to your tenant via powershell, check for any unlicensed users and apply a license. It will alert via email when the number of free licenses in your tenant falls below a certain number. The script stores the credential password encrypted in a file, so…

5

Duplicating an on-prem mail-enabled security group as a cloud DL

Many Office 365 customers run into problems in a non-hybrid (simple coex) configuration where they used to have on-premise mail-enabled security groups, but they alllowed the group owners to update membership using the GAL in Outlook (with the Modify Members button).  Once these groups are synced to the cloud and the users migrated along with…

1