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"
},
{}
]
}
}
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
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
-
Roy 35 Reputation points
2024-02-08T17:57:53.78+00:00 I facing the same issue. I believe something is down/ has a bug at the moment. I cannot get in contact with support about it
-
Dezi Van Vuuren 165 Reputation points
2024-02-08T17:59:51.4466667+00:00 Glad it's not just me. I pinged them on X (Twitter) now, seems like they willing to help.
-
VenkateshDodda-MSFT 18,951 Reputation points • Microsoft Employee
2024-02-09T04:32:06.6+00:00 @Dezi Van Vuuren Thanks for reaching out to Microsoft Q&A, apologize for any inconvenience caused on this. This needs to be investigated further and might need to engage the engineering team as well. I would suggest you raise a support ticket to app service team to check and assist you further on this,
-
Matthew Orahood 21 Reputation points
2024-02-09T14:09:42.7+00:00 @VenkateshDodda-MSFT I am seeing this issue as well for the past few hours. Had not problems earlier yesterday.
-
VenkateshDodda-MSFT 18,951 Reputation points • Microsoft Employee
2024-02-10T01:42:19.57+00:00 Matt Orahood Thanks for reporting, could you please share the last four digits of your subscription Id, operation id or correlation id to check and assist you further on this.
-
Matthew Orahood 21 Reputation points
2024-02-10T15:40:05.04+00:00 @VenkateshDodda-MSFT The last four of my subscription is: '15c6'. Deployment correlation id is: d8dd418f-1302-440a-80ce-b44392913984
-
VenkateshDodda-MSFT 18,951 Reputation points • Microsoft Employee
2024-02-12T04:01:39.5766667+00:00 Matthew Orahood Thanks for sharing the details. I am checking with the internal team on this and will update you here once I hear back from them.
-
VenkateshDodda-MSFT 18,951 Reputation points • Microsoft Employee
2024-02-12T12:55:22.7566667+00:00 Matthew Orahood Our internal team has investigated and fixed the issue, could you please retry the operation and let me know if you are still facing the issue.
-
Dezi Van Vuuren 165 Reputation points
2024-02-12T12:57:30.7433333+00:00 Hi I tried it now, and was able to create the web app. Thanks Regards
-
Matthew Orahood 21 Reputation points
2024-02-12T14:20:13.54+00:00 @VenkateshDodda-MSFT It works now thank you!
-
Esthea Muller 0 Reputation points
2024-02-15T14:19:07.46+00:00 I have this problem at the moment:
The subscription xxx is not allowed to create or update the serverfarm.
-
Quinten Bas 0 Reputation points
2024-02-15T14:53:17.7466667+00:00 Same problem as well currently. Earlier this week no problems.Gave it another try today... no problems at all!
-
Jonathan 0 Reputation points
2024-02-16T13:48:16.72+00:00 I have the same issue
The subscription xxx is not allowed to create or update the serverfarm.
-
Nikolay Stoyanov 0 Reputation points
2024-02-17T12:16:51.89+00:00 I am receiving the same error during deployment to Azure Web App Service from Docker-Compose from Azure Container Registry
-
Andrés López Cervantes 0 Reputation points
2024-02-19T21:49:18.1733333+00:00 I'm getting the same error.
These are the last 4 digits of the subscription: 40eb
This is there correlation ID: 7a25eaa9-3ceb-4b09-8884-a21475d4dc5b -
Marcel Vos 0 Reputation points
2024-02-21T08:12:10.52+00:00 We have the same problem.
Tracking ID: 76a34eac-00ec-4f8f-be82-323bd978c76a
The subscription '{subscriptionId}' is not allowed to create or update the serverfarm.
-
Benjamín Mendoza 20 Reputation points
2024-02-24T02:48:13.11+00:00 I have the same issue here, what could it be the problem.. uhmm
-
Adebusayo 0 Reputation points
2024-03-10T17:52:24.1066667+00:00 I also have the same problem, but I was able to create one yesterday, but I cannot today.
-
mark walsh 0 Reputation points
2024-03-14T03:52:18.6466667+00:00 Hi Venkatesh. I'm a Microsoft MCT running an AZ-400 course where all the students and myself use Azure Passes. We continue getting the problem and can't do the course labs. It seems somebody has made some adjustments to Azure Pass subscriptions and that is causing the problem.
-
Scott Miller 0 Reputation points
2024-04-13T18:22:40.61+00:00 Same issue with a newly created Pay-As-You-Go subscription for Wordpress App Service.
Forbidden/BadGateway."The subscription '[ID]801f' is not allowed to create or update the serverfarm.
Do we have a fix for this other than waiting some indeterminate amount of time? Thanks.
-
Guilherme Camarotto 0 Reputation points
2024-04-13T19:13:15.6833333+00:00 Same problem here, anyone find a solution?
-
Jean Andre Mas 45 Reputation points
2024-04-14T01:46:58.04+00:00 I'm going through a few certification courses. So I have an account that's being used sometimes by those courses. Now I wanted a subscription of my own too so created one (free) but I every time I try to create an app service plan, I get the error (cannot create or update the serverfarm)
So I try a different browser, same error.
So I try a different computer, same error.
So I create 2 new accounts, with 2 new free subscriptions, and repeat the same tests, same error every time on both computers, in every browsers.
So I create a pay-as you-go subscription instead, and again, same error every time.
Am I blacklisted or what? I haven't even created a single resource yet. And apparently I should pay $30 to get someone to help me.
I see the error in console, when the PUT fails with a 502 BadGateway but that's all I get so not much I can fix from that.
What can I do without having to pay those $30? Need some help here.
-
Eas Chinta 0 Reputation points
2024-04-14T08:18:17.94+00:00 Same issue on my side.
I have tried all the troubleshooting steps that Jean Andre Mas previously mentioned to no avail.I tried creating a Static Web App and that worked, but when I try to create a normal Web App or a Web App + Database (following along the tutorials for CRUD) I always get the same error message.
Under Operation details the status message is:
Is there an actual solution to this issue? Or is this a general issue from Microsoft Azure?{ "status": "Failed", "error": { "code": "Forbidden", "message": "The subscription '***397' is not allowed to create or update the serverfarm.", "details": [ { "message": "The subscription '***397' is not allowed to create or update the serverfarm." }, { "code": "Forbidden" }, {} ] } }
-
Thomas Sodon 15 Reputation points
2024-04-14T16:37:49.5833333+00:00 @VenkateshDodda-MSFT I am having this problem as well. The last four of my subscription is: 'd9c9'.
-
Jean Andre Mas 45 Reputation points
2024-04-14T19:05:46.2633333+00:00 My problem was that the region and the tier I was selecting had no resources available. When you do that, that's the error you get.
To fix the problem, I had to go to Quotas and then see in the list what region and what resources are available. Then I can create the service using the correct region and tier and I get no errors.
So weird that I didn't get that very simple information before. I got az-900 cert and they never mentioned that.
-
Helge Holm 0 Reputation points
2024-04-15T20:49:06.75+00:00 Same issue here. Attempted redeploy.
Subscription ID ending with 7c1ce8d2c434
-
Scott Stanford 0 Reputation points
2024-04-16T22:06:03.1033333+00:00 @Jean Andre Mas where do you check this?
-
Jean Andre Mas 45 Reputation points
2024-04-16T23:59:29.1433333+00:00 It's on the left inside in the subscription. Scroll down and you will see it.
-
Scott Stanford 0 Reputation points
2024-04-17T00:26:00.78+00:00 I’m having this same problem. Last 4 of subscription ID is ba91. Please help, this is very frustrating.
-
Chris S 0 Reputation points
2024-04-17T13:11:23.9266667+00:00 I am having this issue as well. Apparently their is no resolution to this. Web Apps is a dud of a service. Configuration should include all steps, including setting up the subscription and any permissions needed to run the services. The tutorials are very lacking across all Azure services in this respect.
-
Scott Stanford 0 Reputation points
2024-04-17T14:51:50.6966667+00:00 Just retried again, and this is 2 days later than the last deployment attempt. Same issue. Additionally, Microsoft.Web is a registered provider already for my subscription too. Correlation ID: ea403266-16eb-455d-841d-04290598f619
@VenkateshDodda-MSFT please help. Microsoft needs to get themselves together here. This is sad.
-
Vladislav Malisevych 1 Reputation point
2024-04-17T17:42:15.5666667+00:00 @VenkateshDodda-MSFT same issue,
operation name: F362AECE30ACEF86
tracking ID: fb34a43f-6508-4455-b205-a9abba264cef
serviceRequestId: f1c0b4df-c50f-4163-8885-0d19bda6ec27
deployment correlation ID: 9aa2ba49-aa1f-4e24-8d2b-685d90144795
subscription: 35371b83-705a-42f6-bc1a-57a7892f7fab
-
Kold MetaL 0 Reputation points
2024-04-18T06:19:12.7966667+00:00 I am having the same issue, my correlation id is 6682fff3-effc-4b6d-8859-537132848353 and subscription id ending in f512. Can there be a common fix for all, instead of each person posting the same issue along with their correlation id and subscription id and you have to fix or investigate one by one?
-
Венцислав Влаев 0 Reputation points
2024-04-18T21:09:27.0666667+00:00 Im getting the same error "The subscription 'ad88' is not allowed to create or update the serverfarm."
-
NavDash 0 Reputation points
2024-04-19T01:07:47.87+00:00 Hi @VenkateshDodda-MSFT I have the same problem, Deployment correlation ID: 004796ba-c6ad-492e-aaff-2339f8c59a8f and 2238 last four subscription id. Thanks in advance for your help
-
Dylan Leclercq 0 Reputation points
2024-04-19T09:24:50.9766667+00:00 I also have the same issue since wednesday.
Correlation Id : c223699b-e945-4c99-a1ae-b24df6d12a3a
My subscription is a Visual Studio Professional and last 4 digits are : e32a
Thanks for the help
16 answers
Sort by: Most helpful
-
Roy 35 Reputation points
2024-02-08T18:30:19.8566667+00:00 -
Martin Therkelsen 1,405 Reputation points • MVP
2024-02-08T18:35:11.0766667+00:00 It does look like a backend issue from MS
-
Roy 35 Reputation points
2024-02-08T18:38:18.58+00:00 Indeed that is what I was think as well. I created a new subscription in the same azure account, that is facing the same issue. But when I create a new account, I can deploy my app service plan again.
-
Dezi Van Vuuren 165 Reputation points
2024-02-08T18:42:28.4666667+00:00 I tried this as well, got exactly the same outcome.
-
VenkateshDodda-MSFT 18,951 Reputation points • Microsoft Employee
2024-02-09T04:37:30.9566667+00:00 @Roy Thanks for reaching out to Microsoft Q&A, apologize for any inconvenience caused on this. This needs to be investigated further and might need to engage the engineering team as well.
I would suggest you raise a support ticket to app service team to check and assist you further on this.
-
Roy 35 Reputation points
2024-02-09T06:15:18.9933333+00:00 I have sent a mail, since the azure portal doesnt allow me to create a support ticket at all.
-
Dezi Van Vuuren 165 Reputation points
2024-02-09T06:37:52.67+00:00 Hi, likewise, sent an email, thanks. The portals support process is terrible. Only way to get anywhere is to spend $35 a month which is an outrage. I can understand if you need help doing things, but to log an actual issue with Azure should be free
-
Roy 35 Reputation points
2024-02-09T07:56:47.1766667+00:00 Getting the error now in the other account as well. Although the error I get is that my subscription is being throttled:
Unfortunately I have a training to teach in Azure...... Which we cant do much at the moment.
-
Martin Therkelsen 1,405 Reputation points • MVP
2024-02-09T08:09:10.5366667+00:00 Which regions are you using?
-
Matthew Orahood 21 Reputation points
2024-02-09T15:56:54.04+00:00 I am seeing this issue in East US
-
Matthew Orahood 21 Reputation points
2024-02-09T16:03:15.26+00:00 I am seeing this in both East US and East US 2
-
kinuthia 0 Reputation points
2024-02-19T10:33:56.73+00:00 I do have a similar problem when i created my account i was able to create an App service. How did you solved it or anyone trying to solve it.
-
Thomas Sodon 15 Reputation points
2024-04-15T13:10:47.1866667+00:00 Is there any solution to this? I am deploying an app service plan to a region with quota. And still have the issue.
-
-
VenkateshDodda-MSFT 18,951 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.
-
Neha Moradia 0 Reputation points
2024-02-21T11:52:20.02+00:00 Now I am able to create the serverfarm. Thanks!
-
Minh Trịnh Công 0 Reputation points
2024-02-22T13:37:22.0066667+00:00 @VenkateshDodda-MSFT help me please, my sub is also get the same issue as everyone "The subscription is not allowed to create or update the serverfarm" please check my sub. The last 4 digits of my sub are "fa20" and my correlation id is 2bbf6dd1-ac39-426e-851d-5f4f9891ada8
-
Scott Stanford 0 Reputation points
2024-04-16T01:39:55.45+00:00 I’m having this same problem. Last 4 of subscription ID is ba91.
-
-
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?
-
Dezi Van Vuuren 165 Reputation points
2024-02-08T18:04:09.9833333+00:00 Hi, no further info. If it is capacity issues, how do I move past this? I can't go to another region, then I'm paying for egress and ingress costs as well.
-
Martin Therkelsen 1,405 Reputation points • MVP
2024-02-08T18:08:22.3133333+00:00 I created a support case with Microsoft for it the last time I saw this. Sorry, I can't find any better than this for now. Did you check both activity and deployment logs?
-
Dezi Van Vuuren 165 Reputation points
2024-02-08T18:12:50.82+00:00 I did, just gives the same message over and over again.
-
Yashika Jayasinghe 0 Reputation points
2024-02-10T01:30:24.0666667+00:00 Hi, I also get the same error when I tried to provision an ASP with Terraform:
Error: creating Service Plan: (Serverfarm Name "XXXX-XXXXXX" / Resource Group "XXXX-XXXXXX"): web.AppServicePlansClient#CreateOrUpdate: Failure sending request: StatusCode=502 -- Original Error: Code="Forbidden" Message="The subscription 'XXXX-XXXXXXXXXX-XXXXXX' is not allowed to create or update the serverfarm." Details=[{"Message":"The subscription 'XXXX-XXXXXXXXXX-XXXXXX' is not allowed to create or update the serverfarm."},{"Code":"Forbidden"},{"ErrorEntity":{"Code":"Forbidden","ExtendedCode":"70001","Message":"The subscription 'XXXX-XXXXXXXXXX-XXXXXXXXXX-XXXXXX' is not allowed to create or update the serverfarm.","MessageTemplate":"The subscription '{0}' is not allowed to create or update the serverfarm.","Parameters":["XXXX-XXXXXXXXXX-XXXXXXXXXX-XXXXXX"]}}]
-
-
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
-
VenkateshDodda-MSFT 18,951 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.
-
Roman 10 Reputation points
2024-02-15T13:14:52.5033333+00:00 Hello @VenkateshDodda-MSFT I'm having exactly the same issue: cannot create an app service plan with the same error message. I tried different regions, different tiers, window/linux with the same BadGateway result. The last four of my subscription is:
ce69
and one of failed correlation ids is:bb0a43dd-75be-4c8a-8a89-3ce28d297c85
Can you help me please? -
Robin 0 Reputation points
2024-02-17T12:29:18.73+00:00 I'm having the same problem as well. I tweeted at AzureSupport but any help here would be much appreciated. Trying to deploy this weekend.
-
PauloBodanezeReva-4478 45 Reputation points
2024-02-17T17:53:04.7166667+00:00 I'm having the same issue too, any news on the topic?
-
Md Syeedur Rahman 0 Reputation points
2024-02-17T18:26:10.3866667+00:00 I am also having the same issue. I am using a student plan.
-
Muhammad Asif 0 Reputation points
2024-02-18T14:35:38.17+00:00 still getting error, it is not resolved yet.
-
aviv salem 0 Reputation points
2024-02-19T13:23:16.0266667+00:00 i'm getting the same error right now... is this not fixed yet?
-
Shivraj Patil 0 Reputation points
2024-02-19T20:17:00.94+00:00 Its not working yet please do the needful I am also getting the same error today also on 20/2/2024 as I am using pay as you go subscription.
-
Juan Carlos Conde 0 Reputation points
2024-02-20T02:27:00.0466667+00:00 hello @VenkateshDodda-MSFT , Im having the same issue, last 4 digit of my subscription cebf. Can you help me please?
-
Scott Taylor 0 Reputation points
2024-03-20T13:58:31.55+00:00 @VenkateshDodda-MSFT Hi, can you help me with the same issue as @Dezi Van Vuuren. Thank you
-
colonelsan97 0 Reputation points
2024-04-15T22:42:57.2233333+00:00 i have the same problem. the last four digits of my subscription are 8443
-
Carlos Alfonso Iñigo 0 Reputation points
2024-04-16T01:23:12.22+00:00 Hello same issue. I was able to deploy yesterday successfully with no issues but now I can't.
Last four digits of my subscription is: 49f7. Please help
-
deepak porwal 0 Reputation points
2024-04-16T13:25:04.5533333+00:00 I have the same problem my subscription id is :
The subscription 'f18697e6-6cd0-4a6e-a440-b5882fde327e' is not allowed to create or update the serverfarm. Please help me
-
Rheetik Sharma 0 Reputation points
2024-04-17T08:43:17.3866667+00:00 I have the same problem my subscription id is :
The subscription '78db15c5-4c2d-4abf-b534-b4fb92b036fb' is not allowed to create or update the serverfarm.
-
Jarno Leikas 0 Reputation points
2024-04-17T17:31:46.05+00:00 Same issue, trying this on my MSDN subscription using a Bicep template. Unable to post a support ticket with that plan..
-
Kold MetaL 0 Reputation points
2024-04-18T06:22:32.2566667+00:00 Having the same issue, my correlation id is 6682fff3-effc-4b6d-8859-537132848353 and subscription id ending in f512.
-
Andres Felipe 10 Reputation points
2024-04-18T22:22:09.87+00:00 Same here
-