The subscription is not allowed to create or update the serverfarm when trying to deploy a azure function

Thomas Sodon 15 Reputation points
2024-04-14T15:34:29.31+00:00

I'm trying to deploy a Function on Azure but it gets stuck in the deployment due to a subscription error.User's image

When i click Operation Details the following JSON is displayed:

JSONCopy

{
    "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"
            },
            {}
        ]
    }
}
  • How does this get resolved even with the Microsoft.Web resource provider registered?
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,293 questions
{count} votes