Loading...

Azure CLI migration from ADAL to MSAL

Azure CLI migration from ADAL to MSAL

With the release of version 2.30.0, we're excited to announce Azure CLI has completed the integration of Microsoft Authentication Library (MSAL) as the underlying authentication library! While there are a lot of new features to be announced during Ignite for Azure CLI, we wanted this post to focus on Azure migration from ADAL to MSAL. 

 

Right out of the gate, MSAL provides better security for token cache and support for federated tokens with the new --federated-token parameter in az login. The new authentication library isn't only for this latest release however. It will allow for improved security and user experience features in the future, like Continuous Access Evaluation (CAE) and proactive token renewal. For more information about the benefits of MSAL, check out the MSAL Migration doc.

 

Breaking Change!

 

Version 2.30.0 introduces a breaking change. Azure CLI no longer generates ~/.azure/accessTokens.json to store ADAL tokens and service principal entries. Any existing workflow depending on accessTokens.json will no longer work. For more information about this change, please check out the MSAL-based Azure CLI doc.

 

For install and update instructions, checkout the Azure CLI Install docs.

 

We're excited for this announcement as it's a big step toward the move from AD Graph to MS Graph and the continual growth for Azure CLI!

 

Let us know what you think in the comment section below and we look forward to hearing from you. 

 

Chase

Azure CLI PM

 

 

Published on:

Learn more
Azure Tools Blog articles
Azure Tools Blog articles

Azure Tools Blog articles

Share post:

Related posts

Fabric Mirroring for Azure Cosmos DB: Public Preview Refresh Now Live with New Features

We’re thrilled to announce the latest refresh of Fabric Mirroring for Azure Cosmos DB, now available with several powerful new features that e...

4 days ago

Power Platform – Use Azure Key Vault secrets with environment variables

We are announcing the ability to use Azure Key Vault secrets with environment variables in Power Platform. This feature will reach general ava...

4 days ago

Validating Azure Key Vault Access Securely in Fabric Notebooks

Working with sensitive data in Microsoft Fabric requires careful handling of secrets, especially when collaborating externally. In a recent cu...

5 days ago

Azure Developer CLI (azd) – May 2025

This post announces the May release of the Azure Developer CLI (`azd`). The post Azure Developer CLI (azd) – May 2025 appeared first on ...

5 days ago

Azure Cosmos DB with DiskANN Part 4: Stable Vector Search Recall with Streaming Data

Vector Search with Azure Cosmos DB  In Part 1 and Part 2 of this series, we explored vector search with Azure Cosmos DB and best practices for...

5 days ago
Stay up to date with latest Microsoft Dynamics 365 and Power Platform news!
* Yes, I agree to the privacy policy