skip to Main Content

Azure Container Apps environment creation fails due to error ManagedEnvironmentResourceGroupDisallowedByPolicy when adding a VNET integration

I'm trying to create an Azure Container Apps Environment through the AzAPI provider on Terraform. The configuration I'm using is the following: resource "azapi_resource" "aca_env" { type = "Microsoft.App/managedEnvironments@2022-03-01" parent_id = azurerm_resource_group.rg.id location = azurerm_resource_group.rg.location name = var.ACA_ENV_NAME body =…

VIEW QUESTION

Azure – AZ REST Command Forbidden

Service Principal does have Application.ReadWrite.OwnedBy API permission but it can't PATCH using the AZ REST commands. It can LIST/ GET using AZ REST command. az rest --method PATCH --uri "https://graph.microsoft.com/v1.0/applications/{OBJECT_ID}" --headers 'Content-Type=application/json' --body "{web:{redirectUris:['https://URL']}}" Error: Forbidden( { "error": { "code":"Authorization_RequestDenied",…

VIEW QUESTION
Back To Top
Search