Gravatar for

Question by adoprog, Jan 31, 2017 11:40 AM

Coveo for Sitecore license and deployment scripts


I have a script that deploys new instance of Sitecore, installs Coveo module and coveolicense.xml, other files from the previously installed instance, and… it does not work / content editor shows LicenseManager exception.

How do I install Sitecore Coveo license without user interaction? If I go to control panel and login to Coveo - everything works fine, but I don't want manual steps in my deployment scripts. Is there any other file I need to copy? Or maybe a database property?

Gravatar for

Comment by Dominic Berube, Jan 31, 2017 11:46 AM


  • Which version of Coveo for Sitecore are you using?
  • What is the error message you are referring to?
Gravatar for

Comment by adoprog, Jan 31, 2017 11:52 AM

Latest version for Sitecore 8.2, it says LicenseNotFoundException…

1 Reply
Gravatar for

Answer by Dominic Berube, Jan 31, 2017 1:12 PM

Make sure the organizationId and apiKey configuration are correctly set in the cloudPlatformConfiguration section (Coveo.CloudPlatformClient.Custom.config).

Also, it might be related to the EncryptionKeys now being stored in the PropertyStore (Properties table of the Core database). If your new instance of Sitecore is now sharing the same Core database, the apiKey and other encrypted configuration won't be handled properly.

Ask a question