Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show response headers for long running operations #360

Open
CarolKigoonya opened this issue Oct 3, 2023 · 2 comments
Open

Show response headers for long running operations #360

CarolKigoonya opened this issue Oct 3, 2023 · 2 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@CarolKigoonya
Copy link
Contributor

For long running operations, such as creating an external connection schema, we need to return the location header which allows users to check the operation state. Right now, we don’t return any information which makes it impossible for users to check the operation status, because the link to check the operation state is returned only once and there’s no other way to construct or retrieve it.

Screenshot (248)

In the PowerShell SDK the current recommendation is to use Invoke-MgGraphRequest microsoftgraph/msgraph-sdk-powershell#1452

@CarolKigoonya CarolKigoonya added bug Something isn't working enhancement New feature or request labels Oct 3, 2023
@timayabi2020 timayabi2020 self-assigned this Feb 9, 2024
@timayabi2020
Copy link
Contributor

With the latest release the response headers have been deserialized and can the individual header params can be accessed via a hashtable.
In this case one can retrieve the location header.
image

@calebkiage
Copy link
Collaborator

@timayabi2020, this is the CLI repository

@calebkiage calebkiage reopened this Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants