-
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
[Dev support]: Issue implementing SSO for teams-ai bot #2183
Comments
@c-nielson - Thank you for your inquiry about your Teams app development issue!
Let me know if you need more help. |
Thanks for the response @Nivedipa-MSFT ! I followed these steps:
With these updated settings I still receive the same 501 response. If I change the manifest in step 3. to have a resource of the App ID URI (api://botid-{app_id}) I instead receive no response. Do any of these settings stand out as incorrect? |
@c-nielson - Could you please refer to the Microsoft documentation on enabling SSO for Teams bots for detailed steps and troubleshooting tips |
Here's the log I've observed, /api/usertoken/GetToken is always 404 Is Cache hit an AT related I'm sure my configuration is no problem, with vscode Teams Toolkit auto-provisioning, |
After a lot of testing I found that I had overlooked an important issue, all of my failed cases were cross-tenant and successful when single-tenant, but my app setup made it clear that it was using multi-tenancy support, so what was missing |
@c-nielson - Sample team is investigating on it. We will let you know once we get any updates on it. |
@c-nielson : I see following sample is working fine with SSO: https://github.com/microsoft/teams-ai/tree/main/dotnet/samples/06.auth.teamsSSO.bot. Are you referring specific sample to test above scenario? |
@c-nielson - Could you please share the sample you are testing? Any additional information will help us understand your situation better and provide a more accurate response. Looking forward to your reply! |
@SubbaReddi @Nivedipa-MSFT - I'm not working with a sample; I'm trying to implement SSO with my AI Teams app that is already up and running. As far as I can tell I've set it up in the same way as the teamsSSO bot sample and the docs (see above for my current configuration). Happy to provide any details that would help solve this. |
@c-nielson : I recommend to validate with the sample app(https://github.com/microsoft/teams-ai/tree/main/dotnet/samples/06.auth.teamsSSO.bot) and give your app registration values in the sample solution. It helps to confirm whether issue is from app configuration or from code. |
Closing as there is no activity, but you can reactivate if required. |
Hello, I'm having an issue implementing SSO authentication using Azure for my Teams AI bot.
I've set up both the bot and the app registration on Azure following documentation, and have set the Application ID URI to "api://botid-{appid}", and used this URI as the Token Exchange URL for my OAuth Connection in the bot configuration.
When I click "Test Connection" for the OAuth Connection it succeeds and I receive my token. However, when I run my bot locally and attempt to authenticate, I receive a 501 response in ngrok with the exact details in microsoft/botbuilder-dotnet#6824
Any suggestions or information on further troubleshooting would be appreciated.
The text was updated successfully, but these errors were encountered: