ARM deployment of Microsoft/App/managedEnvironments fails with InternalServerError

Mitch Denny 1 Reputation point
2022-09-16T09:45:40.467+00:00

Correlation ID: bc6d9f53-e828-4d0b-a839-ebde7922a449

I'm using a Bicep template - here is the fragment that creates the managed environment, it was working fine, there have been no changes. Is the RP for this resource type experiencing issues?

resource containerAppsEnvironment 'Microsoft.App/managedEnvironments@2022-03-01' = {  
  name: 'env${uniqueString(instanceName)}'  
  location: instanceLocation  
  tags: {  
    instanceName: instanceName  
  }  
  properties: {  
   appLogsConfiguration: {  
    destination: 'log-analytics'  
     logAnalyticsConfiguration: {  
     customerId: logWorkspace.properties.customerId  
     sharedKey: logWorkspace.listKeys().primarySharedKey  
     }  
   }  
  }  
}  
Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
635 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Mitch Denny 1 Reputation point
    2022-09-16T10:01:26.963+00:00

    A deployment of the same template to another resource group seems to work fine so it seems to be a specific issue with this resource.

    0 comments No comments

  2. Turkia, Jari 1 Reputation point
    2022-11-01T08:33:02.773+00:00

    There is very little information available about the reason of failure. Does anybody have any other details about this besides "internal error"?

    0 comments No comments