Files
developer.sailpoint.com/docs/tools/sdk/powershell/retries.md
darrell-thobe-sp 2cd5ccfc81 Prettified Code!
2024-04-18 10:31:05 +00:00

851 B

id, title, pagination_label, sidebar_label, sidebar_position, sidebar_class_name, keywords, description, slug, tags
id title pagination_label sidebar_label sidebar_position sidebar_class_name keywords description slug tags
powershell-sdk-retries Retries with the PowerShell SDK PowerShell SDK Retries 6 powershellsdk
powershell
sdk
retry
Learn how to configure retries using the PowerShell SDK in this guide. /tools/sdk/powershell/retries
SDK

The SDK supports retry logic in the case of an unexpected error. You have these two retry configuration options:

  • MaximumRetryCount - How many times to retry the request. Default is 10 retries.
  • RetryIntervalSeconds - How many seconds to wait between retries. Default is 5 seconds.

The following code will tell the SDK to retry 2 times after an unexpected error and wait 3 seconds between retries.

Set-DefaultConfiguration -MaximumRetryCount 2 -RetryIntervalSeconds 3