cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
frmelo21
Regular Visitor

ShoutOut Powerapp issue with Profile PIctures

Hi everyone, my first post!

Regarding the shoutout powerapp, which is great by the way, i am getting the following error opening the app

 

Office365Users.UserPhotoMetadata failed: { "error": { "code": "ErrorItemNotFound", "message": "The photo wasn't found.", "innerError": { "request-id": "89cdda18-d053-4d78-853a-2495f7206b4e", "date": "2018-11-07T20:31:50" } } }

 

Based on my research it is recommended to use the UserprofileV2 command, which i did, but i am still gettin the errorl. I am aware that there are many users that prefer not to have a profile picture, so ignoring the error is not really what i want them to do.

 

Does anyone have a way to just suppress the error message? or how to fix it?

10 REPLIES 10
Powerapps_Dan
Helper I
Helper I

Hi @jcollins ,

 

I've been playing around with this and the following appears to have worked, haven't seen the error since. However I haven't had much success getting the placeholder default profile pic to appear if a user doesn't have a profile picture, currently it will just be blank. 

Under searchpersonscreen>ImageUser_1  select Image

 

 

If(!IsBlank(ThisItem.Id), Office365Users.UserPhotoV2(ThisItem.Id))

 

 

2021-06-18 09_16_46-Blue Bus Shoutouts - Saved (Unpublished) - Power Apps.png

 

 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,585)