Microsoft Deprecating ADAL June 2022
Issue
So, what is happening? Active Directory Authentication Library (ADAL) and the Azure AD Graph API will no longer respond to requests from Here is the initial announcement: Link
Here is the GitHub issue: Link
Why is this an issue?
If you check out the downloads of the ADAL package it is still being used extensively. The following link shows the graph of the last six weeks. https://www.nuget.org/stats/packages/Microsoft.IdentityModel.Clients.ActiveDirectory?groupby=Version
Yikes!
Any scripts or automation using the MSOnline PowerShell module will also break.
The MSOnline module has been deprecated for quite some time (a few years now), but not all the functionality has been migrated to the recommended modules. For example:
Regardless, there is a hard deadline, functionality or no.
So, what to do?
Solution
Determine Usage
First, how to determine what applications are using ADAL? Thankfully, Microsoft have provided some tools and guidance.
Get a complete list of apps using ADAL in your tenant
The article takes you through setting up capturing Azure AD activity sign-in logs and using a workbook to obtain a list of apps that are using ADAL in the tenancy.
Migrate
The previous article contains section for developers on how to update code to use the new MSAL libraries.
Guidance on on how to migrate from AAD Graph to Microsoft Graph is provided here: Azure Active Directory (Azure AD) Graph to Microsoft Graph migration FAQ
For the PowerShell MSOnline module, I am afraid there is no choice but to start using the Azure Active Directory PowerShell for Graph module, despite the lack of available features from the previous modules and that you have to work harder to get the same result
If you haven’t started checking your existing apps, sign-ins, scripts, functions, and other automation’s, I hope this helps get you motivated and started! This change will roll around fast.
Cheers!