microsoftgraph / microsoftgraph/msgraph-sdk-dotnet
How do I retrieve Location forwarding responses from Graph SDK calls?
Open
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:
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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