Microsoft Graph .NET SDK
Build powerful integrations with Office 365, Azure AD, OneDrive, Teams, and more through the unified Microsoft Graph API.
Why Microsoft Graph .NET SDK?
Unified API Access
Access Office 365, Azure AD, OneDrive, Teams, SharePoint, and more through a single unified API
Modern .NET Support
Built with Kiota code generation targeting .NET Standard 2.0, 2.1, and .NET 5+
Fluent Request Builders
Intuitive request builder pattern that mirrors Microsoft Graph REST API structure
Azure Identity Integration
Seamless authentication using TokenCredential from Azure.Identity library
Quick Start
Get up and running in minutes with the Microsoft Graph .NET SDK.Key Features
User Management
Manage users, profiles, and directory information
Mail & Calendar
Send emails and manage calendar events
File Operations
Access OneDrive and SharePoint files
Teams Integration
Integrate with Microsoft Teams
Groups
Manage groups and memberships
Identity & Access
Manage applications and service principals
Core Concepts
Learn the fundamental concepts of working with the Microsoft Graph .NET SDK.Authentication
Configure authentication with Azure.Identity and TokenCredential
Request Builders
Build requests using the fluent request builder pattern
Query Parameters
Filter, select, expand, and order your data with OData queries
Error Handling
Handle exceptions and errors gracefully
Migration Guides
Upgrading from an earlier version? We’ve got you covered.Upgrade to v5
Migration guide for v5 with Kiota generation
Upgrade to v4
Migration guide for v4 changes
From v1
Upgrade from v1.x versions
