Announcements
Hi everyone
I have a gallery with users and their picture that I get from the office 365 user connector.
The problem is I would like to use a image placeholder for user that don't have a picture. Anyone that knows how I could do this?
Kind regards
Ryan
Hi Ryan,
so the Office365 user connector has a solution for this, the below formula should work:
If(Office365Users.UserPhotoMetadata(ThisItem.GlobalContact.Email).HasPhoto=false,SampleImage,Office365Users.UserPhoto(ThisItem.GlobalContact.Email))
where sample image is your replacement. the .HasPhoto appendage is really useful for stuff like this!
if this has solved your problem feel free to mark it as a solution 🙂
Worked like a charm. Thanks @Alex_Security
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 396 Most Valuable Professional
11manish 134 Super User 2026 Season 2
MS.Ragavendar 101 Super User 2026 Season 2