Skip to main content

Notifications

Get office 365 User Email Address PowerApps

Implementation Steps:

 

  1. Login in to https://make.powerapps.com
  1. Create or Open Existing Application
  1. Add Office365User Datasource

 

DeviKrishna_0-1649757341191.png

 

  1. Now Add a text field to Populate some details from Office 365.
  1. How to Get user Email ?

                 User().Email  //Using this syntax we can get email address of user

  1. How we can get the Office 365 user Details from PowerApps?
First(Office365Users.SearchUser({searchTerm:User().Email})).UserPrincipalName) // Get User PrincipalName

First(Office365Users.SearchUser({searchTerm:User().Email})).DisplayName) // Get User Display Name

First(Office365Users.SearchUser({searchTerm:User().Email})).Mail) // Get User Mail

First(Office365Users.SearchUser({searchTerm:User().Email})).City) // Get User City

 

Above i have provided some sample details, you can get more details too 🙂

 

Comments

*This post is locked for comments