-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with Azure OpenAI chatbot on your own data and Teams Toolkit #12904
Comments
Hi @AlexS640, thanks for raising your issue. Does this issue happen only with 'Web Chat', or does it happen in 'Teams chat' as well? The error message "HTTP status code Unauthorized" typically indicates that there is a problem with the bot's credentials or configuration. Could you please double-check that the bot is configured with the correct values for the app ID and password? These values should match the ones specified in the Azure Bot Service configuration. Sometimes, the issue might be due to missing or incorrect values in the bot's configuration settings. |
Hi @Prasad-MSFT, thank you for your reply. It also happens in the Teams chat. The bot type is 'User-assigned Managed Identity' which was automatically configured during the Azure cloud deployment step, so I think there is no app password. I also followed the guidlines to give the respective managed identity the 'Cognitive Service OpenAI user' role on the resource group hosting the underlying Azure OpenAI service. |
Hi @AlexS640, please share repro video of your issue along with bot id and timestamp of failure, so that we can raise a bug for this issue. |
Hi @Prasad-MSFT, unfortunately I cannot share a repro video here, because it could potentially contain confidential data. Is there another possibility? |
@AlexS640 You can share it via [email protected] |
Describe the bug
I am using Azure Open AI Studio to generate an AI chatbot 'on your own data' and trying to deploy it as a Teams app (see link). When I run the chatbot locally with the Teams Toolkit in Visual Studio Code (with 'Debug in Test Tool' configuration), it works fine. However, after provisioning, deploying and publishing it to our Azure Cloud tenant, the respective Azure Bot does not work. When I go to 'Settings -> Test in Web Chat' in the respective Azure resource and input a message, nothing happens. When looking at 'Settings -> Channels -> Web Chat', I can see a number of issues:
Also when I manually import the resulting .zip file in my local 'appPackage/build' directory into Teams as an app, I obtain no answers. I think, it could be the same problem there.
To Reproduce
Steps to reproduce the behavior:
to deploy your 'Azure OpenAI chatbot on your own data' as a Teams app.
Expected behavior
I expect an answer, when using the 'Test in Web Chat' functionality.
Screenshots
VS Code Extension Information (please complete the following information):
CLI Information (please complete the following information):
The text was updated successfully, but these errors were encountered: