Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Copilot Studio - General
Unanswered

Power Virtual Agents - Retrieve User profile from Teams

(0) ShareShare
ReportReport
Posted on by 6

Hello, 

I have a question about authentication in Power virtual agents,

After deploying PVA bot to teams, 

I'm not able to get the user details who are interacting with the chat bot, There are some blogs suggesting for SSO and end user authentication(O365/Azure AD) but I want to access the user information from teams itself.

Is there any other way to retrieve the UserName/Email from Teams without user interaction. 

 

 

Thanks,

Swathi

  • CU22081450-0 Profile Picture
    Most Valuable Professional on at
    Re: Power Virtual Agents - Retrieve User profile from Teams

    Hi @Swathi_Nalla ,

     

    Now it's available to use SSO with Microsoft Teams in Public You can now configure your bots to automatically use Teams’ authentication, so their end users don’t have to sign-in when chatting with a PVA bot in the Teams channel, streamlining the user’s experience.

    Power Virtual Agents support for Teams channel Single Sign-on is available in Public Preview | Microsoft Power Virtual Agents

  • Swathi_Nalla Profile Picture
    6 on at
    Re: Power Virtual Agents - Retrieve User profile from Teams

    Thanks for the reply!

    I implemented the same for my bot (End user authentication)

    But here as we deploy the bot to teams, it should already have all the user information. So, i want to get it from there and don't want to explicitly have that login button and  ask the user to authenticate again.

     

    Thanks,

    Swathi

  • cabata Profile Picture
    314 Most Valuable Professional on at
    Re: Power Virtual Agents - Retrieve User profile from Teams

    hi @Swathi_Nalla  this video could help you 😉

     

    https://www.youtube.com/watch?v=Zd9mi88V91Q

     

    or this post

    https://powerusers.microsoft.com/t5/General/Retrieve-powerapp-portal-username-into-BOT/m-p/536862

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Copilot Studio - General

#1
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 25

#1
Pablo Roldan Profile Picture

Pablo Roldan 25

#3
stampcoin Profile Picture

stampcoin 10

Overall leaderboard