ARM Template Error & Fix: Invalid Template … The resource referenced in output is not defined in the template

This articles assume you have a good working knowledge of ARM linked templates. Background: I am deploying a SQL Server resource arm template through a linked template. I want to get the values of the output of this linked template to pass into as values into properties of the azure website resource in the main …

Continue reading ARM Template Error & Fix: Invalid Template … The resource referenced in output is not defined in the template

How to get the Secret from an Output of an Azure Key Vault ARM Template Deployment to the Main ARM Template

The Scenario I have a set of ARM templates that deploys an azure app service solution with Azure Key Vault and a secret value. The main template is calling out via the linked template resource reference to the Key Vault resource template. ... snippet ... }, "resources": [ { "apiVersion": "2018-05-01", "name": "linkedTemplate-keyvault", "type": "Microsoft.Resources/deployments", …

Continue reading How to get the Secret from an Output of an Azure Key Vault ARM Template Deployment to the Main ARM Template

Linked ARM Templates for a Multi Resource Azure Solution

When deploying a set of azure resources using Azure Resource Manager (ARM) templates in a single file can leave with a large json file that can be difficult to manage and maintain. To employ modularity and reuse, you can break out azure resources into its own ARM template and have an ARM template link or …

Continue reading Linked ARM Templates for a Multi Resource Azure Solution

Error & Fix: Linked Template ‘Invalid Template … The language expression property templateLink doesn’t exist’

I will explain an ARM template deployment error "The language expression property 'templateLink' doesn't exist" and how I resolved it. My ARM template is using a linked template to call out to provision an Azure Key vault. The following is the ARM template snippet from my main template calling out to the linked template: 1 …

Continue reading Error & Fix: Linked Template ‘Invalid Template … The language expression property templateLink doesn’t exist’

Error & Fix: ARM Linked Template ‘Invalid Template .. could not find template resource’

I will explain an error I encountered and my fix that I find worthwhile sharing and hope that it will save others some time. In my ARM template development, I am trying to deploy an Azure SQL Server PaaS resource and Key Vault. This is so that I can store the DB admin password in …

Continue reading Error & Fix: ARM Linked Template ‘Invalid Template .. could not find template resource’