We're using a PowerShell script to update Teams/Outlook user profile pictures via
Set-UserPhoto. Unfortunately, all too often users report that they don't update for them or others. We've identified that this is usually due to the Teams desktop client's cache. Clearing it solves the issue.
The Teams client also caches general user information locally. Some data, such as display name and telephone number, can be cached up to 28 days in the client. Profile photos can be cached up to 60 days.
This is unsatisfactory. Do you know of a way to not have to do this?