Pls refer to https://learn.microsoft.com/en-us/answers/questions/1527674/the-subscription-is-not-allowed-to-create-or-updat
hth
Marcin
"The subscription <subscription id> is not allowed to create or update the serverfarm." error when deploying an app service.
PauloBodanezeReva-4478
45
Reputation points
I'm trying to deploy an App Service on Azure but im stuck in the deployment. I dont know if the operation with a BadGateway will stall the deployment or not.
When i click Operation Details the following JSON is displayed:
{
"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"
},
{}
]
}
}
Accepted answer
2 additional answers
Sort by: Most helpful
-
Guilherme Camarotto 0 Reputation points
2024-04-24T15:30:40.0933333+00:00 I was able to create tha app service directly from visual studio publish feature. just select Azure as the destiantion of the publish and configure a new app service from there. and worked here
-
Gati 0 Reputation points
2024-04-25T14:50:49.5633333+00:00 { "status": "Failed", "error": { "code": "Forbidden", "message": "The subscription '*******************6664' is not allowed to create or update the serverfarm.", "details": [ { "message": "The subscription '***********6664' is not allowed to create or update the serverfarm." }, { "code": "Forbidden" }, {} ] } }