<PackageReference Include="Microsoft.Identity.Client" Version="4.83.4-preview1" />

Microsoft.Identity.Client.Http.Retry.HttpRetryConditions

static class HttpRetryConditions
public static bool DefaultManagedIdentity(HttpResponse response, Exception exception)

Retry policy specific to managed identity flow. Avoid changing this, as it's a breaking change.

public static bool Imds(HttpResponse response, Exception exception)

Retry policy specific to IMDS Managed Identity.

public static bool ImdsProbe(HttpResponse response, Exception exception)

Retry policy specific to Imds v1 and v2 Probe. Extends Imds retry policy but excludes 404 status code.

public static bool RegionDiscovery(HttpResponse response, Exception exception)

Retry policy specific to Region Discovery. Extends Imds retry policy but excludes 404 and 408 status codes.

public static bool Sts(HttpResponse response, Exception exception)

Retry condition for /token and /authorize endpoints