Wednesday, March 16, 2011

Getting the CRM 4.0 License Key from the Database

Hi,

I found the below query that can help us to retrieve the CRM 4.0 license key from the database. Run it against the MSCRM_Config DB:
SELECT LicenseKey FROM ConfigSettings

Update
The above code does not work for CRM 2013. Please find the updated query to find the license key specific to an Organization in CRM 2013
SELECT B.NVarCharColumn 
FROM [dbo].[ConfigSettings] A , [dbo].[ConfigSettingsProperties] B
Where A.Id=b.Id
And B.ColumnName='LicenseKeyV6RTM'

No comments:

Post a Comment