license cannot be assigned to a user without a usage location specified.
check out my latest posts what we do our product offerings: role based views for dynamics 365 crm-sharepoint attachment uploader and metadata manager record cloner for dynamics 365 multiselect picklist for dynamics 365
ADS