Get office 365 User Email Address PowerApps
Implementation Steps:
- Login in to https://make.powerapps.com
- Create or Open Existing Application
- Add Office365User Datasource
- Now Add a text field to Populate some details from Office 365.
- How to Get user Email ?
User().Email //Using this syntax we can get email address of user
- 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 🙂
*This post is locked for comments