--- title: "Set up Microsoft Graph API" slug: "set-up-microsoft-graph-api" tags: ["Task topic"] updated: 2026-03-20T07:42:04Z published: 2026-03-20T17:44:19Z canonical: "docs.staedean.com/set-up-microsoft-graph-api" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.staedean.com/llms.txt > Use this file to discover all available pages before exploring further. # Set up Microsoft Graph API To connect to SharePoint, the Microsoft Graph API is used. Register an app in Microsoft Entra ID and configure the Microsoft Graph permissions. The way you set up the app in Microsoft Entra ID, depends on how you want to access SharePoint. You can access SharePoint with: - Client credentials: [Get access without a user](https://learn.microsoft.com/en-us/graph/auth-v2-service?tabs=http). - Username and password: [Get access on behalf of a user](https://learn.microsoft.com/en-us/graph/auth-v2-user?tabs=http). For more information, refer to: - [Overview of Microsoft Graph](https://learn.microsoft.com/en-us/graph/overview) - [Permissions and consent in the Microsoft identity platform](https://learn.microsoft.com/en-us/entra/identity-platform/permissions-consent-overview)