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

Community site session details

Session Id :
Power Apps - Building Power Apps
Suggested answer

How to get email address through id in the power app

(0) ShareShare
ReportReport
Posted on by 148
Hi,
 
There is column as CreatedBy(custom) which has user display Name.
 
Through flow I am able to get the id into the power app in the form of 
6b72523f-1584-f011-b4cc-000d3ab80c7d
 
But I am not able to get the email address using the id and I tried various methods i.e.
 
CreatedById:Text(app.CreatedById),
CreatedByEmailAddress: Office365Users.UserProfileV2(Text(app.CreatedById)).mail
 
Unfortunately I am receiving blank so please let me know if I am making any mistake here.
 
Regards,
 
Sudheer
Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    68,332 Most Valuable Professional on at
    How to get email address through id in the power app
    Is the column a Dataverse choice column?  That's what it looks like since you are getting a GUID which represents the option in the Option Set for the column.

    ----------------------------------------------------------------------------------
    If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!

    Paul Papanek Stork, MVP
    Blog: https://www.dontpapanic.com/blog
     
  • NS-10041416-0 Profile Picture
    148 on at
    How to get email address through id in the power app
    CreatedBy is a lookup column that has been mapped with CreatedBy(Delegate).
     
    Regards,
     
    Sudheer
  • Kushal_M Profile Picture
    64 on at
    How to get email address through id in the power app
     
    Try using GUID method instead of Text method to wrap the flow output of user guid and see if you get the email address from users table  or office 365 users .
     
    CreatedById:GUID(app.CreatedById),
    CreatedByEmailAddress: Office365Users.UserProfileV2(GUID(app.CreatedById)).mail
     
    Also, you can try the below workaround if the above didn't work.
     
    LookUp(
        Users,
        systemuserid = GUID(app.CreatedById),
        internalemailaddress
    )
     
    🏷️ Please tag me @Kushal_M, if you still have any queries related to the solution or issue persists.
    ❤️ Please consider giving it a Like, If the approach was useful in other ways.
     Please click Accept as solution if my post helped you solve your issue and help others who will face the similar issue in future.
  • Suggested answer
    Pstork1 Profile Picture
    68,332 Most Valuable Professional on at
    How to get email address through id in the power app
    'Created By (Delegate)' points to a record so you should be able to get the primary address using something like
     
    ThisItem.'Created By (Delegate)'.'Primary Email'
     
    But I'm not sure what you are using App. for in your code.  The creator of the app isn't surfaced by the app automatically.

    ----------------------------------------------------------------------------------
    If this Post helped you, please click "Does this answer your question" and give it a like to help others in the community find the answer too!

    Paul Papanek Stork, MVP
    Blog: https://www.dontpapanic.com/blog
     
     

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

Coming soon: forum hierarchy changes

In our never-ending quest to improve we are simplifying the forum hierarchy…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 651 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 385 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 230 Super User 2025 Season 2

Last 30 days Overall leaderboard