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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Office365Users.UserPho...
Power Apps
Unanswered

Office365Users.UserPhotoMetadata (Error Message)

(0) ShareShare
ReportReport
Posted on by 2,563

Hi

 

This is currently working in my old application, but creating a new today I get this error. Now I have tested removing the connector and adding it again, still same issue, I don't have this issue in my old application running the same code, everything works but it displays the error message on all users now.

I'm just displaying the user profile picture of who created the Item in a SharePoint list.

 

If(
!IsBlank(ThisItem.'Requested By'.Email),
If(
Office365Users.UserPhotoMetadata(ThisItem.'Requested By'.Email).HasPhoto,
Office365Users.UserPhotoV2(ThisItem.'Requested By'.Email),
SampleImage
),
SampleImage
)

Error Message

errorCode\EnterpriseEntityNotFound\",\r\n\message\":\Accessing identity not consumer, so async provisioning of mailbox (a.ka.a. 'shard') for target identity was aborted

 

Categories:
I have the same question (0)
  • Himanshu_90677 Profile Picture
    416 on at

    If(!Isblank(ThisItem.'Created by'.Email), if(office365users.userphotometadata(ThisItem.'Createdby'.Email).Hasphoto,Office365users.userphotoV2(ThisItem.'Created by' .Email), SampleImage)

  • JimmyW Profile Picture
    2,563 on at

    @Himanshu_90677 Thank you for answering but this would result in the same error and by not adding the second SampleImage part you will get another error if the user does not have an image.

    And your code generates the same error for me. Issues with the UserPhotoMetaData that will generate the error

     

    Again my code is working in old apps not an issue

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard