Share via

User Image fetched using Microsoft Graph client is getting cached

manojkumar r 1 Reputation point
2021-10-11T12:45:29.667+00:00

Hi,

I am using Microsoft graph client for fetching the logged In users picture and job title, where I can see the user profile picture is cached once I have done log out and logged In using a different Account on that time instead of fetching the new users picture it's getting the old user picture from the cache. But the job title is displaying correctly.

May I know how to avoid this caching of pictures?

Microsoft Security | Microsoft Graph

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.