Notifications
Announcements
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.
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-node
@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.
@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!
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.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 255 Super User 2025 Season 2
Romain The Low-Code... 205 Super User 2025 Season 2
S-Venkadesh 101 Moderator