Skip to content

PBI Visuals

Power BI Visuals & Power Apps
  • Home
  • Power Apps
  • Power BI
  • Power BI Visuals
  • Power BI Custom Visuals
  • About

PBI Visuals

Power BI Visuals & Power Apps
  • Home
  • Power Apps
  • Power BI
  • Power BI Visuals
  • Power BI Custom Visuals
  • About
Home » Power Apps » Power Apps Get Current User Details – Office 365 Users

Power Apps Get Current User Details – Office 365 Users

  • by Sandeep Raturi
  • Power Apps

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-

  1. How to Connect Power Apps to Office 365 Users Connector?
  2. Get current user details in Power Apps?
  3. How to show another user profile information in Canvas App?
  4. How to show current logged In user details in canvas app?
  5. Get logged In user full name, surname, email id, display name, image in Power apps.
  6. 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

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

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

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

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

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.

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Telegram (Opens in new window)
  • Click to share on WhatsApp (Opens in new window)
  • Click to email a link to a friend (Opens in new window)
Tags:Office 365 users Profile PowerAppsConnect to Office 365 Users connection from Power AppsOffice365Users.UserProfileDisplay Office 365 User Profile details in PowerAppsHow to show another user profile information in Canvas App?PowerApps get current user DetailsHow PowerApps Get Current User Details?PowerApps - How To Get Current Logged In User Details In Power Apps?Office365Users PowerAppsShow the current user in PowerAppsHow to fetch current user's details in Power Apps?UserProfile Function in PowerAppsSandeep Raturi Power AppsConnect Power Apps to Office365UsersGet Current User Details in Power Apps- Office 365 users

Leave a Reply Cancel reply

previousPower Apps Variables
nextCreating Rounded Images in PowerApps

Search in this Blog

Categories

  • Power Apps (10)
  • Power BI Visual (16)
  • Power BI Custom Visual (16)
  • Power BI (33)

Power Apps

  • What are canvas apps?
  • Create a canvas app in Power Apps
  • Connect to SQL Server from Power Apps
  • Connect a SharePoint List to Power Apps
  • Power Apps Delegation
  • Power Apps Variables
  • Component In Power Apps
  • Power Apps Get Current User Details – Office 365 Users
  • Creating Rounded Images in PowerApps
  • Highlight Selected Row in Power Apps Gallery

Translate

Blog Stats

  • 130,237 hits

Follow Blog via Email

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 4 other subscribers

Page Links

  • About
  • Contact
  • Power Apps
  • Power BI
  • Power BI Custom Visuals
  • Power BI Visuals
  • Privacy Policy

Follow Us

  • Facebook

Top Posts & Pages

  • Power BI - Sorting data by a column not shown in visual
  • Enable Load & Include In Report Refresh in Query Editor
  • Creating a Table in Power BI
  • Infographic Designer custom visual
  • How to add Custom Icons in Power BI conditional formatting

@PBI Visuals - 2023

 

Loading Comments...