Graph API | Users | 409

Abhay Chandramouli 966 Reputation points
2022-09-05T09:06:02.533+00:00

Hi,
I am trying to use graph api for user creation update and delete. /users (post patch get)

How can I replicate a 409 response ?

Also what responses can we get from /users ? I have seen the documentation already..for error response..

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

2 answers

Sort by: Most helpful
  1. Noel Kipyegon 1 Reputation point
    2022-09-05T12:04:51.937+00:00

    The Microsoft Graph Security API is a federated service that receives multiple responses from all data providers. When an HTTP error is received by the Microsoft Graph Security API, it will send back a warning header in the following format:

    {Vendor}/{Provider}/{StatusCode}/{LatencyInMs}

    Follow the following LINK

    0 comments No comments

  2. Zehui Yao_MSFT 5,826 Reputation points
    2022-09-08T02:33:42.083+00:00

    Hi @Abhay Chandramouli , you can refer to this documentation to learn about the cause of the 409 error.
    238788-image.png

    And I request the /users endpoint locally, It can respond normally. Would you mind sharing your error response? Then we can resolve the question through the error response. Best Regards.
    238835-untitled3.png


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    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.