Skip to main content
Microsoft.Identity.Web package icon

Microsoft.Identity.Web

This package enables ASP.NET Core web apps and web APIs to use the Microsoft identity platform (formerly Azure AD v2.0). This package is specifically used for web applications, which sign-in users, and protected web APIs, which optionally call downstream web APIs.

Total Downloads
210.6M
210,611,550
Published
Jul 14, 2026
Latest stable version

Install

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

Frameworks

net10.0 .NETFramework4.6.2 .NETFramework4.7.2 net8.0 net9.0 .NETStandard2.0

Dependencies

[4.13.1, )
[4.13.1, )
[4.13.1, )
[4.13.1, )
[6.0.0, )
[8.0.1, )
[8.0.0, )
Microsoft.Extensions.Http
.NETFramework4.6.2
[8.0.0, )
[8.19.1, )
System.Formats.Asn1
.NETFramework4.6.2
[10.0.2, )
[8.19.1, )
[6.0.1, )
System.Text.Json
.NETFramework4.6.2
[8.0.6, )
[4.13.1, )
[4.13.1, )
[4.13.1, )

Adoption guide

Organizations standardizing on Entra ID flows for web apps, APIs and delegated token acquisition.

Security guide
Why it appears in the guide: High-level integration package for ASP.NET Core apps and APIs using Microsoft identity platforms. Trade-off: Primarily optimized for Microsoft identity ecosystems rather than provider-neutral federation scenarios.

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

The published metadata declares 63 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.