Questions tagged [azure-rm-template]

Azure Resource Manager(ARM) Templates are used to deploy all the resources required for an application to Azure. In the template, you define the resources that are needed for the application and specify deployment parameters to input values for different environments. They consist of JSON and expressions which you can use to construct values for your deployment.

1862 questions
5
votes
1 answer

Deployment template validation failed template parameters 'scriptUrldsc' in the parameters file are not valid they are not present in the original

I'm receiving the error mentioned on the subject, and I'm struggling to fix it. I'm using an ARM template with several nested ARM templates, the deployment is being done using Azure DevOps. Below the templates. This first template is the one calling…
5
votes
1 answer

Create Azure AD integrated SQL Server connection in an ARM template

It looks like we are now able to authenticate with Azure AD with a SQL Server connector in a Logic App, which is great! Here is a screenshot of the new connector dropdown. My problem is when I go to change the name of this connector via an ARM…
Redbeard
  • 273
  • 2
  • 7
5
votes
2 answers

ARM Template deployment failed BadRequest

I am deploying ARM templates (Web Apps) via Azure DevOps (ARM Template Deployment) task in resource group. While executing deployment below error is coming : ##[section]Starting: ARM Template deployment: Resource Group scope …
5
votes
3 answers

ARM template Azure Web App - How do you specify Stack Settings (.NET, .NET Core,...)?

In ARM template for Azure Web App, how do you specify the stack settings for the app (.NET, .NET Core, PHP, ...)? I cannot see any field for it. Thank you
Bertrand Pons
  • 257
  • 2
  • 18
5
votes
1 answer

How to output the IP address of an App Service deployed via ARM Template

I would like the public IP address from an App Service deployed from an ARM Template like the simplified one below. I've seen examples of getting the public inbound IP address from an API Gateway, VNET of a VM, App Service Environment, etc., but I…
Robb Vandaveer
  • 1,481
  • 20
  • 25
5
votes
1 answer

ARM template transform array of strings into array of objects

Not sure if this functionality exists. I'm trying to transform a list of comma separated IP addresses from the Azure DevOps build parameters into an array of objects. So far it's only splitting a comma separated list into an array of strings, but…
Brian
  • 1,873
  • 16
  • 25
5
votes
2 answers

How to deploy an App Service Extension via Terraform or ARM?

We are using an extension for our AppService. How do I automate adding it via ARM template and/or Terraform? I cannot find it in Azure generated ARM template for the app or service plan. Thanks!
tridy
  • 1,166
  • 1
  • 12
  • 21
5
votes
1 answer

Azure Resource Manager: How to specify optional parameters in linked templates

I'm making use of linked templates to deploy common resources. In this case I'm deploying a VM which has an optional parameter defined AdminPassword that is only required in certain scenarios (namely when the parameter PasswordAuthenticationDisabled…
5
votes
1 answer

Azure ARM template depend on resources in copy loop

I am creating ARM template which takes in hash table of subnets and creates those. However, it looks that I need to wait for the first subnet to be ready before creating the second etc. But I do not know how I could depend on the previous subnet in…
Kamsiinov
  • 1,315
  • 2
  • 20
  • 50
5
votes
1 answer

CosmosDb Firewall, Azure IP addresses

I am trying to secure my cosmos db account with a firewall in my arm template. I have used the portal to see how I should edit the template. In the portal, I have selected the tickbox "Accept connections from within public Azure datacenters" and…
5
votes
3 answers

ARM resource iteration failing with an empty array

It seems that all expressions in an ARM template are evaluated up-front, so even if you have condition false for a resource, expressions within that resource are evaluated. This appears to be the case regardless of whether condition is explicitly…
David Gard
  • 11,225
  • 36
  • 115
  • 227
5
votes
1 answer

Nested ARM template and dependsOn

I am creating set of NSG rules with my ARM template and trying to update subnets to use these NSG rules in nested ARM template. Template deployments fails with "Another operation on this or dependent resource is in progress". I tried to use the…
Kamsiinov
  • 1,315
  • 2
  • 20
  • 50
5
votes
1 answer

ARM Template deployment - The resource identificator is malformed

I am trying to deploy multiple LogicApps and other resources together from a single ARM Template. When i try to do a Test-AzureRmResourceGroupDeployment with the template that i created it throws this error Code : InvalidTemplate Message :…
5
votes
4 answers

Create Key Vault certificate using ARM template

I want to create a Key Vault and add secrets as well as certificates to it using an ARM template. I have been able to find a way of creating a Key Vault as well as adding secrets to it, but couldn't find any relevant solution of adding a new…
5
votes
1 answer

Link existing hybrid connection to an azure web app through ARM-template

I have a resource group in azure which contains a Relay which contains a hybrid connection. I'm trying to deploy another resourcegroup containing a web app which should link the existing hybrid connection in the other resourcegroup. Performing this…