cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Swathi_Nalla
New Member

Power Virtual Agents - Retrieve User profile from Teams

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

3 REPLIES 3
ChristianAbata
Super User
Super User

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



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

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

renatoromao
Super User
Super User

Hi @Swathi_Nalla ,

 

Now it's available to use SSO with Microsoft Teams in Public Preview. 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 | Micro...


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.650 students) : English | Português

Helpful resources

Announcements
Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Center-of-Excellence-Starter-Kit-cropped 768x460.png

The Total Economic Impact™ of Power Virtual Agents

Read this 2021 commissioned study, conducted by Forrester Consulting.

Top Solution Authors
Users online (1,831)