A community member has associated this post with a similar question:
The subscription is not allowed to create or update the serverfarm

Only moderators can edit this content.

Web App (Linux) - Forbidden/BadGateway - The subscription is not allowed to create or update the serverfarm

Daniel Tekunoff 20 Reputation points
2024-04-17T21:59:37.3166667+00:00

Hello everyone, I am having trouble creating a new Web App (Linux) for my client. My client owns the Microsoft/Azure tenant, and my account has been added as a co-administrator.

I have been able to create Azure Function apps, and also a PostgreSQL Flexible server for this client. But I have not been able to create an App Service - Web App (Linux) yet, because I keep getting an error that reads "BadGateway": Forbidden. The subscription '********************' is not allowed to create or update the serverfarm.

Configuration for the web app:

  • Name: (was available)
  • Publish: Code
  • Runtime stack: .NET 8 (LTS)
  • Operating System: Linux
  • Region: mostly West US, but I tried a whole bunch (see below)
  • Linux Plan: (New)
  • Pricing Plan: Basic B1
  • Zone redundancy: Disabled
  • All other tabs were left at their defaults

Some things I have tried so far:

  • Double checking the billing account: credit card is loaded and we are on a Pay as you Go plan.
  • Deploying to different regions: I have tried every region in the USA. Also tried Central Canada. No luck.
  • Having my client use their Microsoft 365 admin account to deploy the web app: they got the same error.
  • Deploying using a different Resource Group: no luck
  • Re-registering the Microsoft.Web resource provider with my subscription: no luck
  • Disabling application insights: no luck

I am out of ideas--any help would be appreciated! Thanks in advance :)

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,895 questions
{count} votes
Accepted answer
  1. TP 76,281 Reputation points
    2024-04-18T02:21:08.1933333+00:00

    Hi Daniel,

    This is almost certainly a backend issue.

    For this I recommend creating a new Technical support request in the Azure portal so that an engineer can fix it on the backend. To create Technical support request you need Developer level ($29/month) support or higher. I recommend Standard level if budget permits since it allows higher severity case as well as phone. To reduce cost you can set the support plan to not automatically renew.

    Several other people have been reporting this issue recently.

    NOTE: It can be confusing to create support request. If it seems like you are stuck in a "loop" whereby you only get recommended solutions/links, please look for Return to support request in upper left, click it, click Next, etc.

    azure support request Return to support request

    Create an Azure support request

    https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request

    Please click Accept Answer and upvote if the above was helpful.

    Thanks.

    -TP

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful