Category "azure-resource-manager"

Bicep isHnsEnabled Cannot be updated

We are in the process of upgrading our ARM Templates to Bicep, one of which is for storage. In the initially ported Bicep file, everything worked fine and then

netFrameworkVersion in Azure App Services Api App

I'm configuring a api app in azure with bicep. This is a dotnet core 3.1 app. For netFrameworkVersion i provide 'v3.1', this however doesn't work. The deploymen

.NET Azure sdk resource manager - NuGet package: Stable release

I'm planning to handle some Azure ARM code in .NET 6 and want to use Azure libraries. I found that there are 2 NuGet packages (old and new) available: Microsoft

How to return output of module

I am creating two Azure App Services and 2 App Service Plans using For Loop but I need to pass the HostingPlanID from the AppService plan to each of the App Ser

ARM FunctionApp listkeys retrieve previous custom key

We've got ARM deployment template which is working fine, the only issue there is, as we're creating FunctionApp and adding custom key to it that will be referen

microsoft.insights/components/ProactiveDetectionConfigs in arm template force to multiple deploy

I'm deploying an ARM template that take care of creating an app service plan. I've exported the template from the existing plan and parametrized for our needs.

How to fetch dependencies of a resource using .NET Azure SDK?

I am trying to create an alternative to using ARM templates. I have so far managed to fetch subscriptions, resource groups and resource details using apropriate

Azure App Configuration Store - Setting label on keyvalues using Bicep

I'm trying to add values to an Azure App Configuration Store using Bicep. I have an issue where I add a label to a keyValue. This is my module: @description('Co

Can not remove Azure MoveCollection

Cannot remove a MoveCollectin in Azure. Tried it in portal or PS Remove-AzResourceMoverMoveCollection -MoveCollectionName MoveCollection-eus-eus2-eus2 -Resource

Azure ARM template creating duplicate resources

Deploying incrementally an ARM template with a simple Application Insight resource, is automatically creating FailureAnomaliesDetector alert rule. Which is a pr

Azure ARM template give scoping access to different subscription

I have the following ARM template and I am trying to give scoping access to a subscription/resource group that is different from the subscription that I am curr

privacySetting parameter value is not part of the allowed values - SQL Connection for Azure LogicApps

I have VS2019 and trying to create Logic Apps which includes SQL connection. I deploy this LogicApps with Azure DevOps and getting error. I do not what is purpo

Azure DevOps Pipeline Azure SQL Deploy won't work with SQL script (Failed to login)

I've been trying to deploy a database via a pipeline from Azure DevOps to an Azure resource group. I have an ARM template for my database server in my Repo alon

How do I create multiple topics/queues in multiple servicebuses with bicep?

I don't quite understand the relationship between parent and child components when working with bicep and more specifically arrays. The error I get is this: Dep

KeyVault ARM template overrides secrets when re-deploying

I have an ARM template that deploys a Resource Group and includes a Key Vault and secrets. This is deployed through CI/CD and everything works perfectly bar one

How to tag Current time as a Tag for an ARM Deployment

I am trying to create a Log Analytics Workspace using an ARM template and a parameter files. I am also thinking to tag currrent time as CreatedOn tag for the re

Azure ARM Template - Create KeyVault Secrets in Keyvault in different Resource Group

I am deploying a Virtual Machine in Azure. The Username and Password are created automatically and passed as parameters at deployment. The resource group where

How to convert an array into properties of one object in an ARM template?

I am looking for a way to convert an array (e.g. of strings) into one object, where the properties are generated from the array values. Use case: I want to gene

The client with object id does not have authorization to perform action taggedTrafficConsumers/validate

When using Azure Key Vault management REST API or cmdlet Add-AzureRmKeyVaultNetworkRule to allow a virtual network to access a key vault, I get the following er

How to enable Update Management for an Azure Automation Account programmatically?

I'm currently using Terraform and bits of Powershell to automate all of my infrastructure and I'm seeking a fully automated means to configure update management