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