|
| 1 | +--- |
| 2 | +title: Azure Active Directory recommendation - Migrate from ADAL to MSAL | Microsoft Docs |
| 3 | +description: Learn why you should migrate from the Azure Active Directory Library to the Microsoft Authentication Libraries. |
| 4 | +services: active-directory |
| 5 | +author: shlipsey3 |
| 6 | +manager: amycolannino |
| 7 | +ms.service: active-directory |
| 8 | +ms.topic: reference |
| 9 | +ms.workload: identity |
| 10 | +ms.subservice: report-monitor |
| 11 | +ms.date: 03/15/2023 |
| 12 | +ms.author: sarahlipsey |
| 13 | +ms.reviewer: jamesmantu |
| 14 | + |
| 15 | +ms.collection: M365-identity-device-management |
| 16 | +--- |
| 17 | + |
| 18 | +# Azure AD recommendation: Migrate from the Azure Active Directory Library to the Microsoft Authentication Libraries |
| 19 | + |
| 20 | +[Azure AD recommendations](overview-recommendations.md) is a feature that provides you with personalized insights and actionable guidance to align your tenant with recommended best practices. |
| 21 | + |
| 22 | +This article covers the recommendation to migrate from the Azure Active Directory Library to the Microsoft Authentication Libraries. This recommendation is called `???` in the recommendations API in Microsoft Graph. |
| 23 | + |
| 24 | +## Description |
| 25 | + |
| 26 | +The Azure Active Directory Authentication Library (ADAL) is [currently slated for end-of-support](../fundamentals/whats-new.md#adal-end-of-support-announcement) on June 30th, 2023. We recommend that customers migrate to Microsoft Authentication Libraries (MSAL), which replaces ADAL. |
| 27 | + |
| 28 | +This recommendation shows up if your tenant has applications that still use ADAL. |
| 29 | + |
| 30 | +## Value |
| 31 | + |
| 32 | +MSAL is designed to enable a secure solution without developers having to worry about the implementation details. MSAL simplifies and manages acquiring, managing, caching, and refreshing tokens, and uses best practices for resilience. For more information on migrating to MSAL, see [Migrate applications to MSAL](../develop/msal-migration.md). |
| 33 | + |
| 34 | +Existing apps that use ADAL will continue to work after the end-of-support date. |
| 35 | + |
| 36 | +## Action plan |
| 37 | + |
| 38 | +The first step to migrating your apps from ADAL to MSAL is to identify all applications in your tenant that are currently using ADAL. You can run the following set of commands in Windows PowerShell or [view the Sign-ins Workbook in Azure AD](../develop/howto-get-list-of-all-active-directory-auth-library-apps.md). |
| 39 | + |
| 40 | +1. Open Windows Powershell as an administrator. |
| 41 | +1. Connect to Microsoft Graph: |
| 42 | + - `Connect-MgGraph-Tenant <YOUR_TENANT_ID>` |
| 43 | +1. Select your profile: |
| 44 | + - `Select-MgProfile beta` |
| 45 | +1. Get a list of your recommendations: |
| 46 | + - `Get-MgDirectoryRecommendation | Format-List` |
| 47 | + |
| 48 | +The steps to migrate from ADAL to MSAL vary depending on the type of application. For example, the steps for .NET and Python applications have separate instructions. For a full list of instructions for each scenario, see [How to migrate to MSAL](../develop/msal-migration.md#how-to-migrate-to-msal) |
| 49 | + |
| 50 | + |
| 51 | +## Next steps |
| 52 | + |
| 53 | +- [Review the Azure AD recommendations overview](overview-recommendations.md) |
| 54 | +- [Learn how to use Azure AD recommendations](howto-use-recommendations.md) |
| 55 | +- [Explore the Microsoft Graph API properties for recommendations](/graph/api/resources/recommendation) |
0 commit comments