Idira Identity: O365Provisioning issue - not allowed to have subscription when usage location is invalid value
85
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 15:58 PM
Question
O365 Provisioning issue: check user provisioning and can see the error: User peter@abc.com could not be created/updated or assigned to license in Office365. Message: Invalid property: not allowed to have subscription when usage location is invalid value=UK paramName: UsageLocation, paramValue: UK, objectType: System.String
What could be the reason and how can we change? The user is from England (United Kingdom) and why UK cannot be used?
Environment
21.10
Answer
This seems an issue by incorrect country code set in Usage Location. Please follow the below steps to see if it will help:
(1) Go to the O365 app settings in Okta
(2) Click on Assignment tab and find the user
(3) Click Edit Assignment (pencil button)
(4) Set the appropriate usage location for your user.
Usage Location attribute should be the country code of the user. For example if the user is based in the United States, usage location would be US, for users from England, it would be GB and for users in Romania it is RO.
Here's the documentation from Microsoft with the available country codes.
https://docs.microsoft.com/en-us/linkedin/shared/references/reference-tables/country-codes
After that, try a manual provisioning sync on the user again.
[admin portal > users > select the user > actions > sync all apps]