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
- Check the actual
Acceptvalue your client sends, including any default from your HTTP library. - Request a response format listed for the endpoint, or leave out
Acceptif you can use the endpoint's default format and the API doesn't require the header.