GraphQL API for the Microsoft Graph
Facebook's GraphQL is the perfect API solution for the Microsoft Graph. I highly encourage you to implement this, since it would improve development for React apps.

Thanks for your feedback! We are doing some investigation into GraphQL. We’ll keep you posted.
Thanks!
Office Extensibility Team
10 comments
-
We have been doing a significant amount of investigation and outreach regarding the use of GraphQL against Microsoft Graph. Through this process we have identified two major work streams relating to this topic:
- There are many missing backend querying capabilities that users familiar with OData would like to be fixed and would be need to be fixed before we could offer full GraphQL support.
- There are capabilities of GraphQL that are valuable and currently are not supported for Microsoft Graph that would be useful regardless of whether you query Microsoft Graph using GraphQL or OData.It is clear from customer feedback that support for GraphQL syntax would need to be in addition to our existing OData querying and we believe that is a realistic goal. However, in order to be able to support that we need to continue fixing the gaps that would prevent us from being able to implement full GraphQL support.
It would be a poor user experience for us to enable GraphQL syntax and then only have a fraction of GraphQL queries actually work. We also need to determine how to bring paging, sorting and filtering to all platforms as those capabilities are currently not standardized in GraphQL.
In summary, we are working towards bringing GraphQL equivalent features to Microsoft Graph with the hope that in the future we can offer GraphQL syntax as an option.
-
Michael Pizzo commented
@Ed Devitt (and others): can you provide a little more information re: the types of queries you would like to do using GraphQL that you can't do efficiently using the current (REST/OData-based) Graph API?
-
Arvind commented
If Power of Microsoft Graph with GraphQL Combined that it superfast response from multiple endpoints like O365, Exchange Online, Organization, Dynamics 365 etc by in single query. Very excited to see the combined power of this two.
-
Matt Coggin commented
My team at Medtronic is moving resources to GraphQL. As Office365 E3 customers, we are hopeful that Microsoft legitimizes this effort! MS Graph API is fantastic, converting or wrapping with a GraphQL API would take it to the next level.
-
Gil commented
This would be very exciting and enable more mobile apps with O365 .
The github was not updated for a while, are you still working on this? thank you. -
Ali Robertson commented
For those interested (e.g. me), there appears to be some demo code here; https://github.com/microsoftgraph/graphql-demo
-
Anonymous commented
We're currently working on a fully fledged application leveraging our own graph interface against Cosmos and a rather large set of Azure services. It would be great to be able to consolidate the pipeline using graphql everywhere, instead of having to use the old API's. Especially if it could be integrated nicely with Azure SSO.
-
John H. commented
Yes, please. Making Office data available on mobile efficiently would encourage the creation of custom mobile apps which can leverage the huge amount of data in Office.
-
Alex M commented
GraphQL for Microsoft Graph is exactly what we've been looking for!
-
Ed Devitt commented
GraphQL would be a great enhancement to the Microsoft graph. Since Office 365 stores so much data, the ability to use GraphQL, a more efficient way to query the data than REST, would be a big plus.