Microsoft Graph overview - Microsoft Graph (original) (raw)

Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Overview of Microsoft Graph

In this article

Microsoft Graph is the gateway to data and intelligence in Microsoft cloud services like Microsoft Entra and Microsoft 365. Use the wealth of data accessible through Microsoft Graph to build apps for organizations and consumers that interact with millions of users.

Microsoft Graph, Microsoft Graph Data Connect, and Microsoft Graph connectors enable extending Microsoft 365 experiences and building intelligent apps.

Data and services powering the Microsoft 365 platform

In the Microsoft 365 platform, three main components facilitate the access and flow of data:

Together, the Microsoft Graph API, connectors, and Data Connect power the Microsoft 365 platform. With the ability to access Microsoft Graph data and other datasets, you can derive insights and analytics, extend Microsoft 365 experiences, and build unique, intelligent applications.

What's in Microsoft Graph?

Microsoft Graph exposes REST APIs and client libraries to access data on the following Microsoft cloud services:

To find out more, see Major services and features in Microsoft Graph.

An image showing the primary resources and relationships that are part of Microsoft Graph

What can you do with Microsoft Graph?

Use Microsoft Graph to build experiences around the user's unique context to help them be more productive. Imagine an app that...

Pick the first scenario about researching meeting attendees as an example. With the Microsoft Graph API, you can:

  1. Get the email addresses of the meeting event attendees.
  2. Look them up individually as a user in Microsoft Entra ID to get their profile information.

You can then navigate to other resources using relationships:

To find out more, see Integration patterns.

Microsoft Graph is secured and only authorized callers can access the data. For more information, see Authentication and authorization.

Check out some of these common scenarios for working with the Microsoft Graph API. The links take you to the Graph Explorer.

Operation URL
GET my profile https://graph.microsoft.com/v1.0/me
GET my files https://graph.microsoft.com/v1.0/me/drive/root/children
GET my photo https://graph.microsoft.com/v1.0/me/photo/$value
GET my mail https://graph.microsoft.com/v1.0/me/messages
GET my high importance email https://graph.microsoft.com/v1.0/me/messages?$filter=importance%20eq%20'high'
GET my calendar events https://graph.microsoft.com/v1.0/me/events
GET my manager https://graph.microsoft.com/v1.0/me/manager
GET last user to modify file foo.txt https://graph.microsoft.com/v1.0/me/drive/root/children/foo.txt/lastModifiedByUser
GET Microsoft 365 groups I'm a member of https://graph.microsoft.com/v1.0/me/memberOf/$/microsoft.graph.group?$filter=groupTypes/any(a:a%20eq%20'unified')
GET users in my organization https://graph.microsoft.com/v1.0/users
GET groups in my organization https://graph.microsoft.com/v1.0/groups
GET people related to me https://graph.microsoft.com/v1.0/me/people
GET items trending around me https://graph.microsoft.com/beta/me/insights/trending
GET my notes https://graph.microsoft.com/v1.0/me/onenote/notebooks

Bring data from an external content source to Microsoft Graph

Use Microsoft Graph connectors to bring data that is external to the Microsoft cloud into Microsoft Graph. Examples of such data can be an organization's human resources database or product catalog, hosted on-premises or in the public or private clouds.

Microsoft Graph connectors create connections to external data sources, index the data, and store it as external custom items and files. Once indexed, those items can show up in Microsoft Search and for apps that use the Microsoft Search API.

Access Microsoft Graph data at scale

Use Microsoft Graph Data Connect to access data on Microsoft Graph at scale, while allowing administrators granular consent and full control over their Microsoft Graph data. Data Connect streamlines the delivery of this data to Microsoft Azure.

Using Azure tools, you can then build intelligent apps that:

When should I use Microsoft Graph API or Data Connect?

Microsoft Graph Data Connect provides a new way for you to interact with the data that's available through Microsoft Graph APIs. Data Connect provides a unique set of tools 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 the source service like Microsoft 365 and Microsoft Entra Data protection is extended to the cache of data in your Azure subscription
User consent SelfResource types None
Admin consent Entire organizationResource types Select groups of usersResource types and propertiesExcludes users
Access tools RESTful web queries Azure Data Factory

Feedback

Additional resources

In this article