We can install the Sitecore modules e.g. JSS, SXA, SPE or any other module using Azure ARM templates while installing a new Sitecore environment in Azure PaaS. Wondering why we need to do this? To setup a Sitecore application server by single click using CICD, we cannot depend on manual installation of Sitecore modules as a post-installation step after Sitecore setup. How we do this? We need to- Download the wdp file (not zip package) for JSS module and store it in Azure storage (wdp available at - https://dev.sitecore.net/Downloads/Sitecore_JavaScript_Services/120/Sitecore_JavaScript_Services_1200.aspx ) Add a snippet with JSS module details in azure.parameters.json (described in the links below) https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates/blob/master/MODULES.md https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates/tree/master/JSS%2012.0.0/xp Prerequisite - Bootloader module snippet need to be included in azure.parameters.json as well for this to work.
This blog is created to serve as a repository of quick tips for Sitecore developers. I have learnt a lot from the programming community and this is my attempt to give back to the community.