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.
Questions tagged [azure-rm-template]
1862 questions
4
votes
2 answers
Why does setting CosmosDB throughputSettings result in "Entity with the specified id does not exist in the system"?
While trying to deploy a CosmosDB instance with 2 collections ("MyCollection1", "MyCollection2") I keep getting the error:
NotFound: Entity with the specified id does not exist in the system
So I keep searching for "resourceId" in my custom ARM…

Alexander Farber
- 21,519
- 75
- 241
- 416
4
votes
2 answers
How to return Redis primaryKey via ARM template output?
I am trying to deploy Redis with the help of the ARM template listed below - and then return its primary key (the secret string available in Azure portal for Redis under "Access keys" -> "Primary"):
However I get the error message from my pipeline…

Alexander Farber
- 21,519
- 75
- 241
- 416
4
votes
1 answer
How to dynamically get certificate thumbprint in ARM template from certificate in Azure key vault?
How can I get a certifcate's thumbprint in an ARM template, where the certificate is stored in Azure key vault? The reason being I would like to dynamically get the certificate thumbprint by simply providing the name rather than hard-coding the…
user13308826
4
votes
1 answer
Deploy of Arm Template with Logic Apps throws Error : Data sinks can’t be reused in different settings on the same category for the same resource
So I have setup a deployment of an Arm Template with some Logic Apps with some related diagnostic setting for Event hub, see img.
Event Hub Settings
However, when deploying the same template again, we get the error: "Data sinks can’t be reused in…

Jesper Jonsson
- 61
- 1
- 5
4
votes
2 answers
How do you have multiple Add Access Policy in ARM Template
I'm trying to conditionally add Access Policies to a Key Vault and the problem is that you can't have more than 1 resource in the template with the name of KeyVault/accessPolicies/add
This is effectively what I want to achieve:
{
"$schema":…

David C
- 501
- 1
- 4
- 16
4
votes
3 answers
Event subscription by ARM template for topic with EndpointType as AzureFunction
I am trying to create an event grid topic subscription with "endpointType": "AzureFunction". It is giving following error: -
"error": {
"code": "InvalidRequest",
"message": "Invalid event subscription request: Supplied URL is invalid.…

TechGuru
- 399
- 8
- 20
4
votes
2 answers
Azure ARM Role Assignment different Resource Group
I'm trying to create an ARM template that has a VM, I want the VM to have AcrPull role assignment to a Container Registry that is in a different resource group. I'm setting the scope property to the ID of the ACR (i got this from…

matt_lethargic
- 2,706
- 1
- 18
- 33
4
votes
2 answers
Azure SignalR Connection String for Azure Function App ARM template
I would just like to ask if there is an ARM template function that can get the Azure SignalR connection string.

art-a-game
- 123
- 1
- 1
- 11
4
votes
1 answer
How to listkeys on a storage account deployed via linked ARM template?
Below I have a (simplified) Azure ARM Template to deploy a website which has in its appSettings the storage account. I originally passed the key via a string output parameter which works fine.
Storage Template
"outputs": {
"storageKey": {
…

Luke Schoen
- 674
- 6
- 23
4
votes
1 answer
ARM Template Accessing Object Property through Parameter as property name
I'm searching for ways to access ARM template Object property through a parameter name.
in below example,
parameters: {
"propertyName": {
"type": "string"
}
}
variables: {
"object": {
"value": {
"color":…

Evan Park
- 528
- 1
- 6
- 20
4
votes
1 answer
Powershell JSON transformation removing unicode escape chars without removing literal \n
My issue us similiar to this question:
Json file to powershell and back to json file
When importing and exporting ARM templates in powershell, using Convert-FromJson and Convert-ToJson, introduces unicode escape sequences.
I used the code here to…

Nick.Mc
- 18,304
- 6
- 61
- 91
4
votes
2 answers
How do I provision throughput on a container?
I created a Cosmos Db account, database, and containers using this ARM template. Deployment via Azure DevOps Release pipeline is working.
I used this ARM template to adjust the database throughput. It is also in a Release pipeline and is…

DenaliHardtail
- 27,362
- 56
- 154
- 233
4
votes
3 answers
Setting Values in Azure App Configuration from ARM Templates
You can create Azure KeyVault secrets from ARM templates. Can you also create settings in Azure App Configuration from ARM templates in the same way? I can't find any documentation for it if this feature exists.

Muhammad Rehan Saeed
- 35,627
- 39
- 202
- 311
4
votes
2 answers
signedVersion in SAS token is not correctly generated from ARM template
I use the following example to generate SAS and configure App Service to send https and application logs to the blob.
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion":…

minimuz
- 111
- 1
- 8
4
votes
2 answers
Is it possible to show progress for ARM deployment in Azure DevOps?
I have a pipeline in Azure DevOps. After building and testing stuff, I create Azure Resources in order to deploy the app there.
I use Azure Resource Group Deployment task for that. It works, but in logs I see only this (for all the resouces I…

psfinaki
- 1,814
- 15
- 29