Microsoft.Graph 4.0.0-preview.2

Prefix Reserved
This is a prerelease version of Microsoft.Graph.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Microsoft.Graph --version 4.0.0-preview.2
                    
NuGet\Install-Package Microsoft.Graph -Version 4.0.0-preview.2
                    
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.Graph" Version="4.0.0-preview.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.Graph" Version="4.0.0-preview.2" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.Graph" />
                    
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.Graph --version 4.0.0-preview.2
                    
#r "nuget: Microsoft.Graph, 4.0.0-preview.2"
                    
#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.
#addin nuget:?package=Microsoft.Graph&version=4.0.0-preview.2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.Graph&version=4.0.0-preview.2&prerelease
                    
Install as a Cake Tool

Microsoft Graph Client Library allows you to call Office 365, Azure AD and other Microsoft services through a single unified developer experience.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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 netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (238)

Showing the top 5 NuGet packages that depend on Microsoft.Graph:

Package Downloads
Microsoft.Identity.Web.MicrosoftGraph

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.

GSF.Security

Library of core security framework for implementing role-based security with integrated Active Directory, local account and database style authentication across various .NET application types.

Rystem.Content.Infrastructure.M365.Sharepoint

Rystem.Content helps you to integrate with azure services or to create an abstraction layer among your infrastructure and your business.

Microsoft.Identity.Web.GraphServiceClient

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. Works specifically with MS Graph SDK v5 and above. For MS Graph SDK v4 support, please use Microsoft.Identity.Web.MicrosoftGraph.

SharePointPnPCoreOnline

Retired - please use PnP Framework (https://github.com/pnp/pnpframework) going forward. Core CSOM extension methods for SharePoint Online add-in model development. This will increase productivity of the developers by abstracting complex operations.

GitHub repositories (61)

Showing the top 20 popular GitHub repositories that depend on Microsoft.Graph:

Repository Stars
microsoft/semantic-kernel
Integrate cutting-edge LLM technology quickly and easily into your apps
unoplatform/uno
Open-source platform for building cross-platform native Mobile, Web, Desktop and Embedded apps quickly. Create rich, C#/XAML, single-codebase apps from any IDE. Hot Reload included! 90m+ NuGet Downloads!!
Azure/azure-sdk-for-net
This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
lukencode/FluentEmail
All in one email sender for .NET. Supports popular senders (SendGrid, MailGun, etc) and Razor templates.
microsoft/onefuzz
A self-hosted Fuzzing-As-A-Service platform
phongnguyend/Practical.CleanArchitecture
Full-stack .Net 9 Clean Architecture (Microservices, Modular Monolith, Monolith), Blazor, Angular 19, React 19, Vue 3.5, BFF with YARP, NextJs 15, Domain-Driven Design, CQRS, SOLID, Asp.Net Core Identity Custom Storage, OpenID Connect, EF Core, OpenTelemetry, SignalR, Background Services, Health Checks, Rate Limiting, Clouds (Azure, AWS, GCP), ..
pnp/PnP
SharePoint / Office 365 Developer Patterns and Practices - Archived older solutions. Please see https://aka.ms/m365pnp for updated guidance
microsoft/WhatTheHack
A collection of challenge based hack-a-thons including student guide, coach guide, lecture presentations, sample/instructional code and templates. Please visit the What The Hack website at: https://aka.ms/wth
microsoft/Recognizers-Text
Microsoft.Recognizers.Text provides recognition and resolution of numbers, units, date/time, etc. in multiple languages (ZH, EN, FR, ES, PT, DE, IT, TR, HI, NL. Partial support for JA, KO, AR, SV). Packages available at: https://www.nuget.org/profiles/Recognizers.Text, https://www.npmjs.com/~recognizers.text
ariacom/Seal-Report
Database Reporting Tool and Tasks (.Net)
bkaankose/Wino-Mail
Built-in Mail & Calendars app clone for Windows.
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!
pnp/PnP-PowerShell
SharePoint PnP PowerShell CmdLets
OfficeDev/TrainingContent
Training Content used for developer.microsoft.com/office
JonPSmith/AuthPermissions.AspNetCore
This library provides extra authorization and multi-tenant features to an ASP.NET Core application.
dotnet/Scaffolding
Code generators to speed up development.
pnp/powershell
PnP PowerShell
paillave/Etl.Net
Mass processing data with a complete ETL for .net developers
AzureAD/microsoft-identity-web
Helps creating protected web apps and web APIs with Microsoft identity platform and Azure AD B2C
Kyrodan/KeeAnywhere
A cloud storage provider plugin for KeePass Password Safe
Version Downloads Last Updated
5.84.0 924 7/2/2025
5.83.0 12,947 6/25/2025
5.82.0 52,963 6/18/2025
5.81.0 107,393 6/10/2025
5.80.0 108,864 6/3/2025
5.79.0 381,454 5/20/2025
5.78.0 208,574 5/13/2025
5.77.0 776,143 4/15/2025
5.76.0 518,003 4/9/2025
5.75.0 616,448 3/25/2025
5.74.0 272,976 3/18/2025
5.73.0 794,078 3/12/2025
5.72.0 350,561 3/5/2025
5.71.0 404,819 2/25/2025
5.70.0 567,299 2/13/2025
5.69.0 1,236,915 1/23/2025
5.68.0 1,374,200 1/2/2025
5.67.0 774,732 12/13/2024
5.66.0 75,515 12/11/2024
5.65.0 299,964 12/5/2024
5.64.0 317,278 11/28/2024
5.63.0 652,243 11/20/2024
5.62.0 1,022,422 11/7/2024
5.61.0 1,293,988 10/17/2024
5.60.0 943,622 10/9/2024
5.59.0 405,798 10/2/2024
5.58.0 847,558 9/12/2024
5.57.0 299,381 9/5/2024
5.56.1 548,788 8/28/2024
5.56.0 5,985,767 6/6/2024
5.55.0 416,831 5/31/2024
5.54.0 437,659 5/24/2024
5.53.0 453,458 5/16/2024
5.52.0 597,353 5/8/2024
5.51.0 655,682 5/2/2024
5.50.0 427,806 4/25/2024
5.49.0 732,332 4/17/2024
5.48.0 542,853 4/9/2024
5.47.0 221,023 4/5/2024
5.46.0 433,781 3/27/2024
5.45.0 362,769 3/22/2024
5.44.0 1,731,948 2/28/2024
5.43.0 589,836 2/21/2024
5.42.0 436,370 2/14/2024
5.41.0 1,288,034 2/1/2024
5.40.0 1,345,094 1/24/2024
5.39.0 430,855 1/17/2024
5.38.0 756,659 1/4/2024
5.37.0 615,475 12/14/2023
5.36.0 1,112,275 11/22/2023
5.35.0 381,602 11/16/2023
5.34.0 314,227 11/8/2023
5.33.0 198,065 11/3/2023
5.32.0 305,858 10/26/2023
5.31.0 335,985 10/19/2023
5.30.0 185,034 10/12/2023
5.29.0 157,427 10/6/2023
5.28.0 469,760 9/21/2023
5.27.0 214,364 9/14/2023
5.26.0 197,478 9/6/2023
5.25.0 226,623 8/31/2023
5.24.0 335,054 8/24/2023
5.23.0 156,652 8/18/2023
5.22.0 301,442 8/10/2023
5.21.0 235,784 8/2/2023
5.20.0 140,472 7/27/2023
5.19.0 209,940 7/19/2023
5.18.0 254,867 7/12/2023
5.17.0 266,085 7/5/2023
5.16.0 184,160 6/29/2023
5.15.0 346,626 6/21/2023
5.14.0 212,546 6/15/2023
5.13.0 256,713 6/9/2023
5.12.0 636,868 5/25/2023
5.11.0 296,717 5/17/2023
5.10.0 225,929 5/11/2023
5.9.0 179,355 5/4/2023
5.8.0 148,404 4/28/2023
5.7.0 214,121 4/20/2023
5.6.0 329,205 4/13/2023
5.5.0 440,877 4/6/2023
5.4.0 204,731 3/29/2023
5.3.0 258,465 3/22/2023
5.2.0 218,691 3/15/2023
5.1.0 174,034 3/8/2023
5.0.0 270,195 2/28/2023
5.0.0-rc.5 11,573 2/9/2023
5.0.0-rc.4 3,828 1/27/2023
5.0.0-rc.3 2,848 1/18/2023
5.0.0-rc.2 1,516 1/11/2023
5.0.0-rc.1 6,551 12/16/2022
5.0.0-preview.14 64,970 11/23/2022
5.0.0-preview.13 37,250 10/19/2022
5.0.0-preview.12 3,475 9/28/2022
5.0.0-preview.11 1,836 9/14/2022
5.0.0-preview.10 80,559 7/20/2022
5.0.0-preview.9 2,460 7/13/2022
5.0.0-preview.8 20,560 6/21/2022
5.0.0-preview.7 1,162 6/9/2022
5.0.0-preview.6 808 6/2/2022
5.0.0-preview.5 4,921 5/20/2022
5.0.0-preview.4 4,972 5/6/2022
5.0.0-preview.3 3,646 4/20/2022
5.0.0-preview.2 1,152 4/5/2022
5.0.0-preview.1 1,731 3/24/2022
4.54.0 6,166,953 2/16/2023
4.53.0 1,123,307 2/8/2023
4.52.0 1,284,045 1/25/2023
4.51.0 1,333,163 1/17/2023
4.50.0 707,872 1/5/2023
4.49.0 1,127,793 12/15/2022
4.48.0 1,473,930 11/23/2022
4.47.0 1,400,747 11/9/2022
4.46.0 725,527 11/2/2022
4.45.0 1,166,319 10/19/2022
4.44.0 466,802 10/12/2022
4.43.0 351,737 10/5/2022
4.42.0 609,930 9/28/2022
4.41.0 625,551 9/22/2022
4.40.0 475,312 9/14/2022
4.39.0 2,474,608 9/6/2022
4.38.0 402,036 8/31/2022
4.37.0 475,727 8/25/2022
4.36.0 3,541,070 8/12/2022
4.35.0 1,057,346 7/21/2022
4.34.0 4,229,988 7/6/2022
4.33.0 773,732 6/29/2022
4.32.0 439,914 6/21/2022
4.31.0 263,687 6/16/2022
4.30.0 455,126 6/8/2022
4.29.0 1,254,768 5/18/2022
4.28.0 518,313 5/11/2022
4.27.0 340,576 5/4/2022
4.26.0 225,738 4/29/2022
4.25.0 1,300,826 4/13/2022
4.24.0 358,374 4/5/2022
4.23.0 171,175 3/30/2022
4.22.0 451,702 3/22/2022
4.21.0 378,635 3/16/2022
4.20.0 261,023 3/9/2022
4.19.0 772,874 2/24/2022
4.18.0 768,983 2/10/2022
4.17.0 1,044,631 1/27/2022
4.16.0 336,132 1/19/2022
4.15.0 465,699 1/13/2022
4.14.0 966,132 1/5/2022
4.13.0 644,517 12/22/2021
4.12.0 290,639 12/15/2021
4.11.0 2,868,667 11/25/2021
4.10.0 721,776 11/11/2021
4.9.0 648,713 11/3/2021
4.8.0 177,276 10/28/2021
4.7.0 677,409 10/14/2021
4.6.0 1,459,282 9/23/2021
4.5.0 775,026 9/9/2021
4.4.0 307,408 9/2/2021
4.3.0 414,387 8/19/2021
4.2.0 1,029,888 8/12/2021
4.1.0 198,247 8/5/2021
4.0.0 602,283 7/23/2021
4.0.0-preview.7 16,931 6/18/2021
4.0.0-preview.6 15,374 6/7/2021
4.0.0-preview.5 8,543 5/21/2021
4.0.0-preview.4 15,219 5/7/2021
4.0.0-preview.3 11,145 4/22/2021
4.0.0-preview.2 11,471 4/1/2021
4.0.0-preview.1 24,463 3/17/2021
3.35.0 5,021,271 6/15/2021
3.34.0 432,647 6/10/2021
3.33.0 3,477,244 5/20/2021
3.32.0 532,390 5/12/2021
3.31.0 254,628 5/7/2021
3.30.0 887,830 4/20/2021
3.29.0 657,363 4/2/2021
3.28.0 307,833 3/25/2021
3.27.0 973,480 3/10/2021
3.26.0 390,754 3/4/2021
3.25.0 481,854 2/18/2021
3.24.0 505,825 2/10/2021
3.23.0 599,445 1/29/2021
3.22.0 575,058 1/20/2021
3.21.0 1,337,568 12/8/2020
3.20.0 1,197,730 11/19/2020
3.19.0 1,310,271 10/27/2020
3.18.0 580,646 10/14/2020
3.17.0 222,071 10/10/2020
3.16.0 250,830 10/7/2020
3.15.0 619,350 9/24/2020
3.14.0 240,984 9/15/2020
3.13.0 146,175 9/10/2020
3.12.0 949,294 8/26/2020
3.11.0 17,413 8/25/2020
3.10.0 163,188 8/18/2020
3.9.0 5,275,070 7/28/2020
3.8.0 1,234,127 6/16/2020
3.7.0 230,098 6/9/2020
3.6.0 690,970 5/21/2020
3.5.0 348,064 5/12/2020
3.4.0 226,626 5/1/2020
3.3.0 401,672 4/14/2020
3.2.0 134,210 4/7/2020
3.1.0 236,951 4/1/2020
3.0.1 375,625 3/18/2020
1.21.0 8,030,598 12/11/2019
1.20.0 738,840 11/6/2019
1.19.0 188,575 10/29/2019
1.18.0 308,812 10/15/2019
1.17.0 893,314 8/15/2019
1.16.0 728,633 7/2/2019
1.15.0 1,326,301 5/1/2019
1.14.0 1,629,896 3/25/2019
1.14.0-preview 22,727 2/25/2019
1.13.0-preview 27,314 12/18/2018
1.12.0 1,423,273 10/31/2018
1.11.0 307,820 9/19/2018
1.10.0 425,713 7/6/2018
1.9.0 1,955,361 5/3/2018
1.8.1 220,911 3/26/2018
1.7.0 202,429 12/14/2017
1.6.2 158,847 10/6/2017
1.6.1 3,408 10/5/2017
1.6.0 12,160 9/26/2017
1.5.1 79,949 8/24/2017
1.5.0 54,476 8/8/2017
1.4.0 250,682 6/12/2017
1.3.0 199,089 5/10/2017
1.2.1 108,162 2/13/2017
1.2.0 121,446 11/8/2016
1.1.1 116,883 9/27/2016
1.0.1 301,028 4/21/2016
1.0.0 13,613 3/30/2016
0.2.8-rc 12,195 6/24/2015

- [Breaking change] Update Microsoft.Graph.Core to v2.0.0
- [Breaking change] Replace Newtosoft.Json with System.Text.Json
- Add request builder methods for GraphResponse
- [Breaking change] Removed IGraphServiceClient interface
- Added GraphServiceClient constructor that accepts TokenCredential instance
- [Breaking change] Bump minimun .NetFramework version to 4.6.2 from 4.6.1
- Publish symbols.