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

not able to get classic web role using Service Principle in Azure

The below code works where the authentication works. But when I try to use Service Principle as authentication the authentication fails. Working Script: var context = new AuthenticationContext(azureAdUrl + azureADTenant); var credential = new…
kumar
  • 8,207
  • 20
  • 85
  • 176
1
vote
1 answer

How to get the name of the user that created a function app

Is there a direct way to get the owner/creator of a function app under my tenant? I've been trying to find anything inside the resource explorer and so far the only way to know which user deployed this function app is to go to the activity logs. My…
1
vote
1 answer

How can I divide an existing template into linked Templates

Auto generated arm templates aren't meant to be production ready, they need refinement. that is expected. How can a Devops staff divide auto generated ARM templates into Linked templates? References Linked…
1
vote
1 answer

Azure ARM dependencies between nested templates

I've created a template that has two nested templates. The first nested template defines an SQL server as: { "name": "[variables('sqlServerName')]", "type": "Microsoft.Sql/servers", "location": "[resourceGroup().location]", "apiVersion":…
ADringer
  • 2,614
  • 36
  • 63
1
vote
1 answer

"Win32Exception: The subsystem needed to support the image type is not present" when deploying Fabric Cluster on Nano Server

I am deploying a Service Fabric Cluster on Nano Server using the secure-cluster-5-node template (https://github.com/Azure/azure-quickstart-templates/tree/master/service-fabric-secure-cluster-5-node-1-nodetype) I get the following error: Operation…
Tony
  • 1,394
  • 5
  • 22
  • 48
1
vote
1 answer

Versioning the infrastructure Continuous Deployment

We are trying to establish continuous deployment. We want to do network swaps when deploying new resources. Sometimes the Azure infrastructure is not responsive provisioning the resources. As we can have a left over conflicting resources when a…
1
vote
1 answer

Deploy azure arm template from local git

I know you can push from local git and deploy code is azure web app. But i want first Deploy complete arm template from scratch using local git push. and in the same push i want to deploy website code. Now question is if arm template is creating…
1
vote
2 answers

How to register resource providers using Azure fluent resource management?

I'd like to fully automate my resource creation process. Unfortunately brand new subscriptions don't have a few resource providers registered by default. E.g. SQL. That's easily solved as described here:…
1
vote
1 answer

Provide request header for Microsoft.Scheduler/jobCollections/jobs

I want to know how to provide from my Azure WebApp the user/password to provide header for my webjob { "name": "[concat('TraitementTableAzure-', parameters('HeliosEnvironnementName'), '-js')]", "type": "jobs", …
1
vote
2 answers

Deploying more than 1 azure vm from base packer image

I have problem deploying more than one azure vms from custom image (aka ami) built using packer. Here's my packer script to create the base image: { "builders": [ { "type": "azure-arm", "client_id": "CHANGE_ME", …
slnowak
  • 1,839
  • 3
  • 23
  • 37
1
vote
0 answers

Azure Resource Manager deploy ignores solution and project build configuration for projects referring other projects

My solution looks like this: armdeploy.sln (has reference to ClassLibrary1 and ClassLibrary2) ClassLibrary1 (has reference to ClassLibrary2) ClassLibrary2 When i deploy in Release, ClassLibrary looks for ClassLibrary2 /bin/debug folder when i have…
1
vote
2 answers

Environment variables in azure-arm templates

I'm trying to automate deployment on azure using azure templates and packer. I have my packer ami(?) already built, with application (java fat jar) included. Now, my application connects to azure evnet hub which is deployed at the same time as my…
slnowak
  • 1,839
  • 3
  • 23
  • 37
1
vote
1 answer

Listing all Azure Runbooks in Automation accounts across multiple subscriptions

I have been searching high and low and I can't even find a simple method to just list runbooks using powershell... I have 4 subscriptions and several automation accounts in each subscriptions, it can be tedious when I'm trying to find a particular…
1
vote
1 answer

Unable to run Node and Script in Desired State Configuration

Background I am provisioning a VM in Azure using an ARM template and created a Desired State Configuration .ps1 file that installs and configures IIS. So far so good. I then added a Script block right next to the Node block. Current set…
Andy T
  • 10,223
  • 5
  • 53
  • 95
1
vote
2 answers

Issues mounting Azure Files using VM Custom Extensions

I am trying to mount an Azure File share when I provision a VM using Powershell. I am using net use with the values that are provided in the portal when I click on "Connect" in the file share. I've also persisted the storage account credentials…
Andy T
  • 10,223
  • 5
  • 53
  • 95