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 II
Super User II

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

Helpful resources

Announcements
March Update

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MSFTBizAppsLaunchEvent

Experience what’s next for Power Virtual Agents

See the latest Power Virtual Agents innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

New Super Users

Meet the Power Virtual Agents Community Super Users!

Congratulations to our Season 1 2021 Super User Crew!

Top Solution Authors
Users online (18,395)