Help with Azure Function Creation Error

0
3
Asked By CloudNinja42 On

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?

3 Answers

Answered By DevGuru77 On

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.

Answered By CodeSlinger88 On

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.

Answered By TechExplorer99 On

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!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.