AzureAD/microsoft-authentication-library-for-dotnet
Microsoft Authentication Library (MSAL) for .NET observed · 2026-08-28
Health v2 · maintenance only
99/100
- Activity 99
- Release rhythm 98
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 14
- age_days: 3971
- days_rel: 13
- days_push: 7
- n_releases_24m: 44
Adoption not part of the score
1502 stars · 411 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Microsoft Authentication Library (MSAL) for .NET, part of the Microsoft identity platform. It enables .NET applications to acquire security tokens via OAuth2 and OpenID Connect to call protected APIs, including support for Azure AD B2C.
Use cases
- acquire tokens to call protected web APIs from a .NET app
- add Microsoft Entra ID sign-in to a desktop or mobile application
- authenticate users with Azure AD B2C in a .NET application
- implement OAuth2 authorization code flow in ASP.NET Core
- get access tokens for calling Microsoft Graph
- handle token caching and silent token renewal in .NET
- authenticate a daemon/service with client credentials flow
When to choose
- you are building a .NET application that needs Microsoft identity platform authentication
- you need standards-based OAuth2/OpenID Connect token acquisition with Microsoft Entra ID
- you need Azure AD B2C support in a .NET app
- you want a Microsoft-supported library with long-term support and security fixes
When to avoid
- you authenticate against non-Microsoft identity providers only (a generic OAuth library may suffice)
- you are building in a non-.NET language or platform
- you need a legacy ADAL migration target other than MSAL
Facets
library · maturity stable
auth sdk security apis developer-tools cloud-computing dotnet cross-platform windows oauth2 openid-connect azure-ad entra-id token-acquisition microsoft-identity-platform b2c maui macos linux mobile
1 source
- readme: https://github.com/AzureAD/microsoft-authentication-library-for-dotnet · fetched 2026-08-28 · 74efc4d7fb1c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| AzureAD/microsoft-authentication-library-for-dotnet | main | 99 |
For agents
markdown · JSON · MCP: product_card(name="AzureAD/microsoft-authentication-library-for-dotnet")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem