In this blog you will understand all about how to connect Power apps with Office 365 Users connector? and how to display current user details in canvas app?.
Similar questions related to this post-
- How to Connect Power Apps to Office 365 Users Connector?
- Get current user details in Power Apps?
- How to show another user profile information in Canvas App?
- How to show current logged In user details in canvas app?
- Get logged In user full name, surname, email id, display name, image in Power apps.
- Office 365 Users Profile properties in Power Apps.
Let’s Get Started-
If you don’t know how to make canvas app then refer this post – Create Canvas App
Now in Canvas App go to Data tab> click on +Add Data > Search Office 365 users connector > Click on Office 365 users

PowerApps Office 365 users
Display current user profile data in Canvas App-
Add an image control for user profile photo and some Text label controls for other details

Insert Image & labels
Get user profile photo– to bind the user profile photo, go to the image property of Image and write the below formula-
Office365Users.UserPhotoV2(User().Email)

Get User profile photo powerapps
For user full name – Change the Text property of label to display name of users.
Office365Users.UserProfileV2(User().Email).displayName
Some more formula to get the profile information of current users-
Office365Users.UserProfileV2(User().Email).givenName
Office365Users.UserProfileV2(User().Email).surname
Office365Users.UserProfileV2(User().Email).jobTitle
Office365Users.UserProfileV2(User().Email).mail
Office365Users.UserProfileV2(User().Email).mobilePhone
Office365Users.UserProfileV2(User().Email).city
Office365Users.UserProfileV2(User().Email).state
Office365Users.UserProfileV2(User().Email).country
Office365Users.UserProfileV2(User().Email).postalCode
Office365Users.UserProfileV2(User().Email).officeLocation
Office365Users.UserProfileV2(User().Email).streetAddress

Office 365 users formula power apps
How to show another user profile information in Canvas App-
Add one Text Input control in canvas app and enter an email address of a user in your organization.
After that add an image and some labels to show the another user information and write below formula on image and labels property-
Office365Users.UserPhotoV2(TextInput1.Text)
Office365Users.UserProfile(TextInput1.Text).City
Office365Users.UserProfile(TextInput1.Text).CompanyName
Office365Users.UserProfile(TextInput1.Text).Country
Office365Users.UserProfile(TextInput1.Text).Department
Office365Users.UserProfile(TextInput1.Text).DisplayName
Office365Users.UserProfile(TextInput1.Text).GivenName
Office365Users.UserProfile(TextInput1.Text).Id
Office365Users.UserProfile(TextInput1.Text).JobTitle
Office365Users.UserProfile(TextInput1.Text).Mail
Office365Users.UserProfile(TextInput1.Text).mobilePhone
Office365Users.UserProfile(TextInput1.Text).OfficeLocation
Office365Users.UserProfile(TextInput1.Text).PostalCode
Office365Users.UserProfile(TextInput1.Text).Surname
Office365Users.UserProfile(TextInput1.Text).TelephoneNumber
Office365Users.UserProfile(TextInput1.Text).UserPrincipalName
Office365Users.UserProfile(TextInput1.Text).AccountEnabled

Get another user details power apps
Refer more Power Apps post- Microsoft Power Apps
Hope you enjoyed the post. Your valuable feedback, question, or comments about this post are always welcome.