Slow graph API response for user's phoneMethod endpoints

Bhushan Gawale 331 Reputation points
2022-09-28T13:13:39.997+00:00

We have an Azure Function App and have been using GraphServiceClient to interact with Azure AD b2c users and their Authentication Methods.

We've noticed that when we make a request to the APIs listed below, the response time is significantly longer, which is also inconsistent. It takes between 8 and 15 seconds for each api call.

We validated this with Microsoft Graph Explorer and saw roughly same API behavior. Response time is often slow.

To get more help, we opened a support case with Azure and were told that the product group had created a bug for this and would solve it later, but no more updates were provided.

Is anyone else seeing this and know of any viable workarounds?

Here is a list of specific APIs that are typically slow to respond.

Get phoneAuthenticationMethod -
GET /users/{userId | userPrincipalName}/authentication/phoneMethods/{phoneMethodId}

Update phoneAuthenticationMethod
PATCH /users/{id | userPrincipalName}/authentication/phoneMethods/{id}

Create phoneMethod
POST /users/{id | userPrincipalName}/authentication/phoneMethods

Community Center | Not monitored
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Alfredo Revilla - Upwork Top Talent | IAM SWE SWA 27,526 Reputation points Moderator
    2022-09-28T22:43:43.117+00:00

    Hello @Bhushan Gawale and thanks for reaching out. Please update your current support case or create a new Azure Support Request and mention you want the ticked assigned to me, Alfredo Revilla. I will be waiting for your confirmation.


Your answer

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