Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
Hii @ömür bozdemir,
Thank you for reaching us regarding the issue of creating a web app for your Django application and encountering the "ServerFarmCreationNotAllowed" error. This typically means that your subscription doesn't have the permissions to create or update the required server farm.
For this, please perform the following steps:
1.Required Resource Providers Not Registered
App Service creation requires these providers:
-
Microsoft.Web -
Microsoft.DomainRegistration
If they are not registered, App Service Plan creation fails. You can register them
az provider register --namespace Microsoft.Web
az provider register --namespace Microsoft.DomainRegistration
Check if there are any Azure Policies or Management Group settings that could block you from creating App Service Plans.
Review resources in Azure Policy in the portal and evaluate any policies that could impact resource provisioning.
- Certain Azure subscription types do not support creating new App Service Plans, even when the user has the Owner role. According to Microsoft documentation, this limitation is commonly seen in Free Trial, Azure for Students and newly activated subscriptions that are still undergoing billing verification. These subscription categories have built‑in restrictions that prevent deploying App Service Plans until the subscription is fully validated or upgraded.
3.Region‑specific or quota‑based restrictions can prevent the creation of new App Service Plans if the selected Azure region has exhausted capacity or enforces a quota limit.
Kindly let us know if the above helps or you need further assistance on this issue.