![]() |
VOOZH | about |
dotnet add package Microsoft.Identity.Client --version 4.84.2
NuGet\Install-Package Microsoft.Identity.Client -Version 4.84.2
<PackageReference Include="Microsoft.Identity.Client" Version="4.84.2" />
<PackageVersion Include="Microsoft.Identity.Client" Version="4.84.2" />Directory.Packages.props
<PackageReference Include="Microsoft.Identity.Client" />Project file
paket add Microsoft.Identity.Client --version 4.84.2
#r "nuget: Microsoft.Identity.Client, 4.84.2"
#:package Microsoft.Identity.Client@4.84.2
#addin nuget:?package=Microsoft.Identity.Client&version=4.84.2Install as a Cake Addin
#tool nuget:?package=Microsoft.Identity.Client&version=4.84.2Install as a Cake Tool
The MSAL library for .NET is part of the Microsoft identity platform for developers (formerly named Azure AD) v2.0. It enables you to acquire security tokens to call protected APIs. It uses industry standard OAuth2 and OpenID Connect. The library also supports Azure AD B2C.
Quick links:
| Conceptual documentation | Getting Started | Sample Code | API Reference | Feedback |
|---|
See for details.
The following table lists MSAL.NET versions currently supported and receiving security fixes.
| Major Version | Last Release | Patch Release Date | Support Phase | End of Support |
|---|---|---|---|---|
| 4.x | 👁 NuGet |
Monthly | Active | Not planned.<br/>✅Supported versions: from 4.77.1 to 👁 NuGet <br/>⚠️Unsupported versions < 4.77.1. |
Our documentation describes the approach to performance testing.
View some of the historical performance benchmark results in our dashboard.
MSAL.NET became Generally Available with MSAL.NET 3.0.8. Since MSAL.NET moved to version 4:
Note Minor versions include bug fixes or features with non-breaking (additive) API changes. It is expected that applications using the library can upgrade through the IDE or CLI with no friction. We will not patch old minor versions of the library. When opening new issues, please confirm that you are using the latest minor version.
You can file new issues in this repository.
We use Stack Overflow with the community to provide support. We highly recommend you ask your questions on Stack Overflow first and browse existing issues to see if someone has asked your question before.
If you find a bug or have a feature request, please raise the issue on .
We welcome contributions and feedback. You can fork and clone the repo and start contributing now. Read our for more information.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact with any additional questions or comments.
This library controls how users sign-in and access services. We recommend you always take the latest version of our library in your app when possible. We use semantic versioning so you can control the risk associated with updating your app. As an example, always downloading the latest minor version number (e.g. x.y.z) ensures you get the latest security and feature enhancements but our API surface remains the same. You can always see the latest version and release notes under the Releases tab of GitHub.
If you find a security issue with our libraries or services please report it to https://msrc.microsoft.com/report/vulnerability in as much detail as possible. Your submission may be eligible for a bounty through the Microsoft Bug Bounty program. Please do not post security issues to GitHub Issues or any other public site. We will contact you shortly after receiving the information. We encourage you to get notifications of when security incidents occur by visiting the Microsoft Technical Security Notifications page and subscribing to Security Advisory Alerts.
The software may collect information about you and your use of the software and send it to Microsoft. Microsoft may use this information to provide services and improve our products and services. You may turn off the telemetry as described in the repository. There are also some features in the software that may enable you and Microsoft to collect data from users of your applications. If you use these features, you must comply with applicable law, including providing appropriate notices to users of your applications together with a copy of Microsoft's privacy statement. Our privacy statement is located at https://go.microsoft.com/fwlink/?LinkID=824704. You can learn more about data collection and use in the help documentation and our privacy statement. Your use of the software operates as your consent to these practices.
See the our telemetry documentation for an example of the telemetry collected by MSAL.NET.
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.
Copyright © Microsoft Corporation. All rights reserved. Licensed under the MIT License (the "License").
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 net5.0 was computed. net5.0-windows net5.0-windows was computed. net6.0 net6.0 was computed. net6.0-android net6.0-android was computed. net6.0-ios net6.0-ios was computed. net6.0-maccatalyst net6.0-maccatalyst was computed. net6.0-macos net6.0-macos was computed. net6.0-tvos net6.0-tvos was computed. net6.0-windows net6.0-windows was computed. net7.0 net7.0 was computed. net7.0-android net7.0-android was computed. net7.0-ios net7.0-ios was computed. net7.0-maccatalyst net7.0-maccatalyst was computed. net7.0-macos net7.0-macos was computed. net7.0-tvos net7.0-tvos was computed. net7.0-windows net7.0-windows was computed. net8.0 net8.0 is compatible. net8.0-android net8.0-android was computed. net8.0-android34.0 net8.0-android34.0 is compatible. net8.0-browser net8.0-browser was computed. net8.0-ios net8.0-ios was computed. net8.0-ios18.0 net8.0-ios18.0 is compatible. net8.0-maccatalyst net8.0-maccatalyst was computed. net8.0-macos net8.0-macos was computed. net8.0-tvos net8.0-tvos was computed. net8.0-windows net8.0-windows was computed. net9.0 net9.0 was computed. net9.0-android net9.0-android was computed. net9.0-browser net9.0-browser was computed. net9.0-ios net9.0-ios was computed. net9.0-maccatalyst net9.0-maccatalyst was computed. net9.0-macos net9.0-macos was computed. net9.0-tvos net9.0-tvos was computed. net9.0-windows net9.0-windows was computed. net10.0 net10.0 was computed. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 netcoreapp2.0 was computed. netcoreapp2.1 netcoreapp2.1 was computed. netcoreapp2.2 netcoreapp2.2 was computed. netcoreapp3.0 netcoreapp3.0 was computed. netcoreapp3.1 netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 netstandard2.0 is compatible. netstandard2.1 netstandard2.1 was computed. |
| .NET Framework | net461 net461 was computed. net462 net462 is compatible. net463 net463 was computed. net47 net47 was computed. net471 net471 was computed. net472 net472 is compatible. net48 net48 was computed. net481 net481 was computed. |
| MonoAndroid | monoandroid monoandroid was computed. |
| MonoMac | monomac monomac was computed. |
| MonoTouch | monotouch monotouch was computed. |
| Tizen | tizen40 tizen40 was computed. tizen60 tizen60 was computed. |
| Xamarin.iOS | xamarinios xamarinios was computed. |
| Xamarin.Mac | xamarinmac xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos xamarinwatchos was computed. |
Showing the top 5 NuGet packages that depend on Microsoft.Identity.Client:
| Package | Downloads |
|---|---|
|
Azure.Core
This is the implementation of the Azure Client Pipeline |
|
|
Microsoft.Identity.Client.Extensions.Msal
This package contains the public client (desktop) caching to Microsoft Authentication Library for .NET (MSAL.NET) |
|
|
Microsoft.Identity.Web.TokenCache
This package bring token cache serializers for MSAL.NET confidential client applications. |
|
|
Microsoft.Identity.Web.Certificateless
This package brings certificateless authentication. |
|
|
Microsoft.VisualStudio.Services.Client
Integrate with Azure DevOps Server and Azure DevOps Services from desktop-based, ASP.NET, and other Windows applications. Provides access to shared platform services such as account, profile, identity, security, and more via public REST APIs. |
Showing the top 20 popular GitHub repositories that depend on Microsoft.Identity.Client:
| Repository | Stars |
|---|---|
|
microsoft/semantic-kernel
Integrate cutting-edge LLM technology quickly and easily into your apps
|
|
|
dotnet/roslyn
The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
|
|
|
unoplatform/uno
Open-source platform for building cross-platform native Mobile, Web, Desktop and Embedded apps quickly. Create rich, C#/XAML, single-codebase apps from any IDE. Hot Reload included! 90m+ NuGet Downloads!!
|
|
|
git-ecosystem/git-credential-manager
Secure, cross-platform Git credential storage with authentication to GitHub, Azure Repos, and other popular Git hosting services.
|
|
|
PhilippC/keepass2android
Password manager app for Android
|
|
|
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.
|
|
|
Azure/azure-powershell
Microsoft Azure PowerShell
|
|
|
microsoft/perfview
PerfView is a CPU and memory performance-analysis tool
|
|
|
HotCakeX/Harden-Windows-Security
Harden Windows Safely, Securely using Official Supported Microsoft methods and proper explanation | Always up-to-date and works with the latest build of Windows | Provides tools and Guides for Personal, Enterprise, Government and Military security levels | SLSA Level 3 Compliant for Secure Development and Build Process | Apps Available on MS Store✨
|
|
|
xamarin/xamarin-forms-samples
Sample apps built using the Xamarin.Forms framework
|
|
|
dotnet/maui-samples
Samples for .NET Multi-Platform App UI (.NET MAUI)
|
|
|
microsoft/Power-Fx
Power Fx low-code programming language
|
|
|
lukencode/FluentEmail
All in one email sender for .NET. Supports popular senders (SendGrid, MailGun, etc) and Razor templates.
|
|
|
microsoft/onefuzz
A self-hosted Fuzzing-As-A-Service platform
|
|
|
velopack/velopack
Installer and automatic update framework for cross-platform desktop applications
|
|
|
microsoft/PowerApps-Samples
Sample code for Power Apps, including Dataverse, model-driven apps, canvas apps, Power Apps component framework, portals, and AI Builder.
|
|
|
s1t5/mail-archiver
Mail-Archiver is a web application for archiving, searching, and exporting emails from multiple accounts. Featuring folder sync, attachment support, mailbox migration and a dashboard.
|
|
|
pnp/PnP
SharePoint / Office 365 Developer Patterns and Practices - Archived older solutions. Please see https://aka.ms/m365pnp for updated guidance
|
|
|
microsoft/WhatTheHack
A collection of challenge based hack-a-thons including student guide, coach guide, lecture presentations, sample/instructional code and templates. Please visit the What The Hack website at: https://aka.ms/wth
|
|
|
scottksmith95/LINQKit
LINQKit is a free set of extensions for LINQ to SQL and Entity Framework power users.
|
| Version | Downloads | Last Updated |
|---|---|---|
| 4.84.2 | 372,964 | 6/4/2026 |
| 4.84.2-preview4-GetManagedI... | 585 | 6/3/2026 |
| 4.84.2-preview3-mtls-pop-ho... | 751 | 5/29/2026 |
| 4.84.2-preview2-orphaned-kg... | 438 | 5/28/2026 |
| 4.84.2-preview | 922 | 5/23/2026 |
| 4.84.1 | 1,379,947 | 5/19/2026 |
| 4.84.1-preview | 1,120 | 5/15/2026 |
| 4.84.0 | 877,340 | 5/4/2026 |
| 4.83.4-preview1 | 6,181 | 4/3/2026 |
| 4.83.3 | 2,284,362 | 3/30/2026 |
| 4.83.1 | 21,618,597 | 3/10/2026 |
| 4.83.0 | 1,833,620 | 3/9/2026 |
| 4.83.0-preview-1 | 486 | 3/9/2026 |
| 4.82.1 | 3,238,936 | 2/5/2026 |
| 4.82.1-preview2 | 483 | 3/6/2026 |
| 4.82.1-preview | 550 | 2/24/2026 |
| 4.82.0 | 2,352,424 | 2/2/2026 |
| 4.82.0-preview-2 | 1,186 | 1/29/2026 |
| 4.82.0-preview-1 | 5,696 | 1/15/2026 |
| 4.81.0-preview-1 | 538 | 1/31/2026 |
The release notes are available at https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/releases and the roadmap at https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/wiki#roadmap. To provide feedback, fill-in the survey at https://ncv.microsoft.com/JrXkdySi0m.