microsoftgraph / microsoftgraph/msgraph-sdk-dotnet

How do I retrieve Location forwarding responses from Graph SDK calls?

Open
#3,172 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status:waiting-for-triage
Dominant language
C#
Stars
789
Forks
264
Avg merge
15h 17m
Merged PRs (30d)
3

Description

For example, according to this link:

https://learn.microsoft.com/en-us/graph/api/externalconnectors-externalconnection-patch-schema?view=graph-rest-1.0&tabs=http#response

I should receive a response like:

HTTP/1.1 202 Accepted
Location: https://graph.microsoft.com/v1.0/external/connections/contosohr/operations/616bfeed-666f-4ce0-8cd9-058939010bfc

But the SDK code is like this:

Microsoft.Graph.Models.ExternalConnectors.Schema response = await graph.Schema.PatchAsync(request);

Is there some way to get the Location header from the object?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No repository files or tests are named. Start by tracing the ExternalConnectors Schema PatchAsync call and its response handling, then compare that path with the documented 202 response and Location header. Done means establishing whether the SDK exposes this header and documenting or scoping the required change clearly.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.