I would like to do a PATCH against the Microsoft Graph API, e.g. https://graph.microsoft.com/v1.0/planner/tasks/{task-id}
Unfortunately, the Custom Connector wraps the If-Match Header in quotes which causes Graph to return a 412: "The If-Match header must be specified for this kind of request". This is the header that it generates:
{
"Authorization": "Bearer eyJ0eXA...",
"Content-type": "application/json",
"If-Match": "W/\\\"JzEtVGFza0Rld...TCc=\\\""
}In the Graph Explorer, if I wrap the If-Match Header value in quotes I repro the same result.
So, it looks like the root cause is the fact that the Custom Connector is wrapping the etag in quotes is the problem. I've tried all of the other data types for the Header values, and it wraps them all in quotes.
Seems a pretty basic thing to me (to do a PATCH to the Graph) - what am I missing please community!