azure-search-openai-demo
azure-search-openai-demo copied to clipboard
Unable to deploy the application even after having Azure OpenAI subscription
Please provide us with the following information:
This issue is for a: (mark with an x)
- [x ] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce
Working on a Mac Os Sonoma. Followed the steps given in the readme file.
azd auth login azd init -t azure-search-openai-demo azd up
Any log messages given by the failure
ERROR: failing invoking action 'provision', error deploying infrastructure: deploying to subscription:
Deployment Error Details: InvalidTemplateDeployment: The template deployment 'openai' is not valid according to the validation procedure. The tracking id is ' '. See inner errors for details. SpecialFeatureOrQuotaIdRequired: The subscription does not have QuotaId/Feature required by SKU 'S0' from kind 'OpenAI' or contains blocked QuotaId/Feature.
Expected/desired behavior
I requested for an Azure OpenAI subscription and got it yesterday night. The application should be deployed properly. I have no other application running and purged the old one.
Deployed it in the Azure location to use: 34. (Europe) West Europe (westeurope) and 'openAiResourceGroupLocation' infrastructure parameter: as 3. (Europe) France Central (francecentral)
Note: I had an Azure OpenAI access for the same subscription id as the current one. But that got accidentally deleted.
OS and Version?
Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
Mac Os Sonoma
azd version?
run
azd versionand copy paste here.
azd version 1.5.0
Versions
Mention any other details that might be useful
With the previous OpenAI access, I successfully deployed it.
Thanks! We'll be in touch soon.
I have the exact same problem
I got it working the first time. Then when I was done, I ran azd down --purge.
Afterwards when trying to setup the whole thing again, I keep getting the same error as @varunr02 got.
I tried restarting from scratch with completetly new environment, purge anything existing etc etc, but still no luck.
I tried applying for a new openAI subscription but still the same error.
I also tried different regions (us east, north europe etc).
I deleted the entire folder and created a new one. Now I'm getting this error.
ERROR: failing invoking action 'provision', error deploying infrastructure: deploying to subscription:
Deployment Error Details: InvalidTemplateDeployment: The template deployment 'appserviceplan' is not valid according to the validation procedure. The tracking id is ' '. See inner errors for details. ValidationForResourceFailed: Validation failed for a resource. Check 'Error.Details[0]' for more information. SubscriptionIsOverQuotaForSku: This region has quota of 0 instances for your subscription. Try selecting different region or SKU. InvalidTemplateDeployment: The template deployment 'openai' is not valid according to the validation procedure. The tracking id is ' '. See inner errors for details. SpecialFeatureOrQuotaIdRequired: The subscription does not have QuotaId/Feature required by SKU 'S0' from kind 'OpenAI' or contains blocked QuotaId/Feature.
@PhilipNgo @varunr02 Are you able to create new OpenAI deployments in the Portal for gpt-3.5 turbo 0613 and text-embedding-ada-002 for the given region?
This is showing when selecting the region in the Instance Details except for North Italy: The subscription does not have QuotaId/Feature required by SKU 'S0' from kind 'OpenAI' or contains blocked QuotaId/Feature.
But North Italy is not there in the list of available openAiResourceGroupLocation (in terminal when using azd up)
Also, I'm currently using the $200 credit I got when opened a new account.
Hm, so you're saying that North Italy is the only region where you're able to create OpenAI resources? We don't have that enabled for the picker since it's not listed here: https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/models You can manually change infra/main.bicep openAiResourceGroupLocation to include "northitaly" if you think it'd work for you.
I think you may run into other issues if you're on the Azure free tier, but I'd like to make that work, so we can try to work through those.
I added northitaly to the resource group but it didn't show up in the terminal. I have added the screenshots of my entire process.
Is there any other way I can make this work? It worked fine for me last week. But I accidentally deleted something and had to request again for OpenAI access. Even after getting the access, it's not working.
Any update on this @pamelafox?
It seems to be some location specific issue. I could not get it working at Location: East US 2 either.
Switching to Location: East US resolved the issue.