Microsoft.Identity.Client 2.0.0-preview

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
.NET Core 1.0 .NET Standard 1.3 .NET Framework 4.5
This is a prerelease version of Microsoft.Identity.Client.
There is a newer version of this package available.
See the version list below for details.

Requires NuGet 2.12 or higher.

dotnet add package Microsoft.Identity.Client --version 2.0.0-preview
NuGet\Install-Package Microsoft.Identity.Client -Version 2.0.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.Identity.Client" Version="2.0.0-preview" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Microsoft.Identity.Client --version 2.0.0-preview
#r "nuget: Microsoft.Identity.Client, 2.0.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.Identity.Client as a Cake Addin
#addin nuget:?package=Microsoft.Identity.Client&version=2.0.0-preview&prerelease

// Install Microsoft.Identity.Client as a Cake Tool
#tool nuget:?package=Microsoft.Identity.Client&version=2.0.0-preview&prerelease

MSAL makes it easy to obtain tokens from Azure AD v2 (work & school accounts, MSA) and Azure AD B2C, gaining access to Microsoft Cloud API and any other API secured by Microsoft identities. This version supports adding authentication functionality to your .NET based client on Windows desktop (.NET 4.5+), UWP, .NET Core, Xamarin iOS and Xamarin Android.

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-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 is compatible.  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.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. 
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)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (319)

Showing the top 5 NuGet packages that depend on Microsoft.Identity.Client:

Package Downloads
Microsoft.Data.SqlClient The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

The current data provider for SQL Server and Azure SQL databases. This has replaced System.Data.SqlClient. These classes provide access to SQL and encapsulate database-specific protocols, including tabular data stream (TDS). Commonly Used Types: Microsoft.Data.SqlClient.SqlConnection Microsoft.Data.SqlClient.SqlException Microsoft.Data.SqlClient.SqlParameter Microsoft.Data.SqlClient.SqlDataReader Microsoft.Data.SqlClient.SqlCommand Microsoft.Data.SqlClient.SqlTransaction Microsoft.Data.SqlClient.SqlParameterCollection Microsoft.Data.SqlClient.SqlClientFactory When using NuGet 3.x this package requires at least version 3.4.

Azure.Identity The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

This is the implementation of the Azure SDK Client Library for Azure Identity

Microsoft.Identity.Client.Extensions.Msal The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

This package contains the public client (desktop) caching to Microsoft Authentication Library for .NET (MSAL.NET)

Microsoft.Identity.Web.TokenCache The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

This package bring token cache serializers for MSAL.NET confidential client applications.

Microsoft.SqlServer.SqlManagementObjects The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

The SQL Server Management Objects (SMO) Framework is a set of objects designed for programmatic management of Microsoft SQL Server and Microsoft Azure SQL Database.

GitHub repositories (92)

Showing the top 5 popular GitHub repositories that depend on Microsoft.Identity.Client:

Repository Stars
unoplatform/uno
Build Mobile, Desktop and WebAssembly apps with C# and XAML. Today. Open source and professionally supported.
elsa-workflows/elsa-core
A .NET workflows library
git-ecosystem/git-credential-manager
Secure, cross-platform Git credential storage with authentication to GitHub, Azure Repos, and other popular Git hosting services.
Azure/azure-sdk-for-net
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 https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
xamarin/xamarin-forms-samples
Sample apps built using the Xamarin.Forms framework
Version Downloads Last updated
4.58.1 5,515 12/8/2023
4.58.0 55,143 11/29/2023
4.57.0 1,485,804 10/18/2023
4.56.0 6,087,410 9/6/2023
4.55.0 2,458,671 7/24/2023
4.54.1 9,915,792 5/24/2023
4.54.0 1,109,757 5/11/2023
4.53.0 2,610,396 4/14/2023
4.52.0 994,101 3/31/2023
4.51.0 1,892,176 3/16/2023
4.50.0 2,257,069 2/13/2023
4.49.1 25,418,183 12/20/2022
4.48.1 5,000,908 11/15/2022
4.48.0 1,397,183 11/2/2022
4.47.2 28,549,561 10/4/2022
4.47.1 1,096,539 9/21/2022
4.47.0 844,764 9/16/2022
4.46.2 878,378 8/29/2022
4.46.1 2,371,826 8/17/2022
4.46.0 16,956,042 8/4/2022
4.46.0-preview2 26,889 7/8/2022
4.45.0 43,875,013 6/23/2022
4.44.0 4,749,607 5/20/2022
4.43.2 961,194 5/2/2022
4.43.1 1,092,029 4/15/2022
4.43.0 1,155,531 4/6/2022
4.42.1 1,237,046 3/15/2022
4.42.0 13,079,264 2/28/2022
4.41.0 5,102,342 2/8/2022
4.40.0 3,199,049 1/8/2022
4.39.0 49,278,033 11/30/2021
4.38.0 1,104,784 11/19/2021
4.37.0 5,371,586 10/22/2021
4.37.0-preview 51,314 10/6/2021
4.36.2 2,220,951 9/29/2021
4.36.1 1,900,014 9/8/2021
4.36.0 1,156,351 8/31/2021
4.35.1 10,579,499 7/30/2021
4.35.0 1,531,050 7/23/2021
4.34.0 1,252,608 7/8/2021
4.33.0 3,367,018 6/22/2021
4.32.1 1,989,020 6/10/2021
4.32.0 522,237 6/3/2021
4.31.0 1,861,282 5/11/2021
4.30.1 61,636,511 4/28/2021
4.30.0 1,141,214 4/22/2021
4.29.0 3,171,254 3/30/2021
4.28.1 840,809 3/23/2021
4.28.0 192,044 3/18/2021
4.27.1 5,141 4/16/2021
4.27.0 1,429,276 2/19/2021
4.26.0 1,680,965 2/10/2021
4.25.0 2,340,406 1/20/2021
4.24.0 2,298,156 12/5/2020
4.23.0 2,009,696 11/24/2020
4.22.0 96,614,358 10/27/2020
4.21.1 107,923,042 10/20/2020
4.21.0 686,969 10/15/2020
4.20.1 424,226 10/14/2020
4.20.0 34,768 10/13/2020
4.20.0-wampreview1 7,929 9/30/2020
4.19.0 2,293,909 9/25/2020
4.18.0 1,424,395 9/2/2020
4.17.2 4,754 1/21/2021
4.17.1 1,290,789 8/5/2020
4.17.0 360,181 7/27/2020
4.16.1 7,028,401 7/10/2020
4.16.0 123,996 7/7/2020
4.15.0 1,213,566 6/18/2020
4.14.0 71,295,761 5/19/2020
4.13.0 734,344 5/5/2020
4.12.0 874,422 4/23/2020
4.11.0 887,740 4/3/2020
4.10.0 912,882 3/18/2020
4.9.0 3,410,896 3/6/2020
4.8.2 5,719,399 2/15/2020
4.8.1 504,483 1/29/2020
4.8.1-preview1 12,302 1/28/2020
4.7.1 1,537,999 11/22/2019
4.7.0 233,187 11/7/2019
4.6.0 839,023 11/4/2019
4.5.1 626,668 10/17/2019
4.5.0 52,896 10/16/2019
4.4.0 472,802 9/20/2019
4.3.1 660,929 8/27/2019
4.3.0 310,231 8/8/2019
4.2.1 186,586 7/24/2019
4.2.0 34,903 7/23/2019
4.1.0 13,923,912 7/2/2019
4.0.0 1,360,349 6/3/2019
3.0.9 41,559 7/31/2019
3.0.8 104,440,424 4/30/2019
3.0.6-preview 86,109 4/19/2019
3.0.5-preview 7,989 4/16/2019
3.0.4-preview 37,755 4/11/2019
3.0.3-preview 66,474 4/8/2019
3.0.2-preview 9,582 3/25/2019
3.0.1-preview 4,920 3/21/2019
3.0.0-preview 29,449 2/27/2019
2.7.1 857,232 2/21/2019
2.7.0 366,025 1/16/2019
2.6.2 165,646 12/20/2018
2.6.1 102,673 12/18/2018
2.6.0-preview 24,444 12/12/2018
2.5.0-preview 182,841 11/21/2018
2.4.1-preview 10,454 11/16/2018
2.4.0-preview 541,259 11/9/2018
2.3.1-preview 38,898 10/26/2018
2.3.0-preview 23,971 10/19/2018
2.2.1-preview 13,535 10/17/2018
2.2.0-preview 34,871 10/5/2018
2.1.0-preview 48,469 9/27/2018
2.0.1-preview 60,417 9/15/2018
2.0.0-preview 60,513 8/28/2018
1.1.4-preview0002 267,618 6/1/2018
1.1.3-preview0012 12,254 5/25/2018
1.1.2-preview0008 526,865 2/2/2018
1.1.1-preview0040 73,108 1/6/2018
1.1.0-preview 553,680 5/9/2017
1.0.304142221-alpha 448,230 4/15/2016
1.0.304142201-alpha 8,595 4/15/2016
1.0.303282006-alpha 10,057 3/29/2016