cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Jason_Hough
Resolver I
Resolver I

Azure AD get user information like location / manager

Hi All, 

 

I know how to get use Get.User() in Powerapps - but I need to go further. 

I need to get Location / Manager informnation from Azure AD. 

I can see we have an Azure AD connector available but we cannot get this sort of information (unless I am mistaken). Can you advice please ? I dont really want to make an API. Any information would be great. 

 

thanks 

 

Jason 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Perfect Micheal, 

So I used Azure.AD.GetUser(User().Email).officeLocation - worked a treat 🙂

View solution in original post

2 REPLIES 2
v-micsh-msft
Community Support
Community Support

Hi @Jason_Hough,

 

Then please take a look at the Offie365Users connector:

Office 365 Users connection in PowerApps

 

You should be able to get the Manager information through the function:

Office365Users.Manager()

 

For Location, if you would like to get the office location, then Add teh AAD connection, and use the function below:

AzureAD.GetUser("User-Email-Address").officeLocation

 

To get the actual user location, use the Location function described in the article below:

Acceleration, App, Compass, Connection, and Location signals in PowerApps

 

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.

Perfect Micheal, 

So I used Azure.AD.GetUser(User().Email).officeLocation - worked a treat 🙂

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,688)