Microsoft.Identity.Client 4.66.1
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 |
---|
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
- Guides, tutorials, and detailed walkthroughs are available on Microsoft Learn.
- API documentation is available on Microsoft Learn
- Code samples are available from our Samples page.
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 secure@microsoft.com 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
|
63 |
Azure.Identity
This is the implementation of the Azure SDK Client Library for Azure Identity
|
62 |
Azure.Identity
This is the implementation of the Azure SDK Client Library for Azure Identity
|
58 |
Azure.Identity
This is the implementation of the Azure SDK Client Library for Azure Identity
|
56 |
Azure.Identity
This is the implementation of the Azure SDK Client Library for Azure Identity
|
54 |
Microsoft.Identity.Client.Extensions.Msal
This package contains extensions to Microsoft Authentication Library for .NET (MSAL.NET)
|
52 |
Azure.Identity
This is the implementation of the Azure SDK Client Library for Azure Identity
|
51 |
Azure.Identity
This is the implementation of the Azure SDK Client Library for Azure Identity
|
50 |
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.
|
49 |
Microsoft.Identity.Client.Extensions.Msal
This package contains extensions to Microsoft Authentication Library for .NET (MSAL.NET)
|
49 |
Azure.Identity
This is the implementation of the Azure SDK Client Library for Azure Identity
|
49 |
Azure.Identity
This is the implementation of the Azure SDK Client Library for Azure Identity
|
48 |
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.
|
47 |
Microsoft.Identity.Client.Extensions.Msal
This package contains extensions to Microsoft Authentication Library for .NET (MSAL.NET)
|
47 |
Azure.Identity
This is the implementation of the Azure SDK Client Library for Azure Identity
|
47 |
Azure.Identity
This is the implementation of the Azure SDK Client Library for Azure Identity
|
45 |
Microsoft.Identity.Client.Extensions.Msal
This package contains extensions to Microsoft Authentication Library for .NET (MSAL.NET)
|
45 |
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.
.NET Framework 4.6.2
- Microsoft.IdentityModel.Abstractions (>= 6.35.0)
- System.Diagnostics.DiagnosticSource (>= 6.0.1)
.NET Framework 4.7.2
- Microsoft.IdentityModel.Abstractions (>= 6.35.0)
- System.Diagnostics.DiagnosticSource (>= 6.0.1)
.NET 6.0
- Microsoft.IdentityModel.Abstractions (>= 6.35.0)
- System.Diagnostics.DiagnosticSource (>= 6.0.1)
.NET 6.0
- Microsoft.IdentityModel.Abstractions (>= 6.35.0)
- System.Security.SecureString (>= 4.3.0)
.NET 6.0
- Microsoft.IdentityModel.Abstractions (>= 6.35.0)
- System.Runtime.InteropServices.NFloat.Internal (>= 6.0.1)
- System.Security.SecureString (>= 4.3.0)
.NET Standard 2.0
- Microsoft.IdentityModel.Abstractions (>= 6.35.0)
- System.Diagnostics.DiagnosticSource (>= 6.0.1)
Version | Downloads | Last updated |
---|---|---|
4.66.1 | 4 | 10/24/2024 |
4.66.0 | 6 | 10/20/2024 |
4.65.3-preview | 10 | 10/3/2024 |
4.65.0 | 10 | 9/26/2024 |
4.64.2-preview | 10 | 9/17/2024 |
4.64.1 | 9 | 9/13/2024 |
4.64.0 | 10 | 8/25/2024 |
4.63.0 | 20 | 8/6/2024 |
4.62.0 | 13 | 7/22/2024 |
4.62.0-preview | 15 | 7/17/2024 |
4.61.3 | 12 | 6/7/2024 |
4.61.2 | 12 | 6/5/2024 |
4.61.1 | 10 | 5/22/2024 |
4.61.0 | 14 | 5/11/2024 |
4.60.4 | 15 | 6/24/2024 |
4.60.3 | 19 | 4/16/2024 |
4.60.2 | 12 | 4/9/2024 |
4.60.1 | 19 | 4/3/2024 |
4.60.0 | 17 | 3/27/2024 |
4.60.0-netonly | 17 | 3/27/2024 |
4.59.1 | 19 | 4/16/2024 |
4.59.0 | 21 | 2/1/2024 |
4.58.1 | 18 | 12/9/2023 |
4.58.0 | 18 | 11/29/2023 |
4.57.0 | 26 | 10/21/2023 |
4.56.0 | 39 | 9/15/2023 |
4.55.0 | 31 | 8/1/2023 |
4.54.1 | 36 | 7/2/2023 |
4.54.0 | 35 | 5/12/2023 |
4.53.0 | 36 | 5/12/2023 |
4.52.0 | 34 | 4/13/2023 |
4.51.0 | 23 | 6/11/2023 |
4.50.0 | 32 | 2/21/2023 |
4.49.1 | 26 | 1/11/2023 |
4.48.1 | 29 | 11/17/2022 |
4.48.0 | 27 | 12/4/2022 |
4.47.2 | 28 | 10/28/2022 |
4.47.1 | 32 | 9/30/2022 |
4.47.0 | 25 | 10/18/2022 |
4.46.2 | 57 | 8/31/2022 |
4.46.1 | 37 | 9/15/2022 |
4.46.0 | 28 | 8/7/2022 |
4.46.0-preview2 | 44 | 7/18/2022 |
4.45.0 | 43 | 6/27/2022 |
4.44.0 | 42 | 6/17/2022 |
4.43.2 | 34 | 6/27/2022 |
4.43.1 | 31 | 6/27/2022 |
4.43.0 | 26 | 6/27/2022 |
4.42.1 | 33 | 6/27/2022 |
4.42.0 | 26 | 6/27/2022 |
4.41.0 | 30 | 6/27/2022 |
4.40.0 | 32 | 6/27/2022 |
4.39.0 | 40 | 6/27/2022 |
4.38.0 | 34 | 6/27/2022 |
4.37.0 | 34 | 6/27/2022 |
4.37.0-preview | 30 | 6/27/2022 |
4.36.2 | 38 | 6/27/2022 |
4.36.1 | 31 | 6/27/2022 |
4.36.0 | 33 | 6/27/2022 |
4.35.1 | 28 | 6/27/2022 |
4.35.0 | 37 | 6/27/2022 |
4.34.0 | 47 | 6/27/2022 |
4.33.0 | 32 | 6/27/2022 |
4.32.1 | 36 | 6/27/2022 |
4.32.0 | 30 | 6/27/2022 |
4.31.0 | 42 | 6/27/2022 |
4.30.1 | 29 | 6/27/2022 |
4.30.0 | 48 | 6/27/2022 |
4.29.0 | 31 | 6/27/2022 |
4.28.1 | 35 | 6/27/2022 |
4.28.0 | 34 | 6/27/2022 |
4.27.1 | 36 | 6/27/2022 |
4.27.0 | 36 | 6/27/2022 |
4.26.0 | 35 | 6/27/2022 |
4.25.0 | 27 | 6/27/2022 |
4.24.0 | 41 | 6/27/2022 |
4.23.0 | 33 | 6/27/2022 |
4.22.0 | 32 | 6/27/2022 |
4.21.1 | 31 | 6/27/2022 |
4.21.0 | 31 | 6/27/2022 |
4.20.1 | 31 | 6/27/2022 |
4.20.0 | 31 | 6/27/2022 |
4.20.0-wampreview1 | 39 | 6/27/2022 |
4.19.0 | 29 | 6/27/2022 |
4.18.0 | 24 | 6/27/2022 |
4.17.2 | 37 | 6/27/2022 |
4.17.1 | 41 | 6/27/2022 |
4.17.0 | 42 | 6/27/2022 |
4.16.1 | 26 | 6/27/2022 |
4.16.0 | 32 | 6/27/2022 |
4.15.0 | 26 | 6/27/2022 |
4.14.0 | 31 | 6/27/2022 |
4.13.0 | 32 | 6/27/2022 |
4.12.0 | 30 | 6/27/2022 |
4.11.0 | 40 | 6/27/2022 |
4.10.0 | 32 | 6/27/2022 |
4.9.0 | 28 | 6/27/2022 |
4.8.2 | 40 | 6/27/2022 |
4.8.1 | 33 | 6/27/2022 |
4.8.1-preview1 | 36 | 6/27/2022 |
4.7.1 | 33 | 6/27/2022 |
4.7.0 | 44 | 6/27/2022 |
4.6.0 | 29 | 6/27/2022 |
4.5.1 | 39 | 6/27/2022 |
4.5.0 | 29 | 6/27/2022 |
4.4.0 | 27 | 6/27/2022 |
4.3.1 | 38 | 6/27/2022 |
4.3.0 | 36 | 6/27/2022 |
4.2.1 | 35 | 6/27/2022 |
4.2.0 | 30 | 6/27/2022 |
4.1.0 | 33 | 6/27/2022 |
4.0.0 | 38 | 6/27/2022 |
3.0.9 | 43 | 6/27/2022 |
3.0.8 | 28 | 6/27/2022 |
3.0.6-preview | 55 | 6/27/2022 |
3.0.5-preview | 44 | 6/27/2022 |
3.0.4-preview | 30 | 6/27/2022 |
3.0.3-preview | 35 | 6/27/2022 |
3.0.2-preview | 32 | 6/27/2022 |
3.0.1-preview | 38 | 6/27/2022 |
3.0.0-preview | 34 | 6/27/2022 |
2.7.1 | 36 | 6/27/2022 |
2.7.0 | 33 | 6/27/2022 |
2.6.2 | 37 | 6/27/2022 |
2.6.1 | 42 | 6/27/2022 |
2.6.0-preview | 36 | 6/27/2022 |
2.5.0-preview | 32 | 6/27/2022 |
2.4.1-preview | 36 | 6/27/2022 |
2.4.0-preview | 30 | 6/27/2022 |
2.3.1-preview | 38 | 6/27/2022 |
2.3.0-preview | 35 | 6/27/2022 |
2.2.1-preview | 35 | 6/27/2022 |
2.2.0-preview | 30 | 6/27/2022 |
2.1.0-preview | 29 | 6/27/2022 |
2.0.1-preview | 28 | 6/27/2022 |
2.0.0-preview | 32 | 6/27/2022 |
1.1.4-preview0002 | 25 | 6/27/2022 |
1.1.3-preview0012 | 35 | 6/25/2022 |
1.1.2-preview0008 | 33 | 6/27/2022 |
1.1.1-preview0040 | 32 | 6/27/2022 |
1.1.0-preview | 38 | 6/27/2022 |
1.0.304142221-alpha | 33 | 6/25/2022 |
1.0.304142201-alpha | 53 | 6/27/2022 |
1.0.303282006-alpha | 32 | 6/27/2022 |