Skip to content

Conversation

@peombwa
Copy link
Member

@peombwa peombwa commented Oct 21, 2022

This PR closes #1106 by :

  • Adds Set-MgRequestContext and Get-MgRequestContext commands that can be used to manage the following propoerties in a given session:
    • RetryDelay - the waiting time in seconds before retrying a request with a maximum value of 180 seconds. This defaults to 3 seconds.
    • MaxRetry - the maximum number of retries for a request with a maximum value of 10. This defaults to 3.
    • RetriesTimeLimit - the maximum time in seconds allowed for request retries.
    • ClientTimeout - the HTTP client's timeout in seconds.
  • Adds RequestContext object to GraphSession object.

@peombwa peombwa marked this pull request as ready for review October 21, 2022 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Powershell Microsoft.Graph- How to set MaxRetry

3 participants