MSAL client type
Confidential
Problem Statement
MSAL client type
Managed identity
Problem statement
The Azure ML Managed Identity API is not the same as the App Service 2017-09-01 API, requiring explicit support to accommodate its unique authentication flow.
Key Differences
-
Expiration Time Format
- The
expires_on field is returned as an integer, whereas App Service returns it as a string.
- The implementation must correctly handle integer-based expiration times
-
Mandatory clientid Parameter
- Unlike App Service, all token requests must specify a
clientid, even for system-assigned managed identities.
- The platform provides a default client ID via the environment variable:
DEFAULT_IDENTITY_CLIENT_ID
- The system should default to this environment variable when no client ID is explicitly provided.
Proposed solution
Proposed solution
Add explicit support for the Azure ML Managed Identity API in MSAL.
MSAL client type
Confidential
Problem Statement
MSAL client type
Managed identity
Problem statement
The Azure ML Managed Identity API is not the same as the App Service 2017-09-01 API, requiring explicit support to accommodate its unique authentication flow.
Key Differences
Expiration Time Format
expires_onfield is returned as an integer, whereas App Service returns it as a string.Mandatory
clientidParameterclientid, even for system-assigned managed identities.DEFAULT_IDENTITY_CLIENT_IDProposed solution
Proposed solution
Add explicit support for the Azure ML Managed Identity API in MSAL.