Answer · Low impact
Licence assignment fails: usage location is not set
Symptom
Assigning a Microsoft 365 licence fails with an error that the user's usage location is required, often for accounts created by a script or by sync.
Cause
Licences can only be assigned when the user has a usage location, because service availability differs by country.
Resolution
Set the usage location on the user.
Assign the licence again.
For synced users, set it through group-based licensing defaults or a sync rule so new accounts get it.
Script
Connect-MgGraph -Scopes User.ReadWrite.All
Update-MgUser -UserId user@contoso.com -UsageLocation "IN"
InnovaticT