azure-search-openai-demo icon indicating copy to clipboard operation
azure-search-openai-demo copied to clipboard

Deployment Error

Open stefan-ellenrieder opened this issue 1 year ago • 4 comments

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
- [x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

  • Used GitHub codespaces
  • Used existing resources and set their environment variables
  • Error when running 'azd up'

Any log messages given by the failure

Problem: Error when running 'azd up' Received the following error, but the client has the role 'owner' for the used resource group.

Response: 403 Forbidden Error code: Authorization Failed Message: The client does not have authorization to perform action 'Microsoft.Resources/deployments/write'.

Expected/desired behavior

Succesful deployment

OS and Version?

Windows 11

Versions

Mention any other details that might be useful


Thanks! We'll be in touch soon.

stefan-ellenrieder avatar May 02 '23 12:05 stefan-ellenrieder

I have the same issue. I think this is because it makes a deployment under the subscription level, where you (we) don't have the necessary rights. I don't have any solution for it yet, I would appreciate a solution which only requires to be owner of a resource group.

tickx-cegeka avatar May 02 '23 13:05 tickx-cegeka

I am working on my local environment and got the same error message when I run

azd init -t azure-search-openai-demo

A detailed permission list can be provided to run the demo.

zhongshuai-cao avatar May 02 '23 14:05 zhongshuai-cao

refer https://github.com/Azure-Samples/azure-search-openai-demo/issues/4#issue-1619906532

wtyeung avatar May 03 '23 12:05 wtyeung

+1 this, I have the perms but still the same issue

szelesaron avatar Jun 21 '23 08:06 szelesaron

I am using this: Azure OpenAI on your data (preview) It works very good and you can test it with the Azure OpenAI-Studio without writing any code.

stefan-ellenrieder avatar Aug 02 '23 14:08 stefan-ellenrieder