Hey all, I have been having some issues with the Teams PVA utilizing Azure AD v2 connection. I am able to sign in fine in the test bot, but once I deploy to production the signin button doesn't show up so users can't sign in to authenticate.
Test bot
Me: Hi
Bot: Hello! To be able to help you, I’ll need you to sign in.
Bot: To continue, please login <Login Button>
Published bot:
Me: Hi
Bot: Hello! To be able to help you, I’ll need you to sign in.
*Crickets*
Hi @smodderman ,
The authentication for PVA Teams bots is different.
Look at the documentation:
Bots created in Microsoft Teams come with authentication pre-configured to use Teams authentication.
You can also enable user authentication within a bot conversation so the bot can:
Add user authentication to chatbot topics in Microsoft Teams - Power Virtual Agents | Microsoft Docs
We are trying to use single sign on, and it does work when using the test bot window. the problem comes when we publish the test bot, the authenticate card doesn't run but the topic the authenticate card is in runs.
This works once azure ad v2 auth is setup
Same bot, but published conversations don't show the login button / won't login.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.