Error Azure Container Apps, not allowed to create in Region

Richard cowabo 1 Reputation point
2022-03-17T19:28:40.577+00:00

Hi,

I am getting an annoying error when trying to create those new container apps.

"code": "DeploymentFailed",
"message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.",
"details": [
{
"message": "Subscription '....' is not allowed to create environments in Region 'North Europe', please open a support case for re-enabling the environment creation."
}

I also tried West Europe. Same thing.

Is this a me-thing or a general error?

Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
667 questions
Azure Container Apps
Azure Container Apps
An Azure service that provides a general-purpose, serverless container platform.
324 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Manu Philip 17,111 Reputation points MVP
    2022-03-17T19:47:32.677+00:00

    Looks like the container registry resource type is not registered for your subscription. Use the cmdlet Get-AzResourceProvider -ProviderNamespace "Microsoft.ContainerRegistry" to check the registration status. It should show the regions where the successful registrations are found.

    Try to register with the following cmdlet

    Register-AzResourceProvider -ProviderNamespace "Microsoft.ContainerRegistry"
    

    Once the registration went successful, check the result by running the cmdlet again and see the regions are covered

    Get-AzResourceProvider -ProviderNamespace "Microsoft.ContainerRegistry"
    

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    1 person found this answer helpful.

  2. Prrudram-MSFT 22,941 Reputation points
    2022-03-22T09:37:53.907+00:00

    Hello @Richard cowabo and @Lance Armah-Abraham ,

    Thank you for reaching out to the Microsoft Q&A platform. Happy to answer your question.
    I understand you are unable to deploy Azure Container Apps in your pay as you go subscriptions. Please note that Azure Container Apps service is in preview under West Europe and East US 2.
    Currently the service is unavailable in all the other azure regions.

    Reference : https://azure.microsoft.com/en-in/global-infrastructure/services/?products=container-apps&regions=all&rar=false

    185529-image.png

    Note: Please note the service is also available in preview for azure free subscriptions.

    Recommendations:
    I was able to create the service in west europe successfully in my pay as you go subscription, as you can see in the below screenshot

    185509-image.png

    The resource providers that are involved here are below, make sure you have these resgitered under Azure portal->Subscriptions Blade->select the subscription->In the left pane, click on resource providers and search for below and click on register

    Microsoft.Web
    Microsoft.OperationalInsights

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".