Office 365 requires all users to have a Location before we can assign a license.
Feel free to leverage Export and Import CSV.
Commandlet: Set-MsolUser -UsageLocation
For a specific user the command will be:
Command: Set-MsolUser -UserPrincipalName youruser@yourdomain.com -UsageLocation NO
With Imported CSV:
Command: Import-CSV -Path C:CSVfile.csv | ForEach-Object | Set-MsolUser -UsageLocation NO
Leave a Reply
You must be logged in to post a comment.