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

[Bug] Managed Identity should respect source when retrying request, IMDS has more codes should retry #4998

Open
4gust opened this issue Nov 15, 2024 · 0 comments

Comments

@4gust
Copy link

4gust commented Nov 15, 2024

Library version used

4.66.0

.NET version

.NET 9

Scenario

ManagedIdentityClient - managed identity

Is this a new or an existing app?

This is a new app or experiment

Issue description and reproduction steps

For MI The application only retries on
404 or 408 or 429 or 500 or 503 or 504 these codes
but for IMDS only you need to try on more codes. More information here
https://learn.microsoft.com/en-gb/entra/identity/managed-identities-azure-resources/how-to-use-vm-token#error-handling

Relevant code snippets

No response

Expected behavior

No response

Identity provider

Other

Regression

No response

Solution and workarounds

No response

@4gust 4gust added needs attention Delete label after triage untriaged Do not delete. Needed for Automation labels Nov 15, 2024
@bgavrilMS bgavrilMS added bug P3 sdk-consistency and removed untriaged Do not delete. Needed for Automation needs attention Delete label after triage labels Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants