Questions tagged [azure-resource-manager]

Azure Resource Manager is a framework for deploying and managing applications across resources and managing groups of resources as single logical units on the Microsoft Azure cloud computing platform.

The tag is for ARM processors, use this tag for Azure Resource Manager.

2907 questions
51
votes
4 answers

what is the difference between virtual machine classic and virtual machine in azure?

In Azure there are 2 options available to create virtual machines. A. normal VM B. Classic VM Does anybody know what is the difference between both option? When do we use one over other?
user1136425
  • 612
  • 1
  • 5
  • 6
51
votes
4 answers

ARM - How can I get the access key from a storage account to use in AppSettings later in the template?

I'm creating an Azure Resource Manager template that instantiates multiple resources, including an Azure storage account and an Azure App Service with a Web App. I'd like to be able to capture the primary access key (or the full connection string,…
Scott
  • 1,077
  • 2
  • 11
  • 23
48
votes
7 answers

Why are Azure Resource Groups associated with a specific region?

I'm new to Azure architecture and am trying to understand why Azure Resource Groups, which are logical deployment buckets for applications built on Azure, are associated with a region when they are defined. At first I thought it was to provide…
Josh
  • 4,009
  • 2
  • 31
  • 46
47
votes
5 answers

Azure website resource template error

I'm attempting to use the AzureResourceManager PowerShell module to create and configure a website. I started with a template file generated by Visual Studio, which works fine when I use it via New-AzureResourceGroup -TemplateFile website.json. So…
BenV
  • 12,052
  • 13
  • 64
  • 92
39
votes
8 answers

How can I troubleshoot Azure ARM template validation errors?

I have made some small changes to an Azure ARM template file and now when I try to deploy or validate via the xplat cli I get this message. error: InvalidTemplateDeployment : The template deployment 'fakedDeploymentName' is not valid according…
awl
  • 1,540
  • 1
  • 15
  • 18
33
votes
5 answers

Check If Azure Resource Group Exist - Azure Powershell

I'm trying to verify if ResourceGroup exist or not so i thought that following code should return true or false, but it doesn't output anything. $RSGtest = Find-AzureRmResource | Format-List ResourceGroupName | get-unique $RSGtest -Match…
30
votes
4 answers

How to escape single quote in ARM template

Given the following resource in an AzureRM template, how would one encode the single quote in the commandToExecute part? { "type": "Microsoft.Compute/virtualMachines/extensions", "name": "[concat(variables('vmNameMaster'), copyIndex(),…
Poul K. Sørensen
  • 16,950
  • 21
  • 126
  • 283
28
votes
3 answers

Referencing a Managed Service Identity in ARM-template deploy

When deploying a Microsoft.Web resource with the new MSI feature the principleId GUID for the created user is visible after deployment. Screenshot below shows the structure in the ARM-template. What would be the best way to fetch this GUID later in…
soderstromOlov
  • 384
  • 1
  • 5
  • 11
28
votes
6 answers

How to rename existing Azure Logic App?

I have created a logic app, but now I want to rename existing logic app in Microsoft Azure portal. I have been looking for options, but could not find one.
Ravi Anand
  • 5,106
  • 9
  • 47
  • 77
28
votes
8 answers

How to Change the Default Azure RM subscription

ASM had the ability to change the default subscription with the -Default (and now deprecated) parameter Select-AzureSubscription -Default but the ARM version Select-AzureRMSubscription does not have the -Default parameter. How can I change the…
Mikee
  • 1,571
  • 2
  • 14
  • 24
27
votes
4 answers

How can I retrieve the instrumentation key for an Application Insights instance in an Azure Resource Group Template?

Is there any way to retrieve the Instrumentation Key for an Application Insights instance in an Azure Resource Group template ? I've tried the instructions here to retrieve the list of list* operations available on Azure resources, but…
Alex Marshall
  • 10,162
  • 15
  • 72
  • 117
26
votes
1 answer

Get connection strings in ARM

I'm creating an Azure Resource Manager template that instantiates multiple resources. I'd like to be able to capture the primary connection strings of Redis , AzureWebJobsDashboard, AzureWebJobsStorage and AzureWebJobsServiceBus.
zapoo
  • 1,548
  • 3
  • 17
  • 32
25
votes
7 answers

How do I use ARM 'outputs' values another release task?

I have an ARM template that has and outputs section like the following: "outputs": { "sqlServerFqdn": { "type": "string", "value": "[reference(concat('Microsoft.Sql/servers/',…
AC4
  • 642
  • 1
  • 7
  • 22
24
votes
5 answers

Changing Azure Resource Group location

I have a setup in azure with a bunch of resources combined in a resource group. I want my services to be located in west-europe, so all my resources are there (where possible) I just noticed that when creating the resource group, i accidentally used…
22
votes
3 answers

What does "hidden-link:" mean in Azure Resource Manager Tags

I exported an Azure Resource Manager JSON template from my resource group on Azure. I see a bunch of tags in the generated file like: "tags": { …
Seafish
  • 2,081
  • 2
  • 24
  • 41
1
2 3
99 100