Microsoft.IdentityModel.Clients.ActiveDirectory 4.1.0-preview

The ID prefix of this package has been reserved for one of the owners of this package by Prefix Reserved
Suggested Alternatives


Additional Details

Please note, a newer package is available Microsoft.Identity.Client.
This package will continue to receive critical bug fixes until December 2022, we strongly encourage you to upgrade.
See for Migration guide and more details.

This is a prerelease version of Microsoft.IdentityModel.Clients.ActiveDirectory.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Microsoft.IdentityModel.Clients.ActiveDirectory --version 4.1.0-preview
NuGet\Install-Package Microsoft.IdentityModel.Clients.ActiveDirectory -Version 4.1.0-preview
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.IdentityModel.Clients.ActiveDirectory" Version="4.1.0-preview" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.IdentityModel.Clients.ActiveDirectory --version 4.1.0-preview
#r "nuget: Microsoft.IdentityModel.Clients.ActiveDirectory, 4.1.0-preview"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Microsoft.IdentityModel.Clients.ActiveDirectory as a Cake Addin
#addin nuget:?package=Microsoft.IdentityModel.Clients.ActiveDirectory&version=4.1.0-preview&prerelease

// Install Microsoft.IdentityModel.Clients.ActiveDirectory as a Cake Tool
#tool nuget:?package=Microsoft.IdentityModel.Clients.ActiveDirectory&version=4.1.0-preview&prerelease

This package contains the binaries of the Active Directory Authentication Library (ADAL). ADAL provides easy to use authentication functionality for your .NET based client by taking advantage of Windows Server Active Directory and Azure Active Directory.
     ADAL.NET enables you to acquire a security token to access protected Web APIs, for instance Microsoft Graph or your own Web API.
     ADAL.NET is built against multiple platforms, including .net desktop, .net standard, .net core, UWP, Xamarin iOS and Xamarin Android. It can  be called from applications and Web APIs (ASP.NET, .NET Core, ASP.NET Core) that call other Web APIs in the name of a user, or without a user.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.1 is compatible.  netstandard1.2 was computed.  netstandard1.3 is compatible.  netstandard1.4 was computed.  netstandard1.5 was computed.  netstandard1.6 was computed.  netstandard2.0 was computed.  netstandard2.1 was computed. 
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed.  monoandroid81 is compatible. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 is compatible. 
Windows Phone wpa81 was computed. 
Windows Store netcore was computed.  netcore45 was computed.  netcore451 was computed. 
Xamarin.iOS xamarinios was computed.  xamarinios10 is compatible. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (393)

Showing the top 5 NuGet packages that depend on Microsoft.IdentityModel.Clients.ActiveDirectory:

Package Downloads
Microsoft.Rest.ClientRuntime.Azure.Authentication The ID prefix of this package has been reserved for one of the owners of this package by

Provides ADAL based authentication for Azure management client libraries

MscrmTools.Xrm.Connection The ID prefix of this package has been reserved for one of the owners of this package by

Provides Winforms control to connect to Microsoft Dynamics CRM / 365 for Customer Engagement and Microsoft Dataverse deployments

Microsoft.AspNetCore.DataProtection.AzureKeyVault The ID prefix of this package has been reserved for one of the owners of this package by

Microsoft Azure KeyVault key encryption support. This library has been replaced by the following new Azure SDK. It is recommended that you move to the new package. This package was built from the source code at

Microsoft.CrmSdk.XrmTooling.CoreAssembly The ID prefix of this package has been reserved for one of the owners of this package by

This package contains the official Microsoft.Xrm.Tooling.Connector assembly and has been authored by the Microsoft Common Data Service SDK team.


Retired - please use PnP Framework ( going forward. Core CSOM extension methods for SharePoint Online add-in model development. This will increase productivity of the developers by abstracting complex operations.

GitHub repositories (93)

Showing the top 5 popular GitHub repositories that depend on Microsoft.IdentityModel.Clients.ActiveDirectory:

Repository Stars
This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at or our versioned developer docs at
Secure Git credential storage for Windows with support for Visual Studio Team Services, GitHub, and Bitbucket multi-factor authentication.
Orchard is a free, open source, community-focused Content Management System built on the ASP.NET MVC platform.
An extensible framework to audit executing operations in .NET and .NET Core.
Ethereum .Net cross platform integration library
Version Downloads Last updated
5.3.0 7,577,447 11/11/2022
5.2.9 40,399,839 3/17/2021
5.2.8 15,675,461 6/30/2020
5.2.7 10,489,749 2/14/2020
5.2.6 2,736,051 1/16/2020
5.2.5 1,210,549 12/13/2019
5.2.4 16,799,173 11/5/2019
5.2.3 1,376,923 10/14/2019
5.2.2 1,234,107 9/24/2019
5.2.1 1,210,871 8/30/2019
5.2.0 43,357,350 8/14/2019
4.5.1 8,150,991 2/8/2019
4.5.0 7,454,723 1/15/2019
4.4.2 1,095,409 12/14/2018
4.4.1 2,332,198 11/21/2018
4.4.0 615,784 11/9/2018
4.3.0 38,676,041 10/19/2018
4.2.0-preview 5,690 10/17/2018
4.1.0-preview 28,008 9/27/2018
4.0.0-preview 72,025 8/28/2018
3.19.8 27,012,472 6/15/2018
3.19.7 21,995 6/15/2018
3.19.6 2,905,695 5/23/2018
3.19.5 297,267 5/17/2018
3.19.4 4,432,881 4/20/2018
3.19.3 1,363,764 4/11/2018
3.19.2 2,194,449 3/2/2018
3.19.1 1,986,992 1/31/2018
3.19.0 270,536 1/27/2018
3.18.0 538,444 1/24/2018
3.17.3 1,146,442 12/19/2017
3.17.2 20,636,512 11/15/2017
3.17.1 347,474 11/2/2017
3.17.0 833,913 10/3/2017
3.16.1 1,110,165 9/5/2017
3.16.0 964,754 8/4/2017
3.14.2 85,162,191 7/21/2017
3.14.1 14,185,264 6/29/2017
3.14.0 3,557,359 6/26/2017
3.13.9 3,220,237 3/22/2017
3.13.8 2,187,647 12/2/2016
3.13.7 624,927 11/1/2016
3.13.6 11,346 11/1/2016
3.13.5 1,325,997 9/17/2016
3.13.4 276,735 8/24/2016
3.13.3 50,701 8/23/2016
3.13.2 33,801 8/18/2016
3.13.1 382,746 7/27/2016
3.12.0 411,973 7/11/2016
3.9.302261508-alpha 23,296 2/26/2016
3.9.302111717-alpha 10,762 2/12/2016
3.8.301280212-alpha 10,203 1/28/2016
3.7.301251358-alpha 4,963 1/26/2016
3.6.212041202-alpha 31,820 12/4/2015
3.6.212012344-alpha 5,239 12/2/2015
3.6.212011103-alpha 6,681 12/1/2015
2.29.0 870,204 8/22/2017
2.28.4 571,197 3/22/2017
2.28.3 1,604,948 11/18/2016
2.28.2 192,628 9/17/2016
2.28.1 278,946 7/27/2016
2.28.0 230,461 7/11/2016
2.24.304111323 574,588 4/11/2016
2.23.302261847 925,438 2/27/2016
2.22.302111727 2,796,118 2/12/2016
1.0.5 96,393 8/6/2014
1.0.4 23,072 6/4/2014
1.0.3 52,224 2/17/2014
1.0.2 25,697 10/15/2013
1.0.1 7,387 9/17/2013
1.0.0 66,405 9/7/2013