Hi
Have you checked the result running below command, does this command return any result?
Get-UserPhoto -Identity "user1@contoso.com"
You could take a look at the thumbnailPhoto attribute of the user in on-prem AD
Open the Active Directory Users and Computers tool and make sure that Advanced Features options on the View menu is checked.
Right click the user and select the properties, then select the attribute Editor tag, check if the thumbnailPhoto attribute shows any value. If you see <not set>, it means there is no photo configured.
And where did you see the photo, could you please try clearing the browser cache or restarting your software, then verify the result again?
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.