Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Show response headers for long running operations  #360

Open

Description

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

Activity

  1. added
    bug
    enhancement
    on Oct 3, 2023
  2. timayabi2020 commented on Feb 19, 2024

    @timayabi2020
    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

  3. calebkiage commented on Feb 19, 2024

    @calebkiage
    Contributor

    Tim (@timayabi2020), this is the CLI repository

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugenhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions