Use Graph Explorer to try Microsoft Graph APIs

Graph Explorer is a developer tool that lets you conveniently make Microsoft Graph REST API requests and view corresponding responses. Use Graph Explorer to try APIs on the default sample tenant to explore capabilities, or sign in to your own tenant and use it as a prototyping tool to fulfill your app scenarios. This tool includes helpful features such as code snippets (C#, Java, and JavaScript), Microsoft Graph Toolkit and adaptive cards integration, and more.

Use Graph Explorer to:

  • Make Microsoft Graph API requests (GET, POST, PUT, PATCH, and DELETE) and see responses, including response code and any headers and bodies.
  • Consent to permissions. Graph Explorer supports only delegated permissions.
  • Add a request body and request header to your query.
  • View and copy the access token.
  • View sample queries for different services in Microsoft Graph.
  • View, download, or delete the queries that you ran in the last 30 days.
  • View and copy code snippets of each query that you run in C#, Java, and JavaScript.
  • Access Microsoft Graph Toolkit components and adaptive cards for some sample queries.
  • Share queries, including the request body and request headers.

Graph Explorer handles the authentication process for you. Customize the experience by collapsing the sidebar or changing the theme.

Get started

Graph Explorer is a web application hosted on the Microsoft Graph developer center. It's an open-source project, and we welcome your contributions and feedback in the GitHub repo.

Graph Explorer includes the following elements:

  1. HTTP verb drop-down list
  2. API version drop-down list
  3. Request query address bar
  4. Sample query
  5. Documentation link for the sample query

Screenshot of the Graph Explorer user interface.

Make a GET request in Graph Explorer

To run a GET request in Graph Explorer, you don’t have to be signed in. Just choose a sample query, and sample data shows in the response preview.

Screenshot of a sample request in Graph Explorer.

To make a request:

  1. Select a sample query and run it.
  2. Get the HTTP response code.
  3. View the response from the Microsoft Graph API with sample data.

When you sign in to Graph Explorer and choose the same query, the response is returned with real data from the tenant that you signed in to.

Run non-GET requests in Graph Explorer

To try POST, PUT, PATCH, and DELETE requests, sign in to Graph Explorer by using a Microsoft 365 account. This can be an organizational account for testing or demonstration purposes. To get a free sample Microsoft 365 E5 developer subscription, along with tools and other resources to help you build solutions for the Microsoft 365 platform, join the Microsoft 365 Developer Program.


If you choose to sign in by using your organizational account, running a non-GET request might affect the data in the tenant.

For example, to run a POST request, select POST in the drop-down list for the HTTP verb, and add a request body and request headers as appropriate.

Screenshot of a POST request in Graph Explorer.

  1. Select a POST sample query.
  2. Update Request body; for example, give the application a name.
  3. Select Run query.
  4. See the response from the Microsoft Graph API.

To view the response in a format other than the default JSON, choose the Request headers tab in the request pane, define the key/value pair, and then select Add.

Screenshot that shows the Request headers tab in Graph Explorer.

Next steps