Hello @Arlind Kadra sorry to hear you are facing this issue. are you able to create other resources with that same subscription? Your error message “The subscription ‘xxxx’ is not allowed to create or update the serverfarm”, has to do with your Azure subscription.
Here are a few steps you can take to troubleshoot this issue:
- Check and make sure your Azure subscription is active and not disabled due to reasons like expired credit, exceeded quota etc.
- Try logging in again using
az login
command. This will update the subscriptions you belong
As for the “Bad Gateway” error, it’s a common issue that can occur due to various reasons such as network issues, application level issues (like high memory/CPU usage, application crashes, etc.), or configuration issues. Here are some general troubleshooting steps:
- If access to the backend is blocked because of an NSG, UDR, or custom DNS, application gateway instances can’t reach the backend pool. This issue causes probe failures, resulting in 502 errors
- If the application gateway has no VMs or virtual machine scale set configured in the backend address pool, it can’t route any customer request and sends a bad gateway error
- Track service health and monitor metrics like Average memory working set, Average response time, CPU time, Memory working set, Requests, etc
- Azure App Service provides an intelligent and interactive experience to help you troubleshoot your app with no configuration required
If the issue persists, please let us know. -Grace