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*
Thanks, that worked!
Hi all,
SSO of a PVA bot deployed to Teams works with manual auth (AAD v2), but the catch I believe is to deploy it manually though the Teams zip file that contains the app manifest, not the one-click deployment option.
Let me know if that helps.
Henry
I have exactly same problem, can someone from @microsoft look into it?
I am experiencing this exact same issue.
No concrete resolution has helped
Aren't you already logged in automatically in Teams?
I may be off-base but I implemented the Teams channel for a PVA and enabled Security via Settings-Security-Authentication-Only for Teams.
Of course, this disables all other channels, I guess.
I'm having the same problem. Works on the web site against Azure AD, but not in teams. Just say I need to login, but doesn't give me a button or other options to do that.
Kind regards,
Charl Marais
@smodderman Did you find a solution to your problem? I am having the exact same problem.
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.
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
Michael E. Gernaey
2
Super User 2025 Season 1