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

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Office365Users.UserProfileV2 Not Working

Like (0) ShareShare
ReportReport
Posted on 19 Feb 2024 16:24:04 by 260

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

 

I have the same question (0)
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    on 20 Feb 2024 at 03:10:07
    Re: Office365Users.UserProfileV2 Not Working

    Hi @Sam70,

    Modfiy your formula as below:

    Concat(ForAll(ThisItem.'Auditor Name',Office365Users.UserProfileV2(Email).officeLocation),Value,",")
  • mmbr1606 Profile Picture
    13,535 Super User 2025 Season 2 on 19 Feb 2024 at 16:25:58
    Re: Office365Users.UserProfileV2 Not Working

    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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!