Library version used
latest
.NET version
net 8
Scenario
ManagedIdentityClient - managed identity
Is this a new or an existing app?
This is a new app or experiment
Issue description and reproduction steps
ImdsManagedIdentitySource.s_cachedBaseEndpoint was never cleared by ApplicationBase.ResetStateForTest(), causing tests that modify AZURE_POD_IDENTITY_AUTHORITY_HOST to bleed their cached endpoint into subsequent tests.
Relevant code snippets
Expected behavior
No response
Identity provider
Microsoft Entra ID (Work and School accounts and Personal Microsoft accounts)
Regression
4.76.0
Solution and workarounds
add to reset cache
Library version used
latest
.NET version
net 8
Scenario
ManagedIdentityClient - managed identity
Is this a new or an existing app?
This is a new app or experiment
Issue description and reproduction steps
ImdsManagedIdentitySource.s_cachedBaseEndpoint was never cleared by ApplicationBase.ResetStateForTest(), causing tests that modify AZURE_POD_IDENTITY_AUTHORITY_HOST to bleed their cached endpoint into subsequent tests.
Relevant code snippets
Expected behavior
No response
Identity provider
Microsoft Entra ID (Work and School accounts and Personal Microsoft accounts)
Regression
4.76.0
Solution and workarounds
add to reset cache