cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
AGaudioASG
Level: Powered On

Office365User Photo works but still error?

unkerror.png

Here is my screen, Above is the formula I used which returned the correct image, but I cant figure out why I am getting an error and how to get rid of it. 

2 ACCEPTED SOLUTIONS

Accepted Solutions
Dual Super User
Dual Super User

Re: Office365User Photo works but still error?

I don't think you can do the comparison for the userphotometadata since its a value, not a property.  Try switching the order of your formula to this.

If(Office365Users.UserPhotoMetadata(ThisItem.OwnerEmail).HasPhoto,Office365Users.UserPhoto(ThisItem.OwnerEmail), SampleImage)


-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Community Support Team
Community Support Team

Re: Office365User Photo works but still error?

Hi @AGaudioASG ,

Could you please share a bit more about your scenario?

Do you display the User Profile photo based on the email?

 

Actually, it is an known issue with Office 365 Users connector. Please consider modify your formula as below:

If(
   Office365Users.UserPhotoMetadata(ThisItem.OwnerEmail).HasPhoto,
   Office365Users.UserPhoto(ThisItem.OwnerEmail),
   SampleImage
)

 

If the issue still exists, please consider turn on the "Formula-level error management" option within Advanced settings of App settings of your app, then re-load your app, check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Dual Super User
Dual Super User

Re: Office365User Photo works but still error?

I don't think you can do the comparison for the userphotometadata since its a value, not a property.  Try switching the order of your formula to this.

If(Office365Users.UserPhotoMetadata(ThisItem.OwnerEmail).HasPhoto,Office365Users.UserPhoto(ThisItem.OwnerEmail), SampleImage)


-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

Community Support Team
Community Support Team

Re: Office365User Photo works but still error?

Hi @AGaudioASG ,

Could you please share a bit more about your scenario?

Do you display the User Profile photo based on the email?

 

Actually, it is an known issue with Office 365 Users connector. Please consider modify your formula as below:

If(
   Office365Users.UserPhotoMetadata(ThisItem.OwnerEmail).HasPhoto,
   Office365Users.UserPhoto(ThisItem.OwnerEmail),
   SampleImage
)

 

If the issue still exists, please consider turn on the "Formula-level error management" option within Advanced settings of App settings of your app, then re-load your app, check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

AGaudioASG
Level: Powered On

Re: Office365User Photo works but still error?

your Answer worked! I did have to close all the way out of powerapps and reload. At first I just refreshed the page.

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (4,700)