Questions tagged [azure-arm-template]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
97 views

What is the "kind" of a resource in Azure ARM Templates?

https://docs.microsoft.com/en-us/azure/templates/microsoft.web/serverfarms?tabs=json#serverfarms The only documentation about that property of the ARM Template is this: That description is not ...
  • 119
0 votes
0 answers
61 views

How to use exported Azure ARM template?

We have a kubernetes cluster running in our environment, I have used the export template option and got the json file. But the template is not usable as it is having hard coded values of subscription ...
0 votes
0 answers
33 views

How to keep conditions in arm template parameters?

I found a template for deploying AKS using Azure template. The template link When I try to run it, it is showing a form field to provide existing CIDR. Is there anyway to keep a drop down so that we ...
  • 389
0 votes
0 answers
33 views

How to fix trailing comma errors of azure arm templates?

I have saved my arm template with yaml extension instead of json extension, because of this the vscode added trailing commas when I save the file. Once I rename it, i am getting this error while arm ...
  • 389
1 vote
0 answers
170 views

Run script in Windows Azure VM after launch during packer build to configure WinRM and the firewall

Background: Apparently Packer has major issues configuring WinRM on Azure VMs created from the Microsoft Windows Server publisher. This is only one of the several issues and threads I've found on this ...
  • 548
0 votes
1 answer
1k views

What is the right way to assign Network Contributor Role to an AKS cluster via ARM / Bicep template?

I'm trying to configure a Load Balancer for my AKS server using Bicep/ARM. I am using the NGinx Ingress Controller in kubernetes and it does seem to work but when I first spin things up I am ...
0 votes
1 answer
236 views

How to get the azure VMUUID of azure VM?

I am creating an ARM template for the Azure Log Analytics workspace.it has some queries which use azure VM's VMUUID.Is there is any way to fetch the azure VM's VMUUID in ARM template or any other ways ...
1 vote
2 answers
471 views

After a failed Azure Deploy, our deployed AppService is empty

We have a Azure DevOps pipeline that first deploys our resources using ARM-templates and then deploys our AppServices using zips. We've run the pipeline multiple times, and the application is ...
  • 131
1 vote
1 answer
453 views

Unable to create custom activity log alert rule via ARM template, Powershell or automation account runbook

I am trying to create a custom activity log alert rule, but no matter which method I try, it results in errors as below or the ARM template does not create the conditions specified even though its ...
  • 21
1 vote
1 answer
891 views

ARM Template - Azure SQL Database Diagnostics & Log Analytics Workspace

Using an ARM Template I want to enable diagnostics settings for my Azure SQL Database and have that data stored in a Log Analytics workspace I created. I want to enable the errors, timeouts, blocks ...
  • 628
0 votes
2 answers
92 views

Build Pipeline ARM Templates - TFS 2018

My client is using TFS 2018 as their CI/CD tool. I know you can use TFS to deploy ARM templates to Azure but I've never done it before. I usually just use the portal or powershell. I know I need to ...
  • 628
2 votes
2 answers
791 views

Enable Application Insights Azure Web App ARM Template

I successfully deployed an app service plan, web application and application insights resources using an ARM Template. The APPINSIGHTS_INSTRUMENTATIONKEY and APPLICATIONINSIGHTS_CONNECTION_STRING app ...
  • 628
0 votes
1 answer
52 views

How to change the RDP port number in ARM templates?

After creating a VM on Azure, I need to use a VPN in order to RDP to it. This is because of my Internet Service Provider's networking regulations. Therefore I have to change the RPD port from within ...
2 votes
2 answers
546 views

Configure Azure file share backup with ARM template

I was trying to configure Azure file share backup using ARM template deployment. Below is the template I'm trying to deploy. First I create a backup policy then trying to configure backup for the ...
0 votes
1 answer
321 views

Errors while creating a new VM, subnet, and NSG in an existing vnet

I am trying to deploy a new virtual machine in a new subnet with a new NSG, but I get errors while deploying the template. We are a MSP that builds custom software for our clients called 'SoftWare', ...
0 votes
1 answer
144 views

Azure Templates: Accessing a variable's members by name using a parameter value

I have a variable in a template that holds a number of entries that will specify the value in my template. By this I mean I have "ipSecurityRestrictions" : { "denyAllInbound": [ ...
1 vote
1 answer
254 views

Azure ARM Template - Folder Location App Setting

I'm trying to specify an app setting in my ARM template that points to a specific folder location where the web application I'm deploying should store log files, ex: D:\folder\logs. When I specify the ...
  • 628
1 vote
1 answer
991 views

Set Azure FileShare Size - ARM Template

I'm looking for a way to set the quota size (ex, 100gb) for the file share I am deploying using Azure ARM Templates. As of now when I deploy it defaults to 5TB which is not ideal. Ideally I would just ...
  • 628
0 votes
1 answer
3k views

Attach NSG to Existing Subnet Using ARM Template

I'm looking to create a Network Security Group (NSG) in Azure and attach it to an existing subnet using an ARM Template. I've already come across this site: https://github.com/Azure/azure-quickstart-...
  • 628
0 votes
0 answers
88 views

Azure scale set ARM template redeployment resets node count

I'm trying to set up a continuous delivery pipeline for my ARM templates in Azure. The template contains resource definition for a scale set with some initial number of instances configured and also ...
1 vote
1 answer
179 views

Azure Portal VM ARM Template Deployment With KeyVault

I want to deploy a VM in Azure and store the local admin password in Keyvault. I was wondering if it is possible to do the deployment through the Azure Portal? I've added the required info to my ...
  • 628
5 votes
1 answer
5k views

Azure ARM Templates for deleting the resources

I know we can create infrastructure using ARM templates. Can we do the same for deleting the Resources. I dont want to delete all the entire resource group but few resources in a resource group. Is ...
1 vote
1 answer
536 views

Change Azure Master Database Collation ARM Template

I'm deploying an environment in Azure using ARM Templates. I'm using Azure SQL Server and 4 databases. I went to restore a bacpac file and got an error complaining about different collation settings ...
  • 628
-2 votes
2 answers
699 views

How do I enable Windows Crash Dumps via Azure ARM Template

We have a solution running on some 140vms in an Azure VMSS. How do I enable any of these memory dump options through the ARM Template? Barring that, how could I enable it with a PowerShell script?
0 votes
1 answer
2k views

Get outputs values from the linked arm template

hoping someone can help pinpoint what's missing in my approach. I'm using visual studio 2017 if this makes any difference. I've two arm templates; maintemplate and the linkedtemplate. In the ...
  • 55
0 votes
2 answers
393 views

Is it possible to deploy the 'Start stop VM's during off-hours' solution of Automation account in ARM templates?

I need to deploy an Azure automation account to my resource group. This to add the module (start/stop VM's during off hours solution to my environment) For the automation account I succesfully used ...
  • 111
3 votes
2 answers
449 views

Determine disk name on Azure VM created from ARM template

Azure ARM template allows to specify dataDisks for VMs like: "dataDisks": [ { "lun": 0, "name": "[concat(variables('dataDiskName'), variables('nodesSuffixes')[copyIndex()])]", "...
  • 6,322