- azure-identity:
- 1.3.0:
- Notebook:
- 3.6:
Issue
from azure.identity import (ChainedTokenCredential, ManagedIdentityCredential,InteractiveBrowserCredential, DeviceCodeCredential)
credentials = [ManagedIdentityCredential()]
credentials.append(InteractiveBrowserCredential())
credentials.append(DeviceCodeCredential(AZURE_CLIENT_ID))
ChainedTokenCredential(*credentials).get_token(scope)
Doesn't work in compute vm that doesn't have managed identity. ChainedTokenCredential directly failed when call ManagedIdentityCredential.get_token, didn't try other methods.
Expected behavior
ManagedIdentityCredential should throw CredentialUnavailableError so that ChainedTokenCredential can catch it, and try the next one.
Screenshots
If applicable, add screenshots to help explain your problem.

Issue
Doesn't work in compute vm that doesn't have managed identity. ChainedTokenCredential directly failed when call ManagedIdentityCredential.get_token, didn't try other methods.
Expected behavior
ManagedIdentityCredential should throw CredentialUnavailableError so that ChainedTokenCredential can catch it, and try the next one.
Screenshots

If applicable, add screenshots to help explain your problem.