web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Office365Users.UserPro...
Power Apps
Answered

Office365Users.UserProfileV2 Not Working

(0) ShareShare
ReportReport
Posted on by 273

Hi,

 

I have populated multiple person type data in a gallery by using the below formula -

Concat(ThisItem.'Auditor Name',Email,Char(10)).

 

I need to get the office location from the output of the above formula. I tried using Office365Users.UserProfileV2(x).officeLocation but not getting the desired result. What formula i need to put in place of x?

 

Regards

 

Categories:
I have the same question (0)
  • mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 on at

    hey @Sam70 

     

    can you please try this:

     

    Office365Users.UserProfileV2(ThisItem.Email).officeLocation
    

     

    Let me know if my answer helped solving your issue.

    If it did please accept as solution and give it a thumbs up so we can help others in the community.



    Greetings

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @Sam70,

    Modfiy your formula as below:

    Concat(ForAll(ThisItem.'Auditor Name',Office365Users.UserProfileV2(Email).officeLocation),Value,",")

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 541

#2
WarrenBelz Profile Picture

WarrenBelz 434 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 289

Last 30 days Overall leaderboard