-
Notifications
You must be signed in to change notification settings - Fork 380
Open
3 / 33 of 3 issues completedOpen
3 / 33 of 3 issues completed
Copy link
Description
MSAL client type
Managed identity
Problem statement
To improve observability and diagnostics for Managed Identity (MSI) in MSAL, propose adding additional client-side telemetry. This will provide insights into token acquisition patterns, environment detection, failure scenarios, and feature adoption.
- MSI Source Tracking : Capture which MSI source (IMDS, App Service, Service Fabric, AKS, IMDSv2, etc.) is being used.
- Token Revocation Events MSIv1 : Capture occurrences of bypass_cache=true to measure revocation triggers.
- Token Revocation Events MSIv2 : Capture occurrences of error_code to /credential endpoint to measure revocation triggers.
- Certificate Type Detection : – Identify if MSAL uses platform, developer-provided, or in-memory self-signed certificates.
- Failure Reasons : – MSI token acquisition failures (e.g., auth errors, network issues, 404s)
Proposed Solution
Add a counter MsalMsiCounter with tags
- MsiSource
- TokenType
- BypassCache
- CertType
- CredentialOutCome
- MsalVersion
- Platform
Failure reasons mentioned above are already captured in MsalFailedCounter
Alternatives
No response
Sub-issues
Metadata
Metadata
Assignees
Type
Projects
Status
Committed