Microsoft.Identity.Web.MicrosoftGraph 2.0.4-preview

Prefix Reserved
Additional Details

Move to Microsoft.Identity.Web.* latest. See https://aka.ms/IdWeb/LTS for details.

This is a prerelease version of Microsoft.Identity.Web.MicrosoftGraph.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Microsoft.Identity.Web.MicrosoftGraph --version 2.0.4-preview
                    
NuGet\Install-Package Microsoft.Identity.Web.MicrosoftGraph -Version 2.0.4-preview
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Microsoft.Identity.Web.MicrosoftGraph" Version="2.0.4-preview" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.Identity.Web.MicrosoftGraph" Version="2.0.4-preview" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.Identity.Web.MicrosoftGraph" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Microsoft.Identity.Web.MicrosoftGraph --version 2.0.4-preview
                    
#r "nuget: Microsoft.Identity.Web.MicrosoftGraph, 2.0.4-preview"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Microsoft.Identity.Web.MicrosoftGraph@2.0.4-preview
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Microsoft.Identity.Web.MicrosoftGraph&version=2.0.4-preview&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.Identity.Web.MicrosoftGraph&version=2.0.4-preview&prerelease
                    
Install as a Cake Tool

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 call Microsoft Graph, and for protected web APIs
     that call Microsoft Graph.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
.NET Framework net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (23)

Showing the top 5 NuGet packages that depend on Microsoft.Identity.Web.MicrosoftGraph:

Package Downloads
devdeer.Libraries.AspNetCore.RestApi

Initialization and configuration including useful base types for ASP.NET Core APIs.

BizDoc.Core.Azure

Azure for BizDoc

AIC.Core.Identity.Extensions.WebApi

Shared .NET library for Aerospace, Intelligence, and Cyber solutions.

AIC.Core.Identity.Data.Controllers

Shared .NET library for Aerospace, Intelligence, and Cyber solutions.

AIC.Core.Identity.Data.Controllers.Authentication

Shared .NET library for Aerospace, Intelligence, and Cyber solutions.

GitHub repositories (8)

Showing the top 8 popular GitHub repositories that depend on Microsoft.Identity.Web.MicrosoftGraph:

Repository Stars
Azure-Samples/active-directory-aspnetcore-webapp-openidconnect-v2
An ASP.NET Core Web App which lets sign-in users (including in your org, many orgs, orgs + personal accounts, sovereign clouds) and call Web APIs (including Microsoft Graph)
OfficeDev/Microsoft-Teams-Samples
Welcome to the Microsoft Teams samples repository. Here you will find task-focused samples in C#, JavaScript and TypeScript to help you get started with the Microsoft Teams App!
OfficeDev/TrainingContent
Training Content used for developer.microsoft.com/office
microsoft/hack-together
Hack Together: Microsoft Graph and .NET is a hackathon for .NET developers to learn Microsoft Graph and Microsoft 365.
isaacrlevin/presencelight
PresenceLight is a solution to broadcast your various statuses to light bulbs.
Azure-Samples/active-directory-dotnet-native-aspnetcore-v2
Calling a ASP.NET Core Web API from a WPF application using Azure AD v2.0
microsoftgraph/aspnet-snippets-sample
A repository of code snippets that use Microsoft Graph to perform common tasks such as sending email, managing groups, and other activities from an ASP.NET Core MVC app. This sample uses the Microsoft Graph .NET Client Library to work with data, and the Microsoft Identity Web Library for authentication on the Microsoft identity platform v2.0 endpoint.
Azure/modern-web-app-pattern-dotnet
The Modern Web App Pattern is a set of objectives to help you apply an iterative change to modernize a cloud deployed monolith. This content builds on the Reliable Web App. This repo contains a reference implementation of a Modern Web App for .NET.
Version Downloads Last Updated
4.3.0 1,881 1/7/2026
4.2.0 15,460 12/17/2025
4.1.1 54,526 11/24/2025
4.1.0 11,276 11/19/2025
4.0.1 111,815 10/20/2025
4.0.0 37,216 10/13/2025
3.14.1 126,877 9/10/2025
3.14.0 58,116 8/28/2025
3.13.2 68,619 8/19/2025
3.13.1 15,774 8/15/2025
3.13.0 33,121 8/8/2025
3.12.0 34,954 7/30/2025
3.11.0 46,547 7/21/2025
3.10.0 145,005 7/5/2025
3.9.4 79,460 6/17/2025
3.9.3 63,703 6/3/2025
3.9.2 52,173 5/23/2025
3.9.1 29,998 5/18/2025
3.9.0 14,365 5/15/2025
3.8.4 150,153 4/24/2025
3.8.3 267,613 4/8/2025
3.8.2 47,434 3/31/2025
3.8.1 36,563 3/21/2025
3.8.0 64,534 3/7/2025
3.7.1 119,019 2/15/2025
3.7.0 41,340 2/7/2025
3.6.2 82,435 1/23/2025
3.6.1 14,139 1/21/2025
3.6.0 21,793 1/17/2025
3.5.0 316,666 12/4/2024
3.4.0 183,552 11/15/2024
3.3.1 118,392 11/2/2024
3.3.0 50,051 10/28/2024
3.2.2 185,223 10/9/2024
3.2.1 28,269 10/5/2024
3.2.0 73,559 9/24/2024
3.1.0 217,162 8/22/2024
3.0.1 587,729 7/23/2024
3.0.0 63,003 7/18/2024
3.0.0-preview3 2,276 6/19/2024 3.0.0-preview3 is deprecated because it is no longer maintained.
3.0.0-preview2 2,014 6/11/2024 3.0.0-preview2 is deprecated because it is no longer maintained.
3.0.0-preview1 22,041 4/29/2024 3.0.0-preview1 is deprecated because it is no longer maintained.
2.21.1 73,028 7/20/2024 2.21.1 is deprecated because it is no longer maintained.
2.21.0 4,763 7/19/2024 2.21.0 is deprecated because it is no longer maintained.
2.20.0 185,356 6/28/2024 2.20.0 is deprecated because it is no longer maintained.
2.19.1 210,907 6/10/2024 2.19.1 is deprecated because it is no longer maintained.
2.19.0 84,247 5/29/2024 2.19.0 is deprecated because it is no longer maintained.
2.18.2 58,317 5/21/2024 2.18.2 is deprecated because it is no longer maintained.
2.18.1 177,019 4/25/2024 2.18.1 is deprecated because it is no longer maintained.
2.18.0 46,685 4/22/2024 2.18.0 is deprecated because it is no longer maintained.
2.17.5 125,703 4/16/2024 2.17.5 is deprecated because it is no longer maintained.
2.17.4 137,763 3/29/2024 2.17.4 is deprecated because it is no longer maintained.
2.17.3 11,404 3/27/2024 2.17.3 is deprecated because it is no longer maintained.
2.17.2 71,056 3/14/2024 2.17.2 is deprecated because it is no longer maintained.
2.17.1 148,737 2/27/2024 2.17.1 is deprecated because it is no longer maintained.
2.17.0 261,605 2/5/2024 2.17.0 is deprecated because it is no longer maintained.
2.16.1 285,587 1/9/2024 2.16.1 is deprecated because it is no longer maintained.
2.16.0 266,928 11/27/2023 2.16.0 is deprecated because it is no longer maintained.
2.15.5 117,355 11/20/2023 2.15.5 is deprecated because it is no longer maintained.
2.15.3 285,066 10/22/2023 2.15.3 is deprecated because it is no longer maintained.
2.15.2 27,567 10/18/2023 2.15.2 is deprecated because it is no longer maintained.
2.15.1 70,489 10/5/2023 2.15.1 is deprecated because it is no longer maintained.
2.14.0 42,795 9/26/2023 2.14.0 is deprecated because it is no longer maintained.
2.13.4 173,746 9/8/2023 2.13.4 is deprecated because it is no longer maintained.
2.13.3 116,172 8/17/2023 2.13.3 is deprecated because it is no longer maintained.
2.13.2 91,637 7/31/2023 2.13.2 is deprecated because it is no longer maintained.
2.13.1 67,713 7/25/2023 2.13.1 is deprecated because it is no longer maintained.
2.13.0 67,906 7/14/2023 2.13.0 is deprecated because it is no longer maintained.
2.12.4 199,050 6/18/2023 2.12.4 is deprecated because it is no longer maintained.
2.12.2 147,947 6/15/2023 2.12.2 is deprecated because it is no longer maintained.
2.11.1 138,129 6/6/2023 2.11.1 is deprecated because it is no longer maintained.
2.11.0 248,261 5/15/2023 2.11.0 is deprecated because it is no longer maintained.
2.10.0 49,587 5/5/2023 2.10.0 is deprecated because it is no longer maintained.
2.9.0 212,862 4/15/2023 2.9.0 is deprecated because it is no longer maintained.
2.8.0 11,659 4/14/2023 2.8.0 is deprecated because it is no longer maintained.
2.7.0 92,010 3/30/2023 2.7.0 is deprecated because it is no longer maintained.
2.6.1 60,529 3/23/2023 2.6.1 is deprecated because it is no longer maintained.
2.5.0 207,489 2/27/2023 2.5.0 is deprecated because it is no longer maintained.
2.0.8-preview 8,501 12/16/2022 2.0.8-preview is deprecated because it is no longer maintained.
2.0.7-preview 2,365 12/2/2022 2.0.7-preview is deprecated because it is no longer maintained.
2.0.6-preview 9,433 11/20/2022 2.0.6-preview is deprecated because it is no longer maintained.
2.0.5-preview 2,989 11/7/2022 2.0.5-preview is deprecated because it is no longer maintained.
2.0.4-preview 1,601 10/27/2022 2.0.4-preview is deprecated because it is no longer maintained.
2.0.3-preview 6,119 10/19/2022 2.0.3-preview is deprecated because it is no longer maintained.
2.0.2-preview 2,304 10/9/2022 2.0.2-preview is deprecated because it is no longer maintained.
2.0.0-preview 6,665 9/20/2022 2.0.0-preview is deprecated because it is no longer maintained.
1.26.0 308,809 2/5/2023 1.26.0 is deprecated because it is no longer maintained.
1.25.10 668,385 12/1/2022 1.25.10 is deprecated because it is no longer maintained.
1.25.9 26,902 11/28/2022 1.25.9 is deprecated because it is no longer maintained.
1.25.8 61,737 11/20/2022 1.25.8 is deprecated because it is no longer maintained.
1.25.7 6,857 11/18/2022 1.25.7 is deprecated because it is no longer maintained.
1.25.6 30,190 11/16/2022 1.25.6 is deprecated because it is no longer maintained.
1.25.5 124,358 11/1/2022 1.25.5 is deprecated because it is no longer maintained.
1.25.4 29,942 10/27/2022 1.25.4 is deprecated because it is no longer maintained.
1.25.3 392,112 9/16/2022 1.25.3 is deprecated because it is no longer maintained.
1.25.2 293,838 8/25/2022 1.25.2 is deprecated because it is no longer maintained.
1.25.1 413,783 6/23/2022 1.25.1 is deprecated because it is no longer maintained.
1.25.0 132,721 6/3/2022 1.25.0 is deprecated because it is no longer maintained.
1.24.1 529,790 4/26/2022 1.24.1 is deprecated because it is no longer maintained.
1.24.0 83,962 4/20/2022 1.24.0 is deprecated because it is no longer maintained.
1.23.1 480,351 3/11/2022 1.23.1 is deprecated because it is no longer maintained.
1.23.0 120,105 2/15/2022 1.23.0 is deprecated because it is no longer maintained.
1.22.3 51,717 2/2/2022 1.22.3 is deprecated because it is no longer maintained.
1.22.2 34,326 1/28/2022 1.22.2 is deprecated because it is no longer maintained.
1.22.1 112,977 1/8/2022 1.22.1 is deprecated because it is no longer maintained.
1.22.0 8,676 1/8/2022 1.22.0 is deprecated because it is no longer maintained.
1.21.1 114,510 12/4/2021 1.21.1 is deprecated because it is no longer maintained.
1.21.0 68,941 11/20/2021 1.21.0 is deprecated because it is no longer maintained.
1.20.1 2,524 12/3/2021 1.20.1 is deprecated because it is no longer maintained.
1.20.0 122,850 11/5/2021 1.20.0 is deprecated because it is no longer maintained.
1.19.0 17,488 11/2/2021 1.19.0 is deprecated because it is no longer maintained.
1.19.0-preview 2,152 10/7/2021 1.19.0-preview is deprecated because it is no longer maintained.
1.18.0 855,162 10/6/2021 1.18.0 is deprecated because it is no longer maintained.
1.17.0 86,281 9/20/2021 1.17.0 is deprecated because it is no longer maintained.
1.16.1 40,715 9/6/2021 1.16.1 is deprecated because it is no longer maintained.
1.16.0 259,360 8/19/2021 1.16.0 is deprecated because it is no longer maintained.
1.15.2 100,667 7/30/2021 1.15.2 is deprecated because it is no longer maintained.
1.15.1 15,123 7/27/2021 1.15.1 is deprecated because it is no longer maintained.
1.15.0 19,181 7/23/2021 1.15.0 is deprecated because it is no longer maintained.
1.14.1 51,305 7/15/2021 1.14.1 is deprecated because it is no longer maintained.
1.14.0 243,838 6/23/2021 1.14.0 is deprecated because it is no longer maintained.
1.13.1 21,932 6/15/2021 1.13.1 is deprecated because it is no longer maintained.
1.13.0 23,368 6/11/2021 1.13.0 is deprecated because it is no longer maintained.
1.12.0 30,374 6/2/2021 1.12.0 is deprecated because it is no longer maintained.
1.11.0 30,532 5/24/2021 1.11.0 is deprecated because it is no longer maintained.
1.10.0 28,841 5/17/2021 1.10.0 is deprecated because it is no longer maintained.
1.9.2 55,542 5/4/2021 1.9.2 is deprecated because it is no longer maintained.
1.9.1 83,522 4/14/2021 1.9.1 is deprecated because it is no longer maintained.
1.9.0 7,920 4/12/2021 1.9.0 is deprecated because it is no longer maintained.
1.8.2 107,151 3/23/2021 1.8.2 is deprecated because it is no longer maintained.
1.8.1 21,824 3/16/2021 1.8.1 is deprecated because it is no longer maintained.
1.8.0 22,436 3/10/2021 1.8.0 is deprecated because it is no longer maintained.
1.7.0 41,480 2/27/2021 1.7.0 is deprecated because it is no longer maintained.
1.6.0 73,615 2/12/2021 1.6.0 is deprecated because it is no longer maintained.
1.5.1 63,993 1/21/2021 1.5.1 is deprecated because it is no longer maintained.
1.5.0 4,789 1/20/2021 1.5.0 is deprecated because it is no longer maintained.
1.4.1 100,640 12/15/2020 1.4.1 is deprecated because it is no longer maintained.
1.4.0 68,043 12/9/2020 1.4.0 is deprecated because it is no longer maintained.
1.3.0 69,682 11/11/2020 1.3.0 is deprecated because it is no longer maintained.
1.2.0 37,399 10/23/2020 1.2.0 is deprecated because it is no longer maintained.
1.1.0 109,691 10/6/2020 1.1.0 is deprecated because it is no longer maintained.
1.0.0 33,954 9/30/2020 1.0.0 is deprecated because it is no longer maintained.
0.4.0-preview 22,373 9/11/2020 0.4.0-preview is deprecated because it is no longer maintained.