This knowledgebase post applies to the licensing of all Dynamics Objects products
If you receive an error of “Invalid License (Product Key)” or similar, there are a number of issues that may cause the problem:
1. The Organization Unique Name is case sensitive and mast be exactly the same as the Organization Unique Name in the CRM Organization, where the product is installed. Verify the Org Name in Settings>Customization>Developer Resources.
2. User(s) is not assigned with the Security Role provided with the solution, and have no access to read the license stored in DO-Settings.
3. In the DO-Settings record, the Type field does not match the product for this Product Key
4. In DO-Settings there is more than 1 record with same Product Type. Make sure that such record is not deactivated as it is still counted as duplicated record.