{"id":13650149,"url":"https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates","last_synced_at":"2025-04-22T18:31:02.898Z","repository":{"id":41351361,"uuid":"72458223","full_name":"Sitecore/Sitecore-Azure-Quickstart-Templates","owner":"Sitecore","description":"This repo contains all currently available Azure Resource Manager templates for Sitecore","archived":false,"fork":false,"pushed_at":"2025-03-18T20:06:39.000Z","size":2111,"stargazers_count":143,"open_issues_count":25,"forks_count":283,"subscribers_count":55,"default_branch":"master","last_synced_at":"2025-03-18T21:22:53.720Z","etag":null,"topics":["arm-templates","sitecore"],"latest_commit_sha":null,"homepage":null,"language":"PowerShell","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sitecore.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"Security patches/SC2019-002-312864/8.2/SC2019-002-312864.zip","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-10-31T16:58:44.000Z","updated_at":"2025-03-18T20:06:53.000Z","dependencies_parsed_at":"2022-07-30T23:47:51.693Z","dependency_job_id":"0e4a5a3a-1d56-44b0-aaec-e9771293ce36","html_url":"https://github.com/Sitecore/Sitecore-Azure-Quickstart-Templates","commit_stats":null,"previous_names":[],"tags_count":27,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sitecore%2FSitecore-Azure-Quickstart-Templates","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sitecore%2FSitecore-Azure-Quickstart-Templates/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sitecore%2FSitecore-Azure-Quickstart-Templates/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sitecore%2FSitecore-Azure-Quickstart-Templates/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sitecore","download_url":"https://codeload.github.com/Sitecore/Sitecore-Azure-Quickstart-Templates/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250297199,"owners_count":21407167,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arm-templates","sitecore"],"created_at":"2024-08-02T02:00:34.266Z","updated_at":"2025-04-22T18:31:02.878Z","avatar_url":"https://github.com/Sitecore.png","language":"PowerShell","readme":"# Sitecore-Azure-Quickstart-Templates\nThis repo contains all currently available Azure Resource Manager templates for Sitecore\n\n# Documentation\nYou can read all about Sitecore Azure AppService integration and ARM Template deployment at [Sitecore Documentation Site](https://doc.sitecore.com/xp/developers)\n\n# Compatibility\nChoose the compatible templates for your Sitecore version:\n\n| Templates Folder | Compatible Product versions                                           |\n|------------------|-----------------------------------------------------------------------|\n| Sitecore 8.2.1   | Sitecore 8.2 Update-1 and Update-2                                    |\n| Sitecore 8.2.3   | Sitecore 8.2 Update-3                                                 |\n| Sitecore 8.2.4   | Sitecore 8.2 Update-4                                                 |\n| Sitecore 8.2.5   | Sitecore 8.2 Update-5 and Update-6                                    |\n| Sitecore 8.2.7   | Sitecore 8.2 Update-7                                                 |\n| Sitecore 9.0.0   | Sitecore 9.0\t                                                   |\n| Sitecore 9.0.1   | Sitecore 9.0 Update-1 \u003cbr /\u003ePlease note that these ARM templates link to an additional WDP in order to resolve a potential performance issue on start-up (see KB [article](https://kb.sitecore.net/articles/290593) for more info).                                               \t|\n| Sitecore 9.0.2   | Sitecore 9.0 Update-2                                                 |\n| Sitecore 9.1.0   | Sitecore 9.1                                                          |\n| Sitecore 9.1.1   | Sitecore 9.1 Update-1                                                 |\n| Sitecore 9.2.0   | Sitecore 9.2                                                          |\n| Sitecore 9.3.0   | Sitecore 9.3                                                          |\n| Sitecore 10.0.0  | Sitecore 10.0.0, 10.0.1, 10.0.2 and 10.0.3                            |\n| Sitecore 10.1.0  | Sitecore 10.1.0                                                       |\n| Sitecore 10.1.1  | Sitecore 10.1.1, 10.1.2, 10.1.3                                       |\n| Sitecore 10.2.0  | Sitecore 10.2.0, 10.2.1, 10.2.2, 10.3.0, 10.3.1, 10.3.2, 10.4.0       |\n| Identity Server 8.0 | Sitecore Identity Server 8.0 (earlier versions delivered as part of Sitecore) |\n| WFFM 8.2.3       | Web Forms For Marketers 8.2 Update-3, Update-4 and Update-5           |\n| WFFM 9.0.0       | Web Forms For Marketers 9.0\t\t\t\t           |\n| AD 1.3.0         | Active Directory 1.3                                                  |\n| EXM 3.5.0        | Email Experience Manager 3.5.0                                        |\n| SXA         | Sitecore Experience Accelerator 1.3 - 1.6 for Sitecore 8.2 and Sitecore 9.0\t |\n| Sitecore XC 9.0.0 | Commerce 9.0 Initial, Commerce 9.0 Update-1. Use with templates: Sitecore 9.0.1, SXA 1.6, SXA Storefront 1.0 |\n| Sitecore XC 9.0.2 | Commerce 9.0 Update-2. Use with templates: Sitecore 9.0.2, SXA 1.7.1, SXA Storefront 1.2 |\n| Sitecore XC 9.0.3 | Commerce 9.0 Update-3. Use with templates: Sitecore 9.0.2, SXA 1.8, SXA Storefront 1.4 |\n| Sitecore XC 9.1.0 | Commerce 9.1 Initial. Use with templates: Sitecore 9.1.1, SXA 1.8, SXA Storefront 2.0 |\n| Sitecore XC 9.2.0 | Commerce 9.2 Initial. Use with templates: Sitecore 9.2.0, SXA 1.9.0, SXA Storefront 3.0 |\n| Sitecore XC 9.3.0 | Commerce 9.3 Initial. Use with templates: Sitecore 9.3.0, SXA 9.3.0, SXA Storefront 4.0 |\n| Sitecore XC 10.0.0 | Commerce 10.0.0. Use with templates: Sitecore 10.0.0, SXA 10.0.0, SXA Storefront 5.0 |\n| SXA Storefront 1.0 | SXA Storefront 1.0. Use with templates: Sitecore 9.0.1, Sitecore XC 9.0.0, SXA 1.6 |\n| SXA Storefront 1.2 | SXA Storefront 1.2. Use with templates: Sitecore 9.0.2, Sitecore XC 9.0.2, SXA 1.7.1 |\n| SXA Storefront 1.4 | SXA Storefront 1.4. Use with templates: Sitecore 9.0.2, Sitecore XC 9.0.3, SXA 1.8 |\n| SXA Storefront 2.0 | SXA Storefront 2.0. Use with templates: Sitecore 9.1.1, Sitecore XC 9.1.0, SXA 1.8 |\n| SXA Storefront 3.0 | SXA Storefront 3.0. Use with templates: Sitecore 9.2.0, Sitecore XC 9.2.0, SXA 1.9.0 |\n| SXA Storefront 4.0 | SXA Storefront 4.0. Use with templates: Sitecore 9.3.0, Sitecore XC 9.3.0, SXA 9.3.0 |\n| SXA Storefront 5.0 | SXA Storefront 5.0. Use with templates: Sitecore 10.0.0, Sitecore XC 10.0.0, SXA 10.0.0 |\n\n# Pre-deployment Checklist\n1. Ensure you have the latest Azure PowerShell Az module installed. You can find installation instructions at [Install Azure PowerShell](https://docs.microsoft.com/en-us/powershell/azure/install-az-ps)\n2. Ensure that Sitecore Web Deploy packages you are going to deploy are available for download over the Internet\n3. Download and update the parameter values in the **azuredeploy.parameters.json** file\n\n# Preparing prerequisites\nPrerequisites section allows to deploy pre-step(s) (for example solr deployment, etc. ) before the main deployment.\nIn order to deploy prerequisites as part of Sitecore deployment, you will need to change azuredeploy.parameters.json by adding prerequisites object with necessary parameters. \nParameters that should be passed to the prerequisite depend on the actual deployment template. For example:\n\n```JSON\n\"prerequisites\": {\n    \"value\": {\n        \"items\": [\n            {\n                \"name\": \"\u003cName of the prerequisite\u003e\",\n                \"templateLink\": \"\u003cURL of the Resource Manager template that deploys the prerequisite\u003e\",\n                \"parameters\": {\n                    /* Parameters for the prerequisite. Can be empty */\n                    \"\u003cName of the parameter\u003e\": {\n                        \"value\": \"\u003cValue of the parameter\u003e\"\n\t\t\t\t\t}\n                }\n            }\n        ]\n    }\n}\n```\n\n# Sample PowerShell Script\nBelow is a sample PowerShell script that can help you to get up and running quickly with the ARM Templates. There is also a Sitecore PowerShell CmdLet available for download at [Sitecore Downloads Site](https://dev.sitecore.net/) that makes the deployment even easier.\n\n```PowerShell\n# Specify the parameters for the deployment \n$ArmTemplateUrl = \"AZUREDEPLOY_JSON_URL\"\n$ArmParametersPath = \".\\azuredeploy.parameters.json\"\n$licenseFilePath = \"PATH_TO_LICENSE_XML\"\n\n# Specify the certificate file path and password if you want to deploy Sitecore XP or XDB configurations\n$certificateFilePath = $null \n$certificatePassword = $null\n$certificateBlob = $null\n\n$Name = \"RESOURCE_GROUP_NAME\"\n$location = \"AZURE_DATA_CENTER_NAME\"\n$AzureSubscriptionId = \"AZURE_SUBSCRIPTION_ID\"\n\n# read the contents of your Sitecore license file\n$licenseFileContent = Get-Content -Raw -Encoding UTF8 -Path $licenseFilePath | Out-String\n\n# read the contents of your authentication certificate\nif ($certificateFilePath) {\n  $certificateBlob = [System.Convert]::ToBase64String([System.IO.File]::ReadAllBytes($certificateFilePath))\n}\n\n#region Create Params Object\n# license file needs to be secure string and adding the params as a hashtable is the only way to do it\n$additionalParams = New-Object -TypeName Hashtable\n\n$params = (Get-Content $ArmParametersPath -Raw | ConvertFrom-Json).parameters\n\nforeach($p in $params | Get-Member -MemberType *Property)\n{\n    $additionalParams.Add($p.Name, $params.$($p.Name).value)\n}\n\n$additionalParams.Set_Item('licenseXml',$licenseFileContent)\n$additionalParams.Set_Item('deploymentId',$Name)\n\n# Inject Certificate Blob and Password into the parameters\nif ($certificateBlob) {\n  $additionalParams.Set_Item('authCertificateBlob',$certificateBlob)\n}\nif ($certificatePassword) {\n  $additionalParams.Set_Item('authCertificatePassword',$certificatePassword)\n}\n\n#endregion\n\n#region Service Principle Details\n\n# By default this script will prompt you for your Azure credentials but you can update the script to use an Azure Service Principal instead by following the details at the link below and updating the four variables below once you are done.\n# https://azure.microsoft.com/en-us/documentation/articles/resource-group-authenticate-service-principal/\n\n$UseServicePrincipal = $false\n$TenantId = \"SERVICE_PRINCIPAL_TENANT_ID\"\n$ApplicationId = \"SERVICE_PRINCIPAL_APPLICATION_ID\"\n$ApplicationPassword = \"SERVICE_PRINCIPAL_APPLICATION_PASSWORD\"\n\n#endregion\n\ntry \n{\n\t\n\t#region Validate Resouce Group Name\t\n\n\tWrite-Host \"Validating Resource Group Name...\"\n\tif(!($Name -cmatch '^(?!.*--)[a-z0-9]{2}(|([a-z0-9\\-]{0,37})[a-z0-9])$'))\n\t{\n\t\tWrite-Error \"Name should only contain lowercase letters, digits or dashes,\n\t\t\t\t\t dash cannot be used in the first two or final character,\n\t\t\t\t\t it cannot contain consecutive dashes and is limited between 2 and 40 characters in length!\"\n\t\tBreak;\t\t\n\t}\n\t\t\n\t#endregion\n\t\n\tWrite-Host \"Setting Azure PowerShell session context...\"\n\n \tif($UseServicePrincipal -eq $true)\n\t{\n\t\t#region Use Service Principle\n\t\t$secpasswd = ConvertTo-SecureString $ApplicationPassword -AsPlainText -Force\n\t\t$mycreds = New-Object System.Management.Automation.PSCredential ($ApplicationId, $secpasswd)\n        Connect-AzAccount -ServicePrincipal -Tenant $TenantId -Credential $mycreds\n\t\t\n        Set-AzContext -SubscriptionId $AzureSubscriptionId -TenantId $TenantId\n\t\t#endregion\n\t}\n\telse\n\t{\n\t\t#region Use Manual Login\n\t\ttry \n\t\t{\n\t\t\tWrite-Host \"inside try\"\n            Set-AzContext -SubscriptionId $AzureSubscriptionId\n\t\t}\n\t\tcatch \n\t\t{\n\t\t\tWrite-Host \"inside catch\"\n            Connect-AzAccount\n            Set-AzContext -SubscriptionId $AzureSubscriptionId   \n\t\t}\n\t\t#endregion\t\t\n\t}\n\t\n \tWrite-Host \"Check if resource group already exists...\"\n    $notPresent = Get-AzResourceGroup -Name $Name -ev notPresent -ea 0\n\t\n\tif (!$notPresent) \n\t{\n        New-AzResourceGroup -Name $Name -Location $location\n\t}\n\t\n\tWrite-Host \"Starting ARM deployment...\"        \n    New-AzResourceGroupDeployment `\n\t\t\t-Name $Name `\n\t\t\t-ResourceGroupName $Name `\n\t\t\t-TemplateUri $ArmTemplateUrl `\n\t\t\t-TemplateParameterObject $additionalParams `\n\t\t\t# -DeploymentDebugLogLevel All -Debug -Verbose\n\t\t\t\n\tWrite-Host \"Deployment Complete.\"\n}\ncatch \n{\n\tWrite-Error $_.Exception.Message\n\tBreak \n}\n```\n","funding_links":[],"categories":["Azure"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSitecore%2FSitecore-Azure-Quickstart-Templates","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSitecore%2FSitecore-Azure-Quickstart-Templates","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSitecore%2FSitecore-Azure-Quickstart-Templates/lists"}