Graph API should return full content when Patching with Prefer header: return=representation

Graph API should return full content when Patching with Prefer header: return=representation
1

Upvotes

Upvote

 Mar 18 2023
0 Comments 
New

When patching a user (and probably many other things), the Graph API will always return 204 No Content, even when adding the header Prefer: return=representation.

This however is not following the OData specification.

This issue was started on GitHub here: https://github.com/microsoftgraph/msgraph-sdk-dotnet/issues/1682