Give us a call: 877-788-1617

Live Chat: Offline

Stay in the know with the MessageOps newsletter:

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:

http://www.iso.org/iso/english_country_names_and_code_elements

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.

Ready to get started? Contact us today to learn more.

CONTACT US

Awarded top 30 office 365 blog