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

Find Available Virtual Machine Sizes in Azure Subscription Using ARM Powershell or Portal

I'm looking for a Powershell Azure Resource Manager (not Classic) version of this Stack Overflow Question I am trying to find the available VM Sizes per subscription, not per region. I have two Azure subscriptions, one from MSDN, and one not. The…
1
vote
1 answer

Azure Boot Diagnostics Screenshot not working after manually changing Storage Account in Diagnostics Settings

I had a bunch of Resource Manager VMs configured to use Diagnostic Settings with all VMs using the same storage account. I accidentally deleted the storage account these VMs were using for diagnostics. Then, I created a new Storage account with the…
1
vote
1 answer

ARM - get VMSS's private IPs

I have a VMSS deployed with am ARM template. I want add it's first VM's IP address to the output. In the Azure Resource Explorer - I see resource as: ... "ipConfigurations": [ { "name": "jm-website-script-4-master-ip", …
setevoy
  • 4,374
  • 11
  • 50
  • 87
1
vote
2 answers

how to reference an existing resource group in azure resource templates

Does any know how I can use the reference function to reference a existing resourcegroup in a azure resource templates. I would like to know the location of a specfic resource (West europe, West us etc) because I needed as input for an another…
Geoffrey Samper
  • 497
  • 4
  • 14
1
vote
1 answer

Azure ARM provide us any way to inspect the changes

I am working with Azure Templates (ARM). I have to create a lot of resources and I will like to use some function to check what is going to be change in my infrastructure. I searched a lot for any information related with this GREAT FEATURE (if…
Robert
  • 10,403
  • 14
  • 67
  • 117
1
vote
1 answer

Using SAS token to upload Blob content

I'm having difficulty in using a Blob SAS token to write a file to a Blob in Azure via Powershell. The code I'm using to generate the SAS token is: $storageContext = Get-AzureRmStorageAccount -ResourceGroupName $resourceGroup -Name…
1
vote
2 answers

Azure Managed Disks. Access to underlying blob?

Would it be possible to access the blob in Azure managed disks? If say ,I needed to copy it to another storage account(regular storage account). Since managed storage only support LRS at the moment.
1
vote
1 answer

I cannot click capture button to capture virtual machine image

I cannot click Capture (2nd last button "캡처" in Korean) button in Azure portal. All other virtual machines are same to this situation. Yesterday, I captured image by clicking that button, but today I cannot click it. Could you let me know why this…
1
vote
1 answer

Passing credentials to DSC script from arm template

I am trying to deploy a VM with a DSC extension from an ARM template. According to various sources, and even this SO question, I am following the correct way to pass a credential object to my script: "properties": { "publisher":…
Edward Rixon
  • 1,199
  • 1
  • 17
  • 31
1
vote
1 answer

Set KeyVault permission to an AAD App in a different tenant works in PowerShell but fails in ARM template

I am trying to grant access to an AAD app under a different tenant, the command below works: Set-AzureRmKeyVaultAccessPolicy -VaultName $vaultName -ResourceGroupName $rg -ApplicationId $appId -objectId $appObjectId ` -PermissionsToSecrets get…
ksiomelo
  • 1,878
  • 1
  • 33
  • 38
1
vote
2 answers

ARM Template with Key Vault certificate

I am having a strange issue. I have 1 ARM template, which I use to deploy 2 environments. I am adding a certificate like this: { "type": "Microsoft.Web/certificates", "name": "[variables('certificateName')]", "apiVersion":…
Identity
  • 1,553
  • 1
  • 22
  • 44
1
vote
2 answers

Defining Azure VM CustomScriptExtension in Terraform (Expecting state 'Element'.. Encountered 'Text' with name '', namespace ''. \".")

I defined a CustomScriptExtension for Azure VM in Terraform: resource "azurerm_virtual_machine_extension" "test" { name = "WinRM" location = "South Central US" resource_group_name = "${azurerm_resource_group.test.name}" …
techraf
  • 64,883
  • 27
  • 193
  • 198
1
vote
1 answer

Azure RM Templates. How to reference variable value to resources

I would like to be able to pass variable amount of specific strings into resources. For example I have a list of hostnames and a parameter "number of hostnames" and when changing the number, value in the resources also change. How can I do that? I…
WinBoss
  • 879
  • 1
  • 17
  • 40
1
vote
1 answer

Azure Powershell: Get objects where property exists in an Array

I am trying to get all vm's where the vm resource group name is in the $rgs array $rgs = (Get-AzureRMResourceGroup | Where-Object { $_.Tags.Keys -eq 'FindMe' }).ResourceGroupName $vms = (Get-AzureRmVm | Where-Object {$_.ResourceGroupName (Enter…
1
vote
1 answer

List PowerBI workspace collection keys from arm template

When using ARM templates to deploy various Azure components you can use some functions. One of them is called listkeys and you can use it to return through the output the keys that were created during the deployment, for example when deploying a…