Enable-MSOnlineUser UsageLocation Country Codes
If you are going to use the Enable-MSOnlineUser command to bulk Activate users in Microsoft Online, one of the parameters you must specify is the UsageLocation. The only details the help file gives on the UsageLocation parameter is:
The location of the user—the location you select determines the available services. Currently the Cmdlet only accepts two-character country codes. It cannot activate users with three-character ISO country codes.
The documentation falls a little short on what the available country codes are. After doing some testing, it appears that the following list:
contains the 2 character country codes you can use for the usage location. Obviously we weren’t able to test all the country codes, but from the 10 or so we did, all appeared correct in the Administration console after activing the users via PowerShell.