cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ahockaday
Level: Powered On

How can I retrieve the values from the "City" and "Company" fields in AD?

I am creating an app that displays employee profile data and I am trying to display the vaue that is stored in the "Company" and "City" fields in AD. How would I do that? 

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: How can I retrieve the values from the "City" and "Company" fields in AD?

Please take use of the Office 365 Users connection, which will bring the City and the Company field.

For more details, see:

Connect to Office 365 Users Connection from PowerApps

 

For example, to get the current sign in user City information, with the Text Preperty of the Label control, enter the following:

Office365Users.MyProfile().City

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Community Support Team
Community Support Team

Re: How can I retrieve the values from the "City" and "Company" fields in AD?

Please take use of the Office 365 Users connection, which will bring the City and the Company field.

For more details, see:

Connect to Office 365 Users Connection from PowerApps

 

For example, to get the current sign in user City information, with the Text Preperty of the Label control, enter the following:

Office365Users.MyProfile().City

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 301 members 5,938 guests
Please welcome our newest community members: