Sep 03 2021 05:48 AM
Hi All,
Our application used to send notification as adaptive card, to MS Teams users via bot. The application has been developed through C#.
The button click should perform bot authentication.
We have created a button with the below code.
Actions =
{
new AdaptiveSubmitAction()
{
Type = AdaptiveSubmitAction.TypeName,
Title = "Click Here",
},
},
How to add the bot authentication on button click event of adaptive card?
Kindly suggest.
Sep 06 2021 12:25 AM - edited Sep 06 2021 12:26 AM
Sep 06 2021 12:25 AM - edited Sep 06 2021 12:26 AM
Solution@maheshkumargunasekaran Signin
action type initiates an OAuth flow that permits bots to connect with secure services.
Please follow below documentation to see how the flow works:
Microsoft Teams Authentication flow for bots - Teams | Microsoft Docs
You can share your Feedback/Escalate
Thanks,
Prasad Das
Teams Dev Community Response
Sep 06 2021 09:58 PM
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. Click here to escalate.
Sep 06 2021 12:25 AM - edited Sep 06 2021 12:26 AM
Sep 06 2021 12:25 AM - edited Sep 06 2021 12:26 AM
Solution@maheshkumargunasekaran Signin
action type initiates an OAuth flow that permits bots to connect with secure services.
Please follow below documentation to see how the flow works:
Microsoft Teams Authentication flow for bots - Teams | Microsoft Docs
You can share your Feedback/Escalate
Thanks,
Prasad Das
Teams Dev Community Response