Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Differences between Sharepoint REST API and Microsoft Graph Sharepoint API

I want to interact with Office365 Sharepoint sites, so I am trying to choose right API for this. There are different APIs for working with Sharepoint, which are good for me: Sharepoint REST API and Microsoft Graph API for Sharepoint. Which one should I choose? Are there any differences in functionality between them?

What I want to do exactly: download from Office365/upload to Office 365 site collections, sites, lists, folders, items, documents; save metadata and settings from Sharepoint site; save history.

Is it possible? If so, in which way can I do it?

like image 765
zamazan4ik Avatar asked Sep 14 '26 21:09

zamazan4ik


1 Answers

Across all the Microsoft 365 services, teams are moving towards making all functionality available on the Microsoft Graph API. Currently, not all functionality is available on the Microsoft Graph.

My recommendation is to try and do what you are trying to do using Microsoft Graph API. If the feature is not there yet, then fall back to the SharePoint REST API and make sure the team knows you need that feature on the Microsoft Graph.

I am not able to tell you specific differences in functionality between what is supported in SharePoint REST API versus Microsoft Graph, however, the benefit of using the Graph is that you get a consistent developer experience for authentication, documentation, SDKs, samples and features like change notifications, delta queries and batch requests.

like image 165
Darrel Miller Avatar answered Sep 18 '26 19:09

Darrel Miller



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!