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
1
vote
2 answers

How to deploy an app to azure using ARM and C#?

I've seen some examples of how to create storage resources using ARM and C#. I'm assuming that the same is possible for apps. However, I can't find a working example. Ideally I'd like to have a c#/Web api app that would be able to deploy another…
bdristan
  • 1,048
  • 1
  • 12
  • 36
1
vote
2 answers

Listing connection strings for a cosmos db returns no results but listing keys works

I am trying to get the connection string for a cosmos db. In powershell when I do Invoke-AzureRmResourceAction -Action listKeys -ResourceType "Microsoft.DocumentDb/databaseAccounts" -ApiVersion "2015-04-08" -ResourceGroupName $ResourceGroupName…
Scott Chamberlain
  • 124,994
  • 33
  • 282
  • 431
1
vote
3 answers

How to use the secret uri to get the secret value stored in the azure keyvault?

By using the ARM API's I am able to fetch the secret uri of the secret stored in azure keyvault …
1
vote
1 answer

Create Batch Account and Key Vault in single ARM script

I'm trying to add a Batch Account (in User subscription mode) configuration to ARM script but I'm facing a problem with circular dependency. Batch account requires KeyVaultReference. Key Vault access policies require BatchAccount object id. In…
1
vote
1 answer

Azure Resource Manager deployment timeouts

I keep seeing timeouts when using Azure Resource Manager to deploy a Service Fabric Cluster. I see the error below, probably about 20% of the time. Re-deploying the same configuration will fix the problem. New-AzureRmResourceGroupDeployment :…
1
vote
2 answers

How to verify that you have enough resources at Azure

Background If this seems like a question with incomplete information, it is. That's because it has to do with a large project that uses Azure to automatically provision and scale and downscale a large amount of VMs, that was handed over to us by a…
abbood
  • 23,101
  • 16
  • 132
  • 246
1
vote
2 answers

ARM Deployment using KeyVault and certificates for Azure Data Lake Store

I basically want to create my HDI/Spark Cluster which accesses an Azure Data Lake Store by using ARM templates and also Azure Key Vault. So far I created the cluster manually and stored the ARM template. Then I tried to populate the sensitive values…
1
vote
1 answer

azure SQL DB import with copy

I am working on an ARM template that will ask for a comma separated list of db names and then create them using the copyIndex function. This aspect is working great but the next step of my solution is not. What I would like to do next is Import a…
user8468144
1
vote
1 answer

Azure VM cannot be found in active directory

I'm accessing a VM through an application I've created in the Active Directory. This application has full access to all the resources I'm trying to reach. The problem is that the VM cannot be found. I'm able to access the VM's resource group, but…
1
vote
2 answers

Azure ARM Template "Cannot find hostingEnvironment with name

I try to deploy ARM template of App service environment v2 I took it from official Azure GitHub repository https://github.com/Azure/azure-quickstart-templates/tree/master/201-web-app-asp-app-on-asev2-create . When I launch it fails with "Cannot…
1
vote
2 answers

Restrict Azure ARM Deployment to Library templates

is it possible to restrict an AD user/group to only be able to deploy ARM templates which were shared with them in the ARM Template library by a PowerUser? the user should have not other rights (maybe not even seeing the template code?) but should…
Gerhard Brueckl
  • 708
  • 1
  • 9
  • 24
1
vote
1 answer

How do I added custom module to ARM Template

I am creating and ARM template for Azure Automation and would like to upload custom modules. The example below I have seen it upload an public module giving the URL of the module . How do I modify this so that it takes my custom module. "resources":…
kumar
  • 8,207
  • 20
  • 85
  • 176
1
vote
1 answer

Configure SSL on Azure Web App using ARM. The parameter {0} has an invalid value. ExtendedCode 51008,

I am trying to configure SSL and custom domain name using this ARM Template. Full error message: New-AzureRmResourceGroupDeployment : 4:03:36 AM - Resource Microsoft.Web/certificates '' failed with message '{ "Code":…
Tony
  • 1,394
  • 5
  • 22
  • 48
1
vote
1 answer

Cannot delete Microsoft.Insights/components resource in PowerShell

I had asked this question once before, but realized the answer I got did not fix the entire issue. In my PowerShell script I have deployed a web app along with Application Insights resources to go along with it (including the…
1
vote
1 answer

Why am I getting an error when trying to remove a Microsoft.Insights/components resource?

I am trying to execute a PowerShell script that will sequentially remove Azure Resources from a resource group using a .ps1 file, and have isolated an error I am getting to whenever I try to remove the Microsoft.Insights/components resource using…
LillaTheHun
  • 131
  • 1
  • 13