Skip to main content
Microsoft.Identity.Client package icon

Microsoft.Identity.Client

This package contains the binaries of the Microsoft Authentication Library for .NET (MSAL.NET). MSAL.NET makes it easy to obtain tokens from the Microsoft identity platform for developers (formally Azure AD v2.0) signing-in users with work & school accounts, Microsoft personal accounts and social identities Azure AD B2C. These tokens again access to Microsoft Cloud API and any other API secured by the Microsoft identity platform. 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.

Total Downloads
2.7B
2,685,190,050
Published
Jul 24, 2019
Latest stable version

Install

.NET CLI
dotnet add package Microsoft.Identity.Client --version 4.2.1
Package Manager Console
Install-Package Microsoft.Identity.Client -Version 4.2.1
PackageReference
<PackageReference Include="Microsoft.Identity.Client" Version="4.2.1" />

Frameworks

.NETFramework4.5 .NETStandard1.3 MonoAndroid9.0 UAP10.0 Xamarin.iOS1.0 Xamarin.Mac2.0 .NETCoreApp2.1

Dependencies

Microsoft.CSharp
.NETStandard1.3
[4.5.0, )
NETStandard.Library
.NETStandard1.3
[1.6.1, )
[4.3.0, )
[4.3.0, )
System.Dynamic.Runtime
.NETStandard1.3
[4.3.0, )
[4.3.0, )
[4.3.0, )
System.Xml.XDocument
.NETStandard1.3
[4.3.0, )
System.Xml.XmlDocument
.NETStandard1.3
[4.3.0, )
[4.3.0, )
[28.0.0.1, )
[28.0.0.1, )
[4.5.0, )
[4.3.0, )
[4.3.0, )
Microsoft.CSharp
Xamarin.iOS1.0
[4.5.0, )
[4.3.0, )
[4.3.0, )
[4.3.0, )
Microsoft.CSharp
.NETCoreApp2.1
[4.5.0, )
[4.3.0, )
[4.3.0, )
[4.3.0, )
[4.3.0, )
System.Xml.XDocument
.NETCoreApp2.1
[4.3.0, )

Adoption guide

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

NuGet marks this package as deprecated. Review the publisher's migration guidance before adopting it.

Compatibility metadata lists 7 target frameworks; confirm the exact target used by your application.

The published metadata declares 36 direct dependency entries across framework groups. Inspect the resolved dependency graph for your target framework.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.