azure-search-openai-demo
azure-search-openai-demo copied to clipboard
CannotDeleteOrUpdateEnabledEntitlement: Permission (scope or role) cannot be deleted or updated unless disabled first
I followed the manual setup to register both client and server apps. Getting the following error while deploying the app.
Could you please elaborate a little more on the process of enabling authentication and assigning roles and groups please?
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 up
Any log messages given by the failure
Checking if authentication should be setup...
Loading azd .env file from current environment...
AZURE_USE_AUTHENTICATION is set, proceeding with authentication setup...
Creating Python virtual environment "scripts/.venv"...
Installing dependencies from "requirements.txt" into virtual environment (in quiet mode)...
Setting up authentication...
Checking if application xxxxx exists
Application already exists, not creating new one
Setting up server application permissions...
Traceback (most recent call last):
File "/Users/xxx/codes/azure-search-openai-demo/./scripts/auth_init.py", line 210, in
Expected/desired behavior
OS and Version?
macOS
azd version?
run
azd versionand copy paste here.
Versions
Mention any other details that might be useful
Thanks! We'll be in touch soon.
Yes, you just need to disable the scope via azure portal first.On 13 Jun 2024, at 16:30, tlievre @.***> wrote: @amirj It works after changing access_user scope state parameter to "Disabled" in Entra ID server App
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>