Questions tagged [azure-resource-group]

275 questions
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
18
votes
5 answers

Azure ARM Template : Create Resource Group

We are new to ARM (Azure Resource Manager) templates. While working on a template, I observed that we have to supply a resource group when deploying our template. Is it is possible to create a resource group through a template like other resources?
BlindSniper
  • 1,731
  • 3
  • 16
  • 30
17
votes
2 answers

When should we use a parameter when to use variable in ARM templates

I am confused about where to use a variable and where to use a parameter in ARM templates. How do we make this call ? The referenced script uses both. I am more curious of the justification of using variables. Reference Sample Service Fabric Azure…
15
votes
7 answers

What does the "One of the deployment parameters has an empty key" mean in VSTS ARM release

My ARM template resource group deployment fails in VSTS. I get an error without any specific reference to parameter that has an issue: "One of the deployment parameters has an empty key. Please see https://aka.ms/arm-deploy/#parameter-file for…
15
votes
1 answer

Azure Resource Group Stuck in "Moving Resources"

I was doing some cleanup moving some Azure Cloud Services to a newly created Resource group with the following command Find-AzureRmResource -ResourceNameContains "oldresourcename" | Move-AzureRmResource -DestinationResourceGroupName…
12
votes
4 answers

Deployment slot specific appsettin in ARM template?

I'm trying to get into that Visual Studio Resource Group template. So far it's looking good, and I have added some appsettings for a web app, but my question is, how can I make them deployment slot specific? Is there something in the json for the…
9
votes
5 answers

How to get all Azure Resources without tags in a Azure Resource Group

In my Azure dev/test lab (DTL), there are many resources which were not tagged. How can I get a list of all untagged resources under DTL/resource group?
DevX
  • 725
  • 3
  • 13
  • 26
8
votes
1 answer

Create Azure Resource Group using Bicep

I'm trying to create an Azure Resource Group using a .bicep file: targetScope = 'subscription' param environment string param location string = deployment().location resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' = { …
Sergiu Molnar
  • 865
  • 1
  • 11
  • 22
8
votes
2 answers

The term 'New-AzResourceGroupDeployment' is not recognized as the name of a cmdlet, function

I need to run below command in my PowerShell : New-AzResourceGroupDeployment -Name Myrg1010 -ResourceGroupName ADFcslResourceGroup -TemplateFile C:\ADFARM.json -TemplateParameterFile C:\ADFARM-Parameters.json Before running…
Ardalan Shahgholi
  • 11,967
  • 21
  • 108
  • 144
8
votes
1 answer

Adding Users to SQL Azure Database with ARM template

I am trying to create users inside DB and grant some specific permission each user; with the help of ARM template. But I do not find a way to do it using ARM. Can someone tell me is it supported by the ARM templates to Create Users for DB and…
7
votes
1 answer

Error when moving Azure certificate to another subscription: Property id '' at path 'properties.keyVaultId' is invalid

I am trying to move my Azure AppService and all inked resources to another subscription through Azure portal. I am doing the following steps: Go to my AppService's resource group Select all resources within this resource group: AppService,…
7
votes
4 answers

Space separated values; how to provide a value containing a space

I'm creating a bash script to provision multiple Azure resources via the Azure CLI. So far so good, however I'm having a problem tagging resources. My goal is to store multiple tags in a variable and provide that variable to the --tags option of…
Arjen
  • 73
  • 2
  • 7
6
votes
1 answer

How to pass extra parameters along with New-AzureRmResourceGroupDeployment cmdlet

I'm writing a powershell script to create VM using New-AzureRmResourceGroupDeployment cmdlet, which is as below. New-AzureRmResourceGroupDeployment -Name VmDeployment ` -TemplateFile C:\template\template.json ` -TemplateParameterFile…
6
votes
2 answers

Should I create a resource group or subscription?

We are a software company so we setup solutions for the other companies. I guess we are not unique in this regards :) so I would like to know if we should create a new subscription each time or just a resource group. Requirements: We should be able…
Ashkan S
  • 10,464
  • 6
  • 51
  • 80
6
votes
1 answer

Azure Resource Template Parameters Hell

How do I know which parameters to provide and which parameters are overridden in Azure Resources ? I am getting these errors and losing lots of time figuring out which parameters I need Should I just start with the parameters in the parameters file…
1
2 3
18 19