cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Swathi_Nalla
Frequent Visitor

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
Community Champion
Community Champion

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.760 students) : English | Português

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Canadian Cloud 2022 768x460.png

Register for a free PVA chatbot creation workshop.

Learn how to respond rapidly to your customers and employees at scale, using intelligent conversational chatbots.

Top Kudoed Authors
Users online (2,401)