web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Copilot Studio
Answered

Bot in teams

(0) ShareShare
ReportReport
Posted on by 27

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.

Categories:
I have the same question (0)
  • CU22081450-0 Profile Picture
    Most Valuable Professional on at

    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

  • tschen01 Profile Picture
    27 on at

    @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?

  • CU22081450-0 Profile Picture
    Most Valuable Professional on at

    @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.

  • tschen01 Profile Picture
    27 on at

    @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?

  • Verified answer
    CU22081450-0 Profile Picture
    Most Valuable Professional on at

    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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Mohsin Ali Profile Picture

Mohsin Ali 188

#2
Dua Sadiq Profile Picture

Dua Sadiq 125

#3
sannavajjala87 Profile Picture

sannavajjala87 101 Super User 2026 Season 2

Last 30 days Overall leaderboard