SharePoint API vs Microsoft Graph API?

Adz 286 Reputation points
2021-12-06T23:29:25.553+00:00

We are starting work on a new project that requires Read only functionality from SharePoint and OneDrive (for data archiving purposes).

We are at a bit of a standstill as whether to use the SharePoint API or Graph API.

I don't think we have enough resources to implement both solutions. However, saying that, the Graph API is the API that will be receiving long term support from what I've read.

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,411 questions
0 comments No comments
{count} votes

Accepted answer
  1. RaytheonXie_MSFT 30,186 Reputation points Microsoft Vendor
    2021-12-07T03:48:14.287+00:00

    Hi @Adz ,
    I will recommend you Microsoft Graph API. Microsoft Graph is a RESTful web API that enables you to access Microsoft Cloud service resources. After you register your app and get authentication tokens for a user or service, you can make requests to the Microsoft Graph API. Microsoft Graph becomes useful when you wish to link several resources types in one point. Also as trevorseward said, The SharePoint API isn't being developed any longer. So the Graph might be a better choice for us.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Trevor Seward 11,681 Reputation points
    2021-12-07T00:27:18.913+00:00

    Always use the Graph API. The SharePoint API (generally) isn't being developed any longer. Investments are going into the Graph API.

    3 people found this answer helpful.