Skip to main content

Notifications

Copilot Studio - General
Answered

How get user email or identifier in copilot flow from team copilot bot when user send message ?

(0) ShareShare
ReportReport
Posted on by 37

Hi @HenryJammes Hope you doing well.
I have published Team channel on copilot flow so my chatbot is working but i need to get user email from team side i mena the user who is sending the query to copilot i want to log ,  is there any system variable that can get me user email?

thank you , 
@manuelstgomes  @abm @Michal 

Categories:
  • How get user email or identifier in copilot flow from team copilot bot when user send message ?
    Use Prebuilt entities.
  • Maxmellien Profile Picture
    Maxmellien 37 on at
    Re: How get user email or identifier in copilot flow from team copilot bot when user send message ?

    Sure i will remove this variable and directly pass to action node

    thank you

  • Pstork1 Profile Picture
    Pstork1 64,822 on at
    Re: How get user email or identifier in copilot flow from team copilot bot when user send message ?

    Thats the one, but you don't really need the set variable. You can just use the System variable directly like any other variable.  It won't work for all bots because it is dependent on Authentication. But it will work in Teams.

  • Maxmellien Profile Picture
    Maxmellien 37 on at
    Re: How get user email or identifier in copilot flow from team copilot bot when user send message ?

     Thank you @Pstork1  ,
    I found this 

    Maxmellien_0-1711570438025.png

     

  • Verified answer
    Pstork1 Profile Picture
    Pstork1 64,822 on at
    Re: How get user email or identifier in copilot flow from team copilot bot when user send message ?

    If you set the authentication under security to Teams then there will be a system variable generated by the bot called User.Email which will contain the user's email address.

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,495

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,822

Leaderboard