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 :
Power Platform Community / Forums / Copilot Studio / Retrieve email address...
Copilot Studio
Answered

Retrieve email address from authenticated user profile

(1) ShareShare
ReportReport
Posted on by 10

Hi Everyone,

I have a question that I'm sure other people would have but I can't find it asked anywhere...

I have a PVA bot published through Teams with "Teams only" authentication turned on. It's great that the bot can already detect who it is speaking to, I just want the bot to be able to know the email address of the person it is talking to so when it needs to send an email to the person, it doesn't have to ask.

 

TLDR:

Does anyone know how to retrieve the email address of the authenticated user and store as a variable? 

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

    Hi @Mitbro ,

     

    Today, the authentication return back only UserDisplayName and UserID inside the Teams.

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

     

    If you want to improve and get more details about this current user, you need to follow the steps below:

     

    1- Create an action inside your Greeting topic or another topic that you want

    2- Connect this action with a new workflow inside the Power Automate

    3- Inside your Power Automate workflow, get the User data using the Microsoft Graph

    You can understand better inside these articles:

    https://powerusers.microsoft.com/t5/Connecting-To-Data/Can-I-access-Microsoft-Graph-API-via-Flow-HTTP-connector-with/td-p/105847

    https://social.technet.microsoft.com/wiki/contents/articles/53583.power-automate-flow-calling-ms-graph-api.aspx  

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Valantis Profile Picture

Valantis 820

#2
Vish WR Profile Picture

Vish WR 327

#3
Haque Profile Picture

Haque 296

Last 30 days Overall leaderboard