Graph API | Users | 409

Abhay Chandramouli 641 Reputation points

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.
874 questions
Microsoft Graph Users API
Microsoft Graph Users API
A Microsoft API that allows you to build compelling app experiences based on users, their relationships with other users and groups, and the resources they access for example their mails, calendars, files, administrative roles, group memberships.
641 questions
No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Noel Kipyegon 1 Reputation point

    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:


    Follow the following LINK

  2. Zehui Yao_MSFT 3,796 Reputation points Microsoft Vendor

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

    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.

    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.