azure-search-openai-demo
azure-search-openai-demo copied to clipboard
The template deployment failed with error: 'Authorization failed for template resource
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
Any log messages given by the failure
The template deployment failed with error: 'Authorization failed for template resource 'xxx' of type 'Microsoft.Authorization/roleAssignments'. The client 'xxxx' with object id 'xxxx' does not have permission to perform action 'Microsoft.Authorization/roleAssignments/write' at scope '/subscriptions/8xxxx/resourceGroups/xxxx/providers/Microsoft.Authorization/roleAssignments/xxxx'.'. (Code: InvalidTemplateDeployment)
Expected/desired behavior
App should deploy as expected
OS and Version?
Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)
azd version?
run
azd versionand copy paste here. 1.7.0
Versions
Mention any other details that might be useful
I have full owner access to the subscription as well as any resource groups under it, so it baffles me why I cannot deploy this app.
I get this error while creating roles for all the services in this app (open ai, storage, azure ai)