Share via

Bad gateway error when creating azure function

Anonymous
2024-08-12T16:31:35+00:00

Hi, I am getting a bad gateway error when creating an azure function. How can I solve it?

{ "status": "Failed","error": {"code": "Forbidden","message": "The subscription '73dc6b7f-5b01-4e6c-a7d5-68c5e4c3c86f' is not allowed to create or update the serverfarm.","details": [{"message": "The subscription '73dc6b7f-5b01-4e6c-a7d5-68c5e4c3c86f' is not allowed to create or update the serverfarm."},{"code": "Forbidden"},{}]}}

Windows for business | Windows Server | Windows cloud | Other

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-08-13T06:53:12+00:00

    Hi mert akyıldız,

    Thank you for posting in the Microsoft Community Forums.

    This error message indicates that your Azure subscription (subscription ID '73dc6b7f-5b01-4e6c-a7d5-68c5e4c3c86f') is prohibited from creating or updating serverfarms in Azure (this usually refers to the Azure App Service plan). This can be caused by a couple of different reasons and here are some possible steps to resolve it:

    Check subscription permissions:

    Make sure that your Azure account has enough permissions to create or update Azure resources. If you are the owner or administrator of the subscription, check if there are any policies or roles that restrict your actions.

    If you are not the owner or administrator of the subscription, contact the owner or administrator to ask if you can make the necessary privilege elevations to your account.

    Check the subscription status:

    Log in to the Azure portal and check the status of your subscription. Subscriptions can be disabled for various reasons (e.g., unpaid, credit limit reached, suspended by administrator, etc.).

    If the subscription status shows "Disabled" or "Warning", resolve the issue based on the information displayed.

    Check Azure policies and restrictions:

    Azure Explorer policies may restrict the creation of certain resources in your subscription. Check if there are any policies that may be preventing serverfarm creation.

    Check Azure region restrictions and quotas. Some regions may have restrictions or quotas on certain resource types.

    Contact Azure support:

    If none of the above steps resolve the issue, you may need to contact Azure Support for more specific help. In the Azure portal, you can submit a support request describing your issue and providing the relevant error message and subscription ID.

    Consider using a different subscription:

    If possible, try creating an Azure function using another Azure subscription. This can help you confirm whether the issue is specific to the current subscription.

    Check the status of the Azure service:

    Occasionally, the Azure service itself may be experiencing issues. Check the Azure Status page for up-to-date information about the current status of the Azure service.

    Best regards

    Neuvi

    Was this answer helpful?

    0 comments No comments