Skip to main content

406 - Not Acceptable

The Accept header asks Microsoft Graph to return a response in a format the service doesn't support. This is about the response format, not the format of the body you send.

What to check​

  1. Check the actual Accept value your client sends, including any default from your HTTP library.
  2. Request a response format listed for the endpoint, or leave out Accept if you can use the endpoint's default format and the API doesn't require the header.

Official reference​

Microsoft Learn: Microsoft Graph HTTP status codes