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(ThisItem.Email) ERROR

(0) ShareShare
ReportReport
Posted on by 4

Hello all 🙂

 

I'm trying to fix up a new error that appear recently in my app.

Office365Users.UserProfileV2(ThisItem.Email) show me up an error but it works let me explain.

This complete formula:

If(IsBlankOrError(ThisItem.Email), '585e4beacb11b227491c3399', If(Office365Users.UserPhotoMetadata(ThisItem.Email).HasPhoto=true, Office365Users.UserPhotoV2(ThisItem.Email), '585e4beacb11b227491c3399'))

 

The formula try to get the photo of each person and it works because the photo is showed correctly but when I open the app, two errors appear in the main page so it's a little bit annoying...

My first thought is related with permissions because the owner of the app is out of office so maybe that person has to refresh all the connections with Office365.

 

Any answers or thoughts would be reaaaaally appreciated 🙂 

 

Thanks in advance!!

Categories:
  • Verified answer
    PowerAddict Profile Picture
    7,316 Most Valuable Professional on at

    Hi @Vareto ,

    Try this: https://thepoweraddict.com/office365users-connector-get-rid-of-this-warning/

     

    ---
    If you like this reply, please give kudos (Thumbs Up). And if this solves your problem, please mark this reply as a solution by selecting Accept as Solution. This makes it easier for others to find answers to similar questions. 

     

    Thanks!

    Hardit Bhatia

    Microsoft Business Applications MVP

    Microsoft Certified Trainer MCT

    Blog | Twitter | LinkedIn | Facebook | YouTube  |  Email

  • Vareto Profile Picture
    4 on at

    Hello, it works (but the general photo that I selected is not showed correctly :l ).

    What happen with the Office365Users.UserProfileV2? Because I have some functions that failed with this formula when I try to get the name, email and data related to the user.

    For example:

    If(!IsBlankOrError(ThisItem.Email),Office365Users.UserProfileV2(ThisItem.Email).givenName & " is not a driver or owns a vehicle")

     

    Also has an error.

     

    Thanks for the quick answer!

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard