Intermittent latency with MS Graph API for retrieving profile image

Avishek Das 0 Reputation points
2023-02-10T04:56:58.94+00:00

Hi,

In our application we are getting the profile photo stored in MS AD useing MS graph API.

We are fetching the required token post which we are making the below API call to get the data -

https://graph.microsoft.com/v1.0/users/{individualId}/photo/$value

While for most of the call we are receiving response within 2 seconds but for very few we are experiencing delay of more than 9 seconds particularly for this photo API.

To put a number around the same for 1 out 10 request we are facing this issue.

Our application is hosted on cloud platform and we checked in the network log but was not able to find any clue there.

Here we would like to understand if anyone has faced similar issue and if you can provide any suggestions around it.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,674 questions
{count} votes