Graph API work for SharePoint server?

Andy 1,351 Reputation points
2022-12-26T06:00:39.51+00:00

Can I use Graph API to get the content of SharePoint Server? Or just use for SharePoint Online?

Microsoft 365 and Office SharePoint Server For business
Microsoft 365 and Office SharePoint Development
Microsoft Security Microsoft Graph
0 comments No comments
{count} votes

Accepted answer
  1. Gopinath Chennamadhavuni 2,446 Reputation points
    2022-12-26T06:18:24.627+00:00

    Hi @Andy ,

    Thanks for reaching out,

    As per my knowledge Microsoft Graph API will not be available for SharePoint on-premises/Server. MS Graph is Microsoft's API for their online services, so it wouldn't work on SharePoint OnPrem. Microsoft graph is part of Azure infrastructure and does not know anything about your local environment. To use Graph API you need to register an App in Azure AD. With an on-premises environment you can't perform this step since you are not connected to Azure AD in any way.

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.