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

Unable to pull current users city

Hello,

 

I am trying to pull the current user's city using Office365Users.MyProfile().City but I am just getting a blank result. I am using this in a text field. Any Suggestions?

3 REPLIES 3
Community Support Team
Community Support Team

Re: Unable to pull current users city

Hi @J0hn ,

I've made a similar test and found that your formula is right.

My lable dislays the right informuation.10231.PNG

So, the most important thing is checking whether you've set your city in your azure ad.

This formula is used to display your profile in azure ad, not your current city.

You could check this here:

https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/Overview

Please enter your emial address here, and then you could view this user's profile.10232.PNG

 

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
J0hn
Level: Powered On

Re: Unable to pull current users city

I have checked that my profile is complete in both Office 365 and active directory. But am still getting a blank field. I will submit a case to Microsoft.

J0hn
Level: Powered On

Re: Unable to pull current users city

I have reviewed the information in AD and the city is in the profile. Any other suggestions?

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 (Last 30 Days)
Users online (5,664)