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.

When creating an app service plan I am receiving status of "BadGateway" and getting Forbidden

Mark Anderson 20 Reputation points
2024-04-17T10:57:45.0866667+00:00

We recently created a new tenant and created new subscriptions for the tenant to create new web applications. While doing so I have gone through as global admin in the subscriptions and created multiple items like azure postgresql server, network, resource groups etc., when I am trying to create a new app service plan or web application each time I receive a status of BadGateway with a Forbidden to create or update the serverfarm.

I have registered microsoft.web under each subscription I am trying to create a new app. Any help on trying to resolve would be greatly appreciated as I have been through the steps listed out by others who were seeing the same issues.

    "status": "Failed",
    "error": {
        "code": "Forbidden",
        "message": "The subscription '622d4497-ddc3-4901-b780-ab5ab66f46f1' is not allowed to create or update the serverfarm.",
        "details": [
            {
                "message": "The subscription '622d4497-ddc3-4901-b780-ab5ab66f46f1' is not allowed to create or update the serverfarm."
            },
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,901 questions
{count} votes