Questions tagged [azure-arm-template]
The azure-arm-template tag has no usage guidance.
26
questions
0
votes
1
answer
45
views
How to fix errors of arm template for storage account creation?
I have exported ARM template of exiting resource and modified the template.
But when deploying the same, getting errors as invalid xml.
{
"$schema": "https://schema.management.azure.com/...
1
vote
1
answer
133
views
Azure mysql server provisioning
Trying to create an Azure mysql flexible server through the portal I get the following error message.
"code": "InvalidPrivateDnsZoneSubscription",
"message": "The ...
1
vote
1
answer
417
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 ...
1
vote
0
answers
319
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 ...
1
vote
1
answer
2k
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
417
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
1k
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 ...
1
vote
1
answer
641
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 ...
1
vote
1
answer
1k
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 ...
0
votes
2
answers
109
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 ...
3
votes
2
answers
1k
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 ...
0
votes
1
answer
75
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
729
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
592
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
171
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
301
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 ...
1
vote
1
answer
1k
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 ...
0
votes
1
answer
4k
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-...
0
votes
0
answers
101
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
183
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 ...
5
votes
1
answer
6k
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
589
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 ...
-2
votes
2
answers
769
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 ...
0
votes
2
answers
416
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 ...
3
votes
2
answers
502
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()])]",
"...