Sitecore licences have an expiry date.
If you've deployed up-to Azure using the wizard in the portal, how can you upload or attach a new licence file to prevent Sitecore returning an Invalid Licence exception?
You can use a FTPS or Web Deploy client to connect directly to the filesystem on the deployed App Service instance. Open up your .publishsettings
file with a text editor, and you can see the endpoints to use and the username/passwords.
Ensure you use an FTP client that supports explicit TLS encryption (like WinSCP).
The license file is stored in the /site/wwwroot/App_Data
folder on your server. You can use FTP to upload a new license.xml file.
App Service Editor
- a drag-and-drop web interface to your file system.
Commented
Oct 2, 2017 at 15:30
We've had success symlinking the App_Data
folder to a network share. We've got some batch scripts running at deploy time to accomplish this.