Hi Kaushal Gogula,
Thanks for reaching out to Microsoft Q&A.
Looks like you are encountering a couple of issues:
Quota Limitation in West US Region:
- The error "This region has quota of 0 instances for your subscription" indicates that your current subscription has hit a quota limit for the West US region, or there is no capacity available for the instance you're trying to create. To resolve this, you can try the below:
- Check your quota limits by navigating to Azure Portal > Subscriptions > Select Subscription > Usage + Quotas.
- You can request a quota increase by submitting a support request for the required region.
- Alternatively, try deploying to another region that has sufficient capacity.
- Deployment Validation Failure:
- The error message "The template deployment 'Microsoft.Web-FunctionApp-Portal' is not valid according to the validation procedure" points to an issue in the deployment template.
Troubleshooting steps:
- Verify the deployment template for any missing parameters or syntax errors.
- Ensure that all required resources and configurations (like the storage account, application insights, etc.) for your function app are correctly set up.
- If possible, try deploying via Azure CLI or ARM templates, as this often provides more detailed error logs.
Basic Authentication:
- You mentioned enabling/disabling basic authentication. While basic authentication is not typically required for function app deployment, it might be worth checking if any authentication settings in your template are misconfigured or not properly handled by the deployment guide you're following.
Please feel free to click the 'Upvote' (Thumbs-up) button and 'Accept as Answer'. This helps the community by allowing others with similar queries to easily find the solution.