The subscription is not allowed to create or update the serverfarm.

Kevin O 0 Reputation points
2024-05-31T16:05:38.54+00:00
I'm creating a function and I keep getting the error listed below on a bad gateway. 
It seems this is an error since April 2024 and still no viable solution. 
The only solution is to open a ticket, which doesn't work if you're on a free plan trying to learn how to use Azure. 

AWS products would not have this issue. 

{
    "status": "Failed",
    "error": {
        "code": "Forbidden",
        "message": "The subscription '*53bb' is not allowed to create or update the serverfarm.",
        "details": [
            {
                "message": "The subscription '*53bb' is not allowed to create or update the serverfarm."
            },
            {
                "code": "Forbidden"
            },
            {}
        ]
    }
}
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,476 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Andriy Bilous 11,011 Reputation points MVP
    2024-05-31T20:50:47.3266667+00:00

    Hello Kevin O

    I hope that helps you to resolve the issue

    This could be a transient issue on the Azure platform, As per the similar issue was resolved by referring the solution below:

    • Retry the deployment of the Web app and the issue will be fixed.
    • Log out of your Azure account and Log in again via Incognito Window Chrome or InPrivate Tab Edge, And try the deployment of Fresh Web app again.
    • Retry the deployment of the Web App in another region.
    • If the issue persists, Raise an Azure Support request to get this issue resolved from the backend.

    Another reason is quota problem that can only be fixed by the Azure engineering team case-by-case

    https://stackoverflow.com/questions/78193881/azure-resource-creation-issue-the-subscription-is-not-allowed-to-create-or-up
    https://learn.microsoft.com/en-us/answers/questions/1527674/the-subscription-is-not-allowed-to-create-or-updat

    0 comments No comments