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.

The subscription is not allowed to create or update the serverfarm

Dezi Van Vuuren 165 Reputation points
2024-02-08T17:06:43.0333333+00:00

I'm getting the following error on Azure when I try to scale out, or add a new app service:

The subscription 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,900 questions
{count} votes

16 answers

Sort by: Most helpful
  1. Roy 30 Reputation points
    2024-02-08T18:30:19.8566667+00:00
    Status: BadGateway
    
    {
        "status": "Failed",
        "error": {
            "code": "Forbidden",
            "message": "The subscription '<subscription_id>' is not allowed to create or update the serverfarm.",
            "details": [
                {
                    "message": "The subscription '<subscription_id>' is not allowed to create or update the serverfarm."
                },
                {
                    "code": "Forbidden"
                },
                {}
            ]
        }
    }
    
    3 people found this answer helpful.
  2. VenkateshDodda-MSFT 18,281 Reputation points Microsoft Employee
    2024-02-21T09:16:22.7+00:00

    If you are seeing the issue "The subscription is not allowed to create or update the serverfarm" -If you haven't done retried, please retry creating the app service again (similar thread #1535067 user was able to fix the problem).  

    If the issue continues to persist, for a detailed investigation, we request you to create a support ticket.  Please create a support ticket for an immediate and focused assistance. 

    2 people found this answer helpful.
  3. Martin Therkelsen 1,405 Reputation points MVP
    2024-02-08T18:02:17.6066667+00:00

    Hi Dezi, This could be because of capacity issues with Microsoft. Normally, it would say exceeded quota, though. Can you see any further information in the activity log?

  4. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  5. VenkateshDodda-MSFT 18,281 Reputation points Microsoft Employee
    2024-02-13T05:24:09.36+00:00

    @Dezi Van Vuuren Thanks for your patience on this. I am summarizing the discussion and posting as answer for the benefit of other community members.

    Issue: Unable to create app service plan it is failing with error "The subscription '<subscription_id>' is not allowed to create or update the serverfarm."

    Resolution: Our internal team has investigated and fixed the issue for the customer shared subscriptions. Customer has also confirmed that they are able to create the app service plan.

    I hope the answer helps. Please let me know if you have any further queries.

    Please accept as Yes if the answer provided is useful, so that you can help others in the community looking for remediation for similar issues.