microsoft / sample-app-aoai-chatGPT

Sample code for a simple web chat experience through Azure OpenAI, including Azure OpenAI On Your Data.
MIT License
1.55k stars 2.41k forks source link

Sign-in error code 90094 for my colleagues #572

Open aagirre92 opened 7 months ago

aagirre92 commented 7 months ago

Hello there!

I have just deployed this application to Azure App service and it is working perfectly fine for me (only for me)

My tenant colleagues cannot access it (admin consent required error 90094 is presented to them, preventing them to access the web application).

Side notes:

I do not understand why this error keeps on popping to my colleagues, as this client does not require any permission that requires admin grant...

Any idea why this is happening? Thanks a lot!

sarah-widder commented 7 months ago

Hi @aagirre92 one thing to try is to remove the identity provider from the app service, and then add it back with a new app registration. Perhaps something about the default configuration of the app registration when deploying is not compatible with your tenant policies.