azure-search-openai-demo: Can't deploy to existing search service with free sku
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
azd env set AZURE_SEARCH_SERVICE chesco-cog-search azd up
Any log messages given by the failure
ERROR: deployment failed: failing invoking action ‘provision’, error deploying infrastructure: deploying to subscription:
Deployment Error Details: InvalidTemplateDeployment: The template deployment ‘search-service’ is not valid according to the validation procedure. The tracking id is ‘9050f6ed-e5c4-4144-8580-774cf6cdfe04’. See inner errors for details. ServiceNameUnavailable: Cannot provision service ‘chesco-cog-search’ because a service with this name is already in use, or another request to provision a service with this name is still in progress
Expected/desired behavior
to create the search within our existing free tier. We have 1 index free still in our quota and plenty of space in our quota
OS and Version?
Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
azd version?
run
azd version
and copy paste here.
Versions
Mention any other details that might be useful
Thanks! We’ll be in touch soon.
About this issue
- Original URL
- State: closed
- Created 10 months ago
- Comments: 18
Great point, adding note in https://github.com/Azure-Samples/azure-search-openai-demo/pull/1019
Did you also try
azd env set AZURE_SEARCH_SERVICE_RESOURCE_GROUP group-name
? I assume that service is in a different resource group than the new one being created.