Did you get a “License assignment cannot be done for user with invalid usage location.” error when applying a license via Graph API?

One of the new features that was added on the 2013-11-08 release of Graph API is support for user licensing. If you happen to create your users via Graph API but fail to set the usageLocation property, you will run into the “License assignment cannot be done for user with invalid usage location.” error. There…