cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
tschen01
Helper I
Helper I

Bot in teams

If I publish a bot in teams would the bot know the person it is talking to? Like will it be able to get their information without making them login? How would I do that?

The team I have is made through Azure directory.

1 ACCEPTED SOLUTION

Accepted Solutions

Exactly, @tschen01!

 


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

View solution in original post

5 REPLIES 5
renatoromao
Super User
Super User

Hi @tschen01 ,

 

You can get the user information only using the authentication feature.

https://docs.microsoft.com/en-us/power-virtual-agents/advanced-end-user-authentication

 

But using the Teams you have a benefit that the user does not require to enter a validation code.

https://docs.microsoft.com/en-us/power-virtual-agents/advanced-end-user-authentication#authenticate-...


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

@renatoromao 
Thank you! So does that mean i dont need the authenticate node. I just need to check the isLoggedIn token and if teams they should be logged in?

@tschen01 ,

 

No, in this documentation explains about when you use the Authentication node, the user doesn't need to copy/paste the code generated when the user clicks on the button because inside the Teams is different the behavior.

 

Once the user enters their username and password in the prompt (hosted by the identity provider), they might be prompted to enter a validation code, depending on the channel. Some channels, such as Microsoft Teams, do not require the user to enter a validation code.


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

@renatoromao 

ok, thats what i thought. I'm guessing there is no way to know who the user is talking to the bot without them first logging in?

Exactly, @tschen01!

 


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

View solution in original post

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.

Top Solution Authors
Users online (1,099)