Skip to content
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

.Net: Chat doesn't work when adding Azure AD authentication #3288

Closed
rouissis opened this issue Oct 24, 2023 · 5 comments
Closed

.Net: Chat doesn't work when adding Azure AD authentication #3288

rouissis opened this issue Oct 24, 2023 · 5 comments
Assignees
Labels
bug Something isn't working .NET Issue or Pull requests regarding .NET code

Comments

@rouissis
Copy link

rouissis commented Oct 24, 2023

Describe the bug
Can't create any chat when user is authenticated using Azure AD

To Reproduce
Steps to reproduce the behavior:

  1. Configure the app registrations (locally https://github.com/microsoft/chat-copilot/blob/main/README.md#optional-enable-backend-authentication-via-azure-ad or for Azure https://learn.microsoft.com/en-us/semantic-kernel/chat-copilot/deploy-to-azure#prerequisites)
  2. Add the configuration to your environment (local or Azure)
  3. Run the app (or Deploy if on Azure)

Expected behavior
When running the app we expect to be able to create chats like below :
image

Screenshots
Instead, we get this empty window :
image
And when we click + > New chat session, nothing happens.

Platform

  • OS: Windows, or Azure
  • IDE: VS Code locally, or Azure
  • Language: C#
  • Source: Chat Copilot package latest version

Additional context

@shawncal shawncal added .NET Issue or Pull requests regarding .NET code triage labels Oct 24, 2023
@github-actions github-actions bot changed the title Chat doesn't work when adding Azure AD authentication .Net: Chat doesn't work when adding Azure AD authentication Oct 24, 2023
@matthewbolanos
Copy link
Member

Thanks for reporting the issue. Do you mind opening the inspect window in your browser and sharing any errors that you might find? This will help us diagnose the issue.

@rouissis
Copy link
Author

Hi Matthew,

Thank you for following up. Here are the errors I get on the inspect window :

image

@alliscode alliscode removed the triage label Oct 30, 2023
@matthewbolanos matthewbolanos added the bug Something isn't working label Nov 27, 2023
@glahaye
Copy link
Contributor

glahaye commented Nov 28, 2023

@rouissis This looks like an incorrectly configured AAD setup.

Are you still experiencing the issue? Have you tried with the latest version of Chat Copilot?

@rouissis
Copy link
Author

Hi Gil,

You are correct, there was an issue with our AAD app registrations. After recreating them, the authentication worked, unfortunately the bing search plug in doesn't work.
I'll try the latest version of Chat Copilot, otherwise I'll create a bug for that issue specifically. Thanks!

@github-project-automation github-project-automation bot moved this to Sprint: Done in Semantic Kernel Nov 28, 2023
@glahaye
Copy link
Contributor

glahaye commented Nov 28, 2023

There is already a bug open for the bing search plugin: microsoft/chat-copilot#549

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working .NET Issue or Pull requests regarding .NET code
Projects
Archived in project
Development

No branches or pull requests

5 participants