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

The resource 'Microsoft.Storage/storageAccounts/mystorageAccountName' is not defined in the template

I'm deploying an ARM template with yaml pipelines using the task AzureResourceManagerTemplateDeployment with deploymentScope: 'Subscription'. I want to deploy a resourcegroup, containing a storageAccounts and blobServices. When adding the…
Briefkasten
  • 1,964
  • 2
  • 25
  • 53
0
votes
1 answer

Azure service bus subscription enable auto delete bicep

I am reading this doco https://learn.microsoft.com/en-us/azure/templates/microsoft.servicebus/namespaces/topics/subscriptions?pivots=deployment-language-bicep and below is the list of editable specs of service bus subscription using bicep resource…
jay
  • 1,055
  • 3
  • 15
  • 35
0
votes
1 answer

Optional params in Bicep

In Bicep I have a main bicep which calls module that deploys app service module that deploys managed identity App service module looks like below, it uses output from user assigned managed id and is assigned in identity for app service: main…
0
votes
2 answers

Azure SQL with Managed Identity - Bicep

I am using bicep to create following resources SQL Server with multiple databases Multiple App Services that need to access these Azure SQL Db's I have created a user assigned managed identity resource and assigned to all the app services. I want…
0
votes
1 answer

Using a loop in bicep gives casting error

I've read about for loops in bicep files and finally comes to this code. It has 2 arrays for users and app _(both needs different permissions). For access policies I loop over each item. param keyVault_name string param webapp_principleId…
0
votes
1 answer

Azure Automation Account & Runbooks ARM Template, uri problem?

i need to deploy Storage Automation Account & 5 runbooks using ARM templates & Azure Devops Pipeline. I created dev.parameters.json. Here are contents of file. { "$schema":…
0
votes
1 answer

Additional Azure Resource Mananger Templates for Visual Studio 2022

I've just created a new, blank "Azure Resource Group" - Project in Visual Studio 2022. Is there any option to add additional resources to this list (see image below)? Like an Application Gateway or a Network Security Group? Found neither any…
0
votes
1 answer

How do I add child resources when the parent resource was created inside a Bicep module

I have this Bicep code... param location string = resourceGroup().location module autacc './../bicepmodules/BICEP/modules/automationAccount.bicep' = { name: 'automationaccount' params : { applicationName: 'replen' environmentType:…
0
votes
1 answer

ARM template, Incorrect Segment Lengths during deployment

I have a bicep to deploy a static web app: @description('rootCustomDomainName') param rootCustomDomainName string = 'https://xyz.contoso.com' resource staticWebApp 'Microsoft.Web/staticSites@2022-03-01' = { name: 'my-ui' location: location …
user989988
  • 3,006
  • 7
  • 44
  • 91
0
votes
2 answers

Azure Bicep - Limit Storage IPs from App Service

I am giving my first steps with bicep, but I feel completely stuck :-/ I want to get the public ips from a App Service, and after that, I want to limit with them the access to an storage account. I face two problems: The first one is I cannot…
0
votes
0 answers

How to query our Azure consumption programmatically?

I am trying to access our Azure Consumption Data programmatically. I did this before, but I want to use the newest libraries: Azure.Identity(1.8.2), Azure.ResourceManager (1.4.0) and Azure.ResourceManager.Consumption (1.0.1). I am unsure, how to use…
0
votes
1 answer

Bicep to act as a template for deploying app service and related resources

I have individual biceps for app insight, app service plan, and, app service. I am creating a template bicep where I will call each of these as modules to deploy one app service. And now whenever for any of my solutions I need to deploy an app…
0
votes
1 answer

Unable to set config settings in azure static web app

I have the following YML file to deploy a static web application: steps: - task: AzureResourceManagerTemplateDeployment@3 displayName: 'Deploy WebApp compute resources' inputs: azureResourceManagerConnection:…
0
votes
1 answer

ARM template for logic app with system assigned manage identity and API connection to keyvault , Storage blob

I am trying to write an ARM template, it should create 3 resources: logic app with system assigned manage identity. API connection to read the secret from key vault. API connection to upload blob storage. I have been struggling with it for the…
0
votes
1 answer

In Bicep or ARM, how do I detect parameter values that are just whitespace in the policyRule section?

I'm using Bicep, but I understand the older ARM JSON syntax enough to adapt a solution if someone knows one but not the other. Anyway, I can easily tell if a parameter value is an empty string by just doing this inside of one of my policyRule…
Architekt
  • 2,141
  • 1
  • 22
  • 27