Hi,
I cant seem to be able to work around an error that is received for the o365Users.UserPhoto data when an account is not active anymore. This is the syntax that I'm using:
If(!IsBlank(ThisItem.EmployeeEmail) && Office365Users.UserPhotoMetadata(ThisItem.EmployeeEmail).HasPhoto = true, Office365Users.UserPhoto(ThisItem.EmployeeEmail),'defaultimage')
I tried adding the .HasPhoto check but that also receives the error: Status 404 No user found with the specified id.
Does anyone have any solutions or work arounds?