cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

how to use dummy image in Powerapps for users having no image in Office365 profile

Hi all,

Can any one suggest regarding how to add a dummy image in Office365user connector:

 

I use the following query in my Image but it throws an error for Users not having image in Office365 profile:

If(Office365Users.UserPhotoMetadata(Office365Users.MyProfile().Mail).HasPhoto=false,<<dummyImage>>,Office365Users.UserPhoto(Office365Users.MyProfile().Mail))

 

Kindly suugest for better alternatives.

2 REPLIES 2
Community Support Team
Community Support Team

Re: how to use dummy image in Powerapps for users having no image in Office365 profile

Hi,

 

The error you posted should be related to the Office 365 Service.

Currently there is no way to hide this error message.

 

Besides, I think the formula you posted should work.

 

Regards,

Michael

 

 

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Re: how to use dummy image in Powerapps for users having no image in Office365 profile

Hi Michael,

Thanks for your response.

 

But this code also throws the same error.

 

Kindly suggest!

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 186 members 5,536 guests
Please welcome our newest community members: