@DAA I'm glad to see you were able to resolve your issue. Thanks for posting your solution so that others experiencing the same thing can easily reference this. Since the Microsoft Q&A community has a policy that the question author cannot accept their own answer, they can only accept answers by others, I'll repost your solution in case you'd like to Accept the answer.
Issue:
You have deployed the sample webapp and encountering the error openai.AuthenticationError
.
Resolution:
You had to raise the request for Azure OpenAI. Then you followed the below 2 plans and that resolved the issue:
- Looking at the error, it seems like the Azure OpenAI connection is mis-configured. You can also open App Service in the Azure Portal and check the environment variables in the configuration to see it is set correctly.
- If your app does not have authentication configured. Please add an identity provider by finding your app in the Azure Portal and following these instructions