You're encountering the error message "The subscription is not allowed to create or update the serverfarm" while trying to deploy a bot using a custom language model, despite having a paid developer subscription. This issue typically arises due to limitations associated with certain Azure subscription types, including some paid developer plans. These subscriptions may restrict the creation of specific resources like App Service Plans, which are required for hosting bots.
Here are a few steps you can take to troubleshoot and potentially resolve the issue:
- Check Subscription Type and Limits Even with a paid developer subscription, certain resource types or tiers (like App Service Plans) may be restricted. This is especially true for non-pay-as-you-go offers like Visual Studio Dev Essentials or Azure for Students. You can verify your subscription capabilities in the https://azure.microsoft.com/en-us/support/legal/offer-details/.
- Try a Different Region Some users have reported success by deploying their App Service in a different Azure region. Regional availability can vary depending on your subscription type.
- Wait and Retry In some cases, the issue resolves itself after a few hours. This may be due to backend provisioning delays or temporary policy enforcement.
- Use the Free Tier (If Applicable) If your deployment is for testing or development, consider using the Free Tier of App Service to get started. This can bypass some of the restrictions on higher tiers.
- Check Permissions Ensure that your account has at least the "Contributor" role on the subscription or resource group. Lack of permissions can also trigger this error.
References:
The subscription is not allowed to create or update the serverfarm , Azure App Service Deployment Failing
if you have any further queries, please let me know
Thanks