Overview of Microsoft Graph
Microsoft Graph is the gateway to data and intelligence in Microsoft 365. Microsoft Graph provides a unified programmability model that you can use to take advantage of the tremendous amount of data in Office 365, Enterprise Mobility + Security, and Windows 10.
You can use the Microsoft Graph API to build apps for organizations and consumers that interact with the data of millions of users. With Microsoft Graph, you can connect to a wealth of resources, relationships, and intelligence, all through a single endpoint:
What's in the graph?
Microsoft Graph exposes REST APIs and client libraries to access data on the following:
- Azure Active Directory
- Office 365 services: SharePoint, OneDrive, Outlook/Exchange, Microsoft Teams, OneNote, Planner, and Excel
- Enterprise Mobility and Security services: Identity Manager, Intune, Advanced Threat Analytics, and Advanced Threat Protection.
- Windows 10 services: activities and devices
To find out more, see Major services and features in Microsoft Graph.
Microsoft Graph connects all the resources across these services using relationships. For example, a user can be connected to a group through a memberOf relationship, and to another user through a manager relationship. Your app can traverse these relationships to access these connected resources and perform actions on them through the API.
You can also get valuable insights and intelligence about the data from Microsoft Graph. For example, you can get the popular files trending around a particular user, or get the most relevant people around a user.
Discover the possibilities in the relationships within Microsoft Graph.
What can you do with Microsoft Graph?
You can use Microsoft Graph to build experiences around the user's unique context to help them be more productive. Imagine an app that...
- Looks at your next meeting and helps you prepare for it by providing profile information for attendees, including their job titles and who they work with, as well as information about the latest documents and projects they're working on.
- Scans your calendar, and suggests the best times for the next team meeting.
- Fetches the latest sales projection chart from an Excel file in your OneDrive and lets you update the forecast in real time, all from your phone.
- Subscribes to changes in your calendar, sends you an alert when you’re spending too much time in meetings, and provides recommendations for the ones you can miss or delegate based on how relevant the attendees are to you.
- Helps you sort out personal and work information on your phone; for example, by categorizing pictures that should go to your personal OneDrive and business receipts that should go to your OneDrive for Business.
You can do all this and more with the Microsoft Graph API.
Check out some of these common scenarios for working with the Microsoft Graph API. The links take you to the Graph Explorer.
Access Microsoft Graph at scale
Microsoft Graph Data Connect enables bulk - rather than the traditional transactional - access to Office 365 data. With the bulk Office 365 data, you can use Azure tools to build intelligent apps that:
- Find you the closest expert on a topic to you in your organization
- Automate knowledge base creation
- Analyze meeting requests to provide insights into conference room utilization
- Detect fraud with productivity and communication data
When should I use Microsoft Graph Data Connect?
Microsoft Graph Data Connect provides a new way for you to interact with the data that's available through Microsoft Graph APIs. In addition to providing scalable access to Office 365 data, Microsoft Graph Data Connect also provides a unique set of capabilities that streamline the building of intelligent applications, all within the Microsoft cloud.
|Feature||Microsoft Graph API||Microsoft Graph Data Connect|
|Access scope||Single user or entire tenant||Many users or groups|
|Access pattern||Real time||Recurrent schedule|
|Data operations||Operates on data master||Operates on a cache of the data|
|Data protection||Data is protected while in Microsoft 365||Data protection is extended to the cache of data in your Azure subscription|
|Admin consent||Entire organization
|Select groups of users
Resource types and properties
|Access tools||RESTful web queries||Azure Data Factory|
- Check out some featured scenarios.
- Try a sample request in the Graph Explorer.
- Use the quick start to set up a ready-to-run sample app.
- Look under Learn in the table of contents to read about services and features that you can use in your scenarios.
- Find out how to get an auth token in your app.
- Start using the API.
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.