Microsoft.Identity.Client 4.87.0

Microsoft Authentication Library (MSAL) for .NET

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 Support Feedback

NuGet Package

NuGet

Version Lifecycle and Support Matrix

See Long Term Support policy 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.
✅Supported versions: from 4.77.1 to NuGet
⚠️Unsupported versions < 4.77.1.

Performance perspectives

Our documentation describes the approach to performance testing.

View some of the historical performance benchmark results in our dashboard.

Support SLA

MSAL.NET became Generally Available with MSAL.NET 3.0.8. Since MSAL.NET moved to version 4:

  • Major versions are supported for twelve months after the release of the next major version.
  • Minor versions older than N-1 are not supported.

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.

Using MSAL.NET

Where do I file issues

You can file new issues in this repository.

Community help and support

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 GitHub Issues.

Contribute

We welcome contributions and feedback. You can fork and clone the repo and start contributing now. Read our Contribution Guide 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 opencode@microsoft.com with any additional questions or comments.

Security library

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.

Security reporting

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.

Data collection

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.

Trademarks

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").

Showing the top 20 packages that depend on Microsoft.Identity.Client.

Packages Downloads
Azure.Identity
This is the implementation of the Azure SDK Client Library for Azure Identity
191
Azure.Identity
This is the implementation of the Azure SDK Client Library for Azure Identity
190
Azure.Identity
This is the implementation of the Azure SDK Client Library for Azure Identity
189
Azure.Identity
This is the implementation of the Azure SDK Client Library for Azure Identity
176
Azure.Identity
This is the implementation of the Azure SDK Client Library for Azure Identity
173
Azure.Identity
This is the implementation of the Azure SDK Client Library for Azure Identity
172
Azure.Identity
This is the implementation of the Azure SDK Client Library for Azure Identity
169
Azure.Identity
This is the implementation of the Azure SDK Client Library for Azure Identity
168
Microsoft.Identity.Client.Extensions.Msal
This package contains extensions to Microsoft Authentication Library for .NET (MSAL.NET)
167
Microsoft.Identity.Client.Extensions.Msal
This package contains extensions to Microsoft Authentication Library for .NET (MSAL.NET)
166
Microsoft.Data.SqlClient
Provides the data provider for SQL Server. These classes provide access to versions of SQL Server 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.
166
Azure.Identity
This is the implementation of the Azure SDK Client Library for Azure Identity
165
Azure.Identity
This is the implementation of the Azure SDK Client Library for Azure Identity
163
Microsoft.Data.SqlClient
Provides the data provider for SQL Server. These classes provide access to versions of SQL Server 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.
162
Azure.Identity
This is the implementation of the Azure SDK Client Library for Azure Identity
161
Microsoft.Identity.Client.Extensions.Msal
This package contains extensions to Microsoft Authentication Library for .NET (MSAL.NET)
161
Azure.Identity
This is the implementation of the Azure SDK Client Library for Azure Identity
160

Version Downloads Last updated
4.92.0 3 10/29/2026
4.91.1 9 10/22/2026
4.91.0 16 10/14/2026
4.90.1 17 9/28/2026
4.90.0 32 9/18/2026
4.89.0 25 9/12/2026
4.88.0 27 8/22/2026
4.87.1-preview.2 21 8/13/2026
4.87.1-preview.1 36 8/3/2026
4.87.0 30 7/25/2026
4.86.1 32 7/17/2026
4.86.1-azure-arc-preview 31 7/18/2026
4.86.0 38 7/11/2026
4.85.2 45 6/28/2026
4.85.1 36 6/25/2026
4.85.0 40 6/21/2026
4.84.2 44 6/5/2026
4.84.2-preview4-GetManagedIdentityCapabilitiesAsync 40 6/3/2026
4.84.2-preview3-mtls-pop-host-check 28 6/1/2026
4.84.2-preview2-orphaned-kg-certs 41 5/28/2026
4.84.2-preview 44 5/23/2026
4.84.1 37 5/20/2026
4.84.1-preview 50 5/15/2026
4.84.0 43 5/5/2026
4.83.4-preview1 38 5/4/2026
4.83.3 42 5/4/2026
4.83.1 41 3/12/2026
4.83.0 47 3/12/2026
4.83.0-preview-1 39 3/12/2026
4.82.1 43 2/8/2026
4.82.1-preview2 42 3/9/2026
4.82.1-preview 50 2/28/2026
4.82.0 49 2/4/2026
4.82.0-preview-2 45 1/30/2026
4.82.0-preview-1 57 1/18/2026
4.81.0 53 1/11/2026
4.81.0-preview-1 42 2/1/2026
4.80.0 47 1/8/2026
4.79.2 81 11/18/2025
4.79.1 79 11/13/2025
4.79.0 75 11/10/2025
4.78.1-preview1 78 10/24/2025
4.78.0 76 10/24/2025
4.77.2-preview1 71 11/2/2025
4.77.1 101 9/26/2025
4.77.0 96 9/14/2025
4.76.2-preview 88 9/14/2025
4.76.1-preview 84 9/14/2025
4.76.0 92 8/18/2025
4.74.1 120 7/27/2025
4.74.1-preview1 106 7/28/2025
4.74.0 115 7/15/2025
4.74.0-pop-attestation-2 96 9/3/2025
4.74.0-pop-attestation-1 85 9/3/2025
4.73.1 100 7/4/2025
4.73.0 110 6/19/2025
4.73.0-slc-preview 117 7/4/2025
4.73.0-preview 97 5/17/2025
4.73.0-pop-assertion-preview 90 8/11/2025
4.72.3-slc-preview 110 7/4/2025
4.72.1 115 5/25/2025
4.72.1-preview 119 5/14/2025
4.72.0 112 5/15/2025
4.71.2-preview 110 4/23/2025
4.71.1 115 4/25/2025
4.71.1-preview 116 4/23/2025
4.71.0 112 4/19/2025
4.70.2 136 4/11/2025
4.70.1 108 4/5/2025
4.70.1-preview 141 3/27/2025
4.70.0 121 3/23/2025
4.69.1 134 3/4/2025
4.68.0 130 2/10/2025
4.67.2 121 1/15/2025
4.67.1 116 1/11/2025
4.67.0 131 1/11/2025
4.66.4-preview 122 1/16/2025
4.66.3-preview 137 1/11/2025
4.66.2 120 11/11/2024
4.66.2-preview 164 12/20/2024
4.66.1 143 10/24/2024
4.66.0 133 10/20/2024
4.65.3-preview 116 10/3/2024
4.65.0 118 9/26/2024
4.64.2-preview 114 9/17/2024
4.64.1 123 9/13/2024
4.64.0 128 8/25/2024
4.63.0 141 8/6/2024
4.62.0 139 7/22/2024
4.62.0-preview 125 7/17/2024
4.61.3 123 6/7/2024
4.61.2 147 6/5/2024
4.61.1 132 5/22/2024
4.61.0 133 5/11/2024
4.60.4 128 6/24/2024
4.60.3 143 4/16/2024
4.60.2 126 4/9/2024
4.60.1 135 4/3/2024
4.60.0 140 3/27/2024
4.60.0-netonly 139 3/27/2024
4.59.1 132 4/16/2024
4.59.0 145 2/1/2024
4.58.1 150 12/9/2023
4.58.0 117 11/29/2023
4.57.0 145 10/21/2023
4.56.0 167 9/15/2023
4.55.0 161 8/1/2023
4.54.1 165 7/2/2023
4.54.0 168 5/12/2023
4.53.0 163 5/12/2023
4.52.0 153 4/13/2023
4.51.0 123 6/11/2023
4.50.0 137 2/21/2023
4.49.1 132 1/11/2023
4.48.1 140 11/17/2022
4.48.0 154 12/4/2022
4.47.2 137 10/28/2022
4.47.1 138 9/30/2022
4.47.0 142 10/18/2022
4.46.2 176 8/31/2022
4.46.1 158 9/15/2022
4.46.0 140 8/7/2022
4.46.0-preview2 153 7/18/2022
4.45.0 168 6/27/2022
4.44.0 163 6/17/2022
4.43.2 143 6/27/2022
4.43.1 145 6/27/2022
4.43.0 133 6/27/2022
4.42.1 145 6/27/2022
4.42.0 140 6/27/2022
4.41.0 152 6/27/2022
4.40.0 153 6/27/2022
4.39.0 153 6/27/2022
4.38.0 158 6/27/2022
4.37.0 146 6/27/2022
4.37.0-preview 145 6/27/2022
4.36.2 159 6/27/2022
4.36.1 151 6/27/2022
4.36.0 145 6/27/2022
4.35.1 131 6/27/2022
4.35.0 146 6/27/2022
4.34.0 169 6/27/2022
4.33.0 146 6/27/2022
4.32.1 157 6/27/2022
4.32.0 139 6/27/2022
4.31.0 167 6/27/2022
4.30.1 155 6/27/2022
4.30.0 167 6/27/2022
4.29.0 153 6/27/2022
4.28.1 161 6/27/2022
4.28.0 145 6/27/2022
4.27.1 144 6/27/2022
4.27.0 166 6/27/2022
4.26.0 145 6/27/2022
4.25.0 139 6/27/2022
4.24.0 174 6/27/2022
4.23.0 147 6/27/2022
4.22.0 133 6/27/2022
4.21.1 139 6/27/2022
4.21.0 144 6/27/2022
4.20.1 170 6/27/2022
4.20.0 141 6/27/2022
4.20.0-wampreview1 148 6/27/2022
4.19.0 153 6/27/2022
4.18.0 126 6/27/2022
4.17.2 141 6/27/2022
4.17.1 160 6/27/2022
4.17.0 162 6/27/2022
4.16.1 148 6/27/2022
4.16.0 133 6/27/2022
4.15.0 138 6/27/2022
4.14.0 154 6/27/2022
4.13.0 153 6/27/2022
4.12.0 141 6/27/2022
4.11.0 157 6/27/2022
4.10.0 153 6/27/2022
4.9.0 146 6/27/2022
4.8.2 169 6/27/2022
4.8.1 139 6/27/2022
4.8.1-preview1 150 6/27/2022
4.7.1 144 6/27/2022
4.7.0 156 6/27/2022
4.6.0 126 6/27/2022
4.5.1 175 6/27/2022
4.5.0 138 6/27/2022
4.4.0 122 6/27/2022
4.3.1 161 6/27/2022
4.3.0 154 6/27/2022
4.2.1 138 6/27/2022
4.2.0 147 6/27/2022
4.1.0 148 6/27/2022
4.0.0 165 6/27/2022
3.0.9 147 6/27/2022
3.0.8 136 6/27/2022
3.0.6-preview 169 6/27/2022
3.0.5-preview 164 6/27/2022
3.0.4-preview 148 6/27/2022
3.0.3-preview 143 6/27/2022
3.0.2-preview 155 6/27/2022
3.0.1-preview 145 6/27/2022
3.0.0-preview 148 6/27/2022
2.7.1 156 6/27/2022
2.7.0 146 6/27/2022
2.6.2 145 6/27/2022
2.6.1 161 6/27/2022
2.6.0-preview 157 6/27/2022
2.5.0-preview 151 6/27/2022
2.4.1-preview 150 6/27/2022
2.4.0-preview 145 6/27/2022
2.3.1-preview 156 6/27/2022
2.3.0-preview 157 6/27/2022
2.2.1-preview 142 6/27/2022
2.2.0-preview 153 6/27/2022
2.1.0-preview 143 6/27/2022
2.0.1-preview 153 6/27/2022
2.0.0-preview 148 6/27/2022
1.1.4-preview0002 120 6/27/2022
1.1.3-preview0012 135 6/25/2022
1.1.2-preview0008 113 6/27/2022
1.1.1-preview0040 139 6/27/2022
1.1.0-preview 153 6/27/2022
1.0.304142221-alpha 122 6/25/2022
1.0.304142201-alpha 159 6/27/2022
1.0.303282006-alpha 127 6/27/2022