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
0
votes
1 answer

Look up settings by key/name in Bicep?

I have a list of subnets defined in my *.parameter.json file. "subnetAddressPrefixes": { "value": [ { "name": "primary", "addressPrefix": "10.2.0.0/17" }, { "name":…
Vyas Bharghava
  • 6,372
  • 9
  • 39
  • 59
0
votes
0 answers

Azure plan - update or view pricing tier for a plan via latest Azure.ResourceManager libraries, not rest or deprecated library

I am trying to access an app service plan's pricing tier and then update it from within c# code. I have working code using the deprecated Microsoft.Azure.Magement.Fluent libraries that I am trying to upgrade to the latest…
Steve B
  • 473
  • 1
  • 4
  • 14
0
votes
1 answer

Bicep - Pair arrays with loops

My case is that I have a list of companies, as well as a list of queues that I want to pair together in my bicep file. I want to use the result to add queues to an service bus namespace. This is an example of the queue array: `var queues = [ …
0
votes
0 answers

az managedapp definition create: DownloadItemFromBlobFailed due to a failed connection

I want to create an Azure "Managed App" definition, in preparation for making an Azure Marketplace offering. I am following these MS instructions, and I had specifically been using this MS example managed app. There were was an error(s) in the…
Brent Arias
  • 29,277
  • 40
  • 133
  • 234
0
votes
2 answers

Azure policy fails to deploy a policy assignment with deployIfNotExists

I have a resource whitelist policy defined as follows: { "properties": { "displayName": "Deny resource creation if not in whitelist", "policyType": "Custom", "mode": "Indexed", "description": "This policy denies the creation…
Chris
  • 935
  • 3
  • 10
  • 21
0
votes
1 answer

How to run PowerShell cmdlets from custom PS modules when deploying a new Azure VM?

Is it possible to install a custom PowerShell module in Azure VM post-deployment task and run PS cmdlets from that module in this task? I have a Bicep template that deploys a new Windows Azure VM. The template has a…
bahrep
  • 29,961
  • 12
  • 103
  • 150
0
votes
1 answer

Bicep does not resolve 'foo${uniqueString(resourceGroup().id)}' when deploying from VSCode

I'm trying to deploy a Bicep template directly from VSCode with the Bicep extension, but it consistently fails. It works fine when I deploy from PowerShell using the New-AzResourceGroupDeployment cmdlet, though. Am I doing something wrong or is it a…
bahrep
  • 29,961
  • 12
  • 103
  • 150
0
votes
0 answers

Azure ARM and SQL Database size

Here is the portion of my ARM file about the database: { "type": "Microsoft.Sql/servers/databases", "name": "[concat(variables('SqlServerName'), '/', variables('dbName'))]", "tags": { "displayName": "Database" }, …
François
  • 3,164
  • 25
  • 58
0
votes
0 answers

ARM Template Issues Create resource with cyclical dependancy (Webapp Custom Domain, Self Managed Cert then Bind Cert)

I have a real chicken and egg situation. Also i am quite new to ARM so maybe missing something glaringly obvious. Previously we had an arm template that worked using a certificate from a keyvault which was fine. hostnamebindings resources created…
0
votes
1 answer

When email arrives (V3) wont trigger in different resource group

I have a logic app with a trigger "when an email arrives (v3)" that is firing in one resource group but not the other. The deployment is automated and the code is the same on both environments. I just can't work out why it triggers in one resource…
Redseven
  • 77
  • 1
  • 7
0
votes
1 answer

How to move storage account from one location to another

I accidentally selected the location as east us for my storage account , Now I'm trying to move this particular storage account to my my desired location , but when I'm using Azure resource Mover and select Source location as east us It doesn't show…
0
votes
1 answer

Deploying an Azure Web App via Bicep does not set Stack

I am creating an Azure Web App via Bicep to host an ASP.NET Core 7.0 Website. My Bicep contains: netFrameworkVersion: 'v7.0' requestTracingEnabled: true remoteDebuggingEnabled: true remoteDebuggingVersion: 'VS2022' …
Adam
  • 3,872
  • 6
  • 36
  • 66
0
votes
1 answer

How can I create a Data Explorer Stream Analytics output using ARM templates?

I successfully manually configured a Stream Analytics Job that outputs data into Data Explorer. However, I am unable to set up my infrastructure pipeline using ARM templates. All the documentation only describes the other types of output (e.g.…
0
votes
1 answer

Bicep roleAssignments/write permission error when assigning a role to Keyvault

I am using GitHub Actions to deploy via Bicep: - name: Login uses: azure/login@v1 with: creds: ${{ secrets.AZURE_CREDENTIALS }} - name: Deploy Bicep file uses: azure/arm-deploy@v1 with: scope: subscription …
Adam
  • 3,872
  • 6
  • 36
  • 66
0
votes
0 answers

How to provide drop-down list of a specific resource types to choose from with ARM template

I'm trying to create an ARM template which queries the list of resources (i.e. Cosmos DB instances) in the selected resource group so the user can pick from the list. I then want to use the selected resource to get a property and use it elsewhere in…
Jason Shave
  • 2,462
  • 2
  • 29
  • 47
1 2 3
99
100