title: ARM Template assign multiple cert thumbprint to WEBSITES_LOAD_CERTIFICATES
body: <p>Am working on ARM template to deploy the application to Azure App service and want to load the two certificate's thumbprint in WEBSITES_LOAD_CERTIFICATES in App Settings of App service.</p>
  
  <pre><code>{
    "apiVersion": "2015-04-01",
    "name": "[parameters('webAppName')]",
    "type": "Microsoft.Web/sites",
    "location": "[resourceGroup().location]",
    "dependsOn": [
      "[concat('Microsoft.Web/serverFarms/',variables('appServicePlanName'))]",
      "[concat('Microsoft.Web/certificates/',variables('certificateName'))]"
    ],
    "properties": {
      "serverFarmId": "[resourceId('Microsoft.Web/serverFarms',variables('appServicePlanName'))]",
      "siteConfig": {
        "appSettings": [
          {
            "name": "WEBSITE_LOAD_CERTIFICATES",
            "value": "[reference(resourceId('Microsoft.Web/certificates', variables('certificateName'))).Thumbprint]"
          }
        ]
      }
    }
  </code></pre>
  
  <p>I have tried as below but that giving error. I do not find any help to load two certificates thumbprint.</p>
  
  <pre><code>"properties": {
      "serverFarmId": "[resourceId('Microsoft.Web/serverFarms',variables('appServicePlanName'))]",
      "siteConfig": {
        "appSettings": [
          {
            "name": "WEBSITE_LOAD_CERTIFICATES",
            "value": "[reference(resourceId('Microsoft.Web/certificates', variables('certificateName'))).Thumbprint],[reference(resourceId('Microsoft.Web/certificates', variables('certificateName1'))).Thumbprint]"
          },
        ]
      }
    },
  </code></pre>
  
  <p>please help to load two certificate thumbprint to WEBSITES_LOAD_CERTIFICATES using ARM template
  Tried as below but loading only second cert thumbprint.</p>
  
  <pre><code>"appSettings": [
              {
                "name": "WEBSITE_LOAD_CERTIFICATES",
                "value": "[reference(resourceId('Microsoft.Web/certificates', variables('certificateName'))).Thumbprint]",
                "value": "[reference(resourceId('Microsoft.Web/certificates', variables('certificateName1'))).Thumbprint]"
              },
  </code></pre>