Office 365 Documentation
Comprehensive guides, APIs, and resources for building with Microsoft 365.
Welcome to the Office 365 Documentation
This documentation portal provides developers with the resources needed to integrate applications and services with Microsoft 365. Explore the vast capabilities of services like Exchange Online, SharePoint Online, Teams, OneDrive, and more.
Leverage the power of the Microsoft Graph API to access data and intelligence across Microsoft 365, or dive into service-specific APIs for deeper control.
Getting Started
Begin your development journey with Office 365 by following these essential steps:
- Set up a Microsoft 365 Developer Program account: Get a free sandbox environment to build and test. Learn more about the Developer Program.
- Register your application: Create an application identity in Azure Active Directory (now Microsoft Entra ID) to manage permissions and authentication. Register an application.
- Understand authentication flows: Learn how to secure your applications using OAuth 2.0 and OpenID Connect.
API Reference
Access detailed documentation for the APIs available within the Office 365 suite.
Microsoft Graph API
The Microsoft Graph is the gateway to data and intelligence in Microsoft 365. It provides a unified programming model that you can use to access data from across Microsoft cloud services.
Explore common scenarios:
- Accessing user profiles and mail
- Managing files in OneDrive and SharePoint
- Working with Microsoft Teams data
SharePoint REST API
Interact with SharePoint Online sites, lists, libraries, and data using the SharePoint REST API.
Exchange Web Services (EWS)
For advanced scenarios or legacy integrations, EWS provides programmatic access to mailbox data in Exchange Online.
SDKs
Simplify your development with official SDKs for various platforms and languages:
- Microsoft Graph SDKs: Available for .NET, Java, JavaScript, PHP, Python, and more. Explore Graph SDKs.
- Office Add-ins SDKs: For building extensions within Office applications. Learn about Office Add-ins.
Authentication and Authorization
Securely connect your applications to Microsoft 365 using Microsoft Entra ID.
Key concepts include:
- OAuth 2.0 and OpenID Connect: Industry-standard protocols for delegated authorization.
- App Registrations: Defining your application's identity and permissions.
- Scopes and Permissions: Granting your application specific access to user data.
- Token acquisition and refresh.
Resources:
Tutorials and Guides
Follow step-by-step tutorials to build common Office 365 integrations:
Code Samples
Browse a rich collection of code samples showcasing various Office 365 integration scenarios. Fork, download, and adapt these samples to accelerate your development.
Support & Community
Get help and connect with the developer community:
- Microsoft Q&A (for technical questions)
- Office Developer Blog
- Microsoft Tech Community