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

Why ForEach-Object doesn't work for AzureRM cmdlet

I am trying to execute a very simple cmdlet but it doesn't work $resources = Get-AzureRMResourceGroup | % { Get-AzureRMResource -ResourceGroupName $_.ResourceGroupName} $resources The error message being thrown is as follows Get-AzureRmResource…
Mitul
  • 9,734
  • 4
  • 43
  • 60
1
vote
2 answers

How do I define a certificate resource in my ARM template when it is hosted in the Key Vault?

I am trying to define an ARM template for my resource group. Ultimately I'm trying to replicate what I have to do manually by navigating to the SSL certificates tab for an App Service within the portal. I've uploaded a PFX file to the Secrets tab…
mclark1129
  • 7,532
  • 5
  • 48
  • 84
1
vote
1 answer

How to use a existing Microsoft.Web/serverfarms in a Azure Resource Manager Template?

I want to deploy a website (Microsoft.Web/sites) resource to a existing hosting plan (Microsoft.Web/serverfarms) without having to define the sku, workersize, etc. in the ARM template. It should just use the hosting plan as-is without changing it.…
Benedikt Langer
  • 417
  • 4
  • 11
1
vote
1 answer

Error: Code=InvalidTemplate; Message=Deployment template validation failed: 'The template resource

I am trying to deploy a storage account arm deployment using visual studio. Below is my template { "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters":…
Mitul
  • 9,734
  • 4
  • 43
  • 60
1
vote
1 answer

Azure Complete ARM Deployment Fails with MSSQL PaaS Instance

Deployments of our ARM (Azure Resource Manager) templates are performed in "Complete" mode, which sets resources as well as removes them. One of our templates declares a Microsoft.Sql/servers/ instance. An initial complete ARM deployment will…
Dustin Venegas
  • 760
  • 1
  • 7
  • 16
1
vote
1 answer

Invoke-AzureRmResourceAction : The pipeline has been stopped

Occasionally when executing Invoke-AzureRmResourceAction poweshell command I get the following exception. Invoke-AzureRmResourceAction : The pipeline has been stopped. Invoke-AzureRmResourceAction -ResourceGroupName $resourceGroupName -R ... +…
NPehrsson
  • 1,548
  • 18
  • 26
1
vote
2 answers

Azure storage enable encryption in ARM

I am trying to enable encryption in azure storage during its creation time through ARM. This is the simple storage resource I have. { "$schema": "https://schema.management.azure.com/schemas/2016-01-01/deploymentTemplate.json#", "contentVersion":…
roy
  • 6,344
  • 24
  • 92
  • 174
1
vote
2 answers

Passing Parameter Values to DSC Configuration from ARM Template

I have a simple DSC Config file that contains a credential and string input parameter. I want this DSC configuration deployed with a VM deployed in an ARM template but am missing the concept of how to pass these two parameters securely. How do I…
ChiliYago
  • 11,341
  • 23
  • 79
  • 126
1
vote
1 answer

Creating a Service Fabric cluster using resource manager template

No luck today, I'm receiving an InvalidTempalteDeployment error, I'm using the deploy and parameter json file: https://github.com/Azure/azure-quickstart-templates/tree/master/service-fabric-secure-cluster-5-node-1-nodetype-wad Error…
1
vote
1 answer

Remove-AzureRmResourceGroup powershell cmdlet appears stuck

I am trying to delete a previously created RM resource group with powershell. The Remove-AzureRmResourceGroup command seems forever and control is not returned to the console. Following is the script used to delete the resource…
1
vote
1 answer

Failure when processing extension 'Microsoft.Powershell.DSC'

I am attempting to deploy a Azure Resource Template to a brand new Windows Server VM on Azure which includes a Microsoft.Powershell.DSC resource to the VM. The DSC configuration file has been pushed to public accessible Azure Storage Blob container…
ChiliYago
  • 11,341
  • 23
  • 79
  • 126
1
vote
2 answers

Azure ARM with custom script failing

I have following snippet in my arm template to run custom script on the VM "variables": { "installES": "https://sentiencescripts.blob.core.windows.net/script/elasticsearch-centos-install.sh" }, "resources": [ { "type":…
roy
  • 6,344
  • 24
  • 92
  • 174
1
vote
0 answers

"Metadata signature is invalid error" when running Restore-AzureRmApiManagement in Azure Powershell

I am trying to restore a backup of API management onto a newly provisioned instance using the Restore-AzureRmApiManagement cmdlet as follows: Restore-AzureRmApiManagement -Name "apimanagementresource" -ResourceGroupName…
1
vote
3 answers

How to delete disks while delete VM in Azure ARM using java sdk?

I am deleting VM from azure ARM. When I deleted VM using java-sdk, VM deleted successfully but disks and network are not deleted. It kept VHD files in storage. I tried to detach disk also but same it will detach disk from VM but not deleting…
Pawan Kumar
  • 1,511
  • 4
  • 15
  • 18
1
vote
2 answers

How to create multiple Service Bus topics using ARM template?

I've looked at the https://github.com/Azure/azure-quickstart-templates/tree/master/101-servicebus-topic example. Now I'm trying to figure out how to create several topics when running the deploy script using nested resource looping…