Help with Azure Function Creation Error
Asked by
CloudNinja42
I'm new to Azure and have set up a new account with free credits. However, whenever I attempt to create a new Azure Function, I encounter the error 'ServerFarmCreationNotAllowed.' I've tried deploying in multiple regions, but nothing seems to work. The error message provides details about 'InvalidTemplateDeployment' and indicates my subscription isn't allowed to create or update the server farm. Has anyone else faced this issue, and do you have any suggestions on how to resolve it?
Answers
Have you considered using the Flex Consumption SKU instead? ServerFarm refers to an App Service Plan, which requires dedicated compute resources. Since you're using free credits, you probably donโt need those for your functions. Switching to Flex might solve your problem!
Reply to this answer
This issue seems pretty common on the free trial. Sometimes, just waiting helps, or you may want to consider upgrading to a pay-as-you-go plan. That could remove the restrictions you're experiencing.
Reply to this answer
It sounds like a frequent issue. You might want to open a support ticket with Azure support if it keeps happening. In the meantime, trying another region could be worth a shot, although you've mentioned you've already done that. Just keep at it, and donโt hesitate to reach out for support if things don't improve.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions