Forum Discussion
Andrew Grebennikov
Jun 27, 2022Copper Contributor
OAuthPrompt not shown up
Hello, couple days ago, I started facing an issue when I send OAuthPrompt card it's not shown up in the Teams conversations. It works fine when I use it in "Test in Web Chat" but not in real Team...
Sayali-MSFT
Microsoft
Jun 28, 2022Andrew Grebennikov-We are looking into this I will get back to you soon.
Andrew Grebennikov
Jun 28, 2022Copper Contributor
Please let me know if you need any additional details.
- Sayali-MSFTJun 29, 2022
Microsoft
Andrew Grebennikov -We are not able to repro the scenario,we are check this in teams it will show OAuth card in teams.
We are referring the below code-BotBuilder-Samples/Cards.cs at main ยท microsoft/BotBuilder-Samples (github.com)
Could you please share the repro steps/manifest, so that we can try it from our end?- Andrew GrebennikovJun 29, 2022Copper Contributor
Sayali-MSFT I attached manifest I'm using for testing. Before bot was using regular http responses so it was easy to find out possible reason of the issue. Where can I check what response was sent by the bot now? How can I debug that?
- Sayali-MSFTJul 04, 2022
Microsoft
Andrew Grebennikov -If you are building a standalone bot, enter the Application ID URI as
api://botid-{YourBotId}
. Here YourBotId is your Azure AD application ID.
Please check Azure Portal ->App Registration->Expose an API section bot id is same or not.
Please have look into this doc-Single sign-on support for bots - Teams | Microsoft DocsThanks,
Sayali
-----------------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link.