Microsoft SharePoint · Authentication Profile

Sharepoint Authentication

Authentication

Microsoft SharePoint secures its APIs with oauth2 across 1 declared security scheme, as derived from its OpenAPI definitions. OAuth 2.0 is offered via the authorizationCode flow(s).

CollaborationDocument-ManagementEnterprise Content ManagementIntranetMicrosoft
Methods: oauth2 Schemes: 1 OAuth flows: authorizationCode API key in:

Security Schemes

oauth2 oauth2
· flows: authorizationCode

Source

Authentication Profile

Raw ↑
generated: '2026-06-20'
method: searched
source: openapi/sharepoint-rest-api.yaml
docs: https://learn.microsoft.com/en-us/graph/auth/
docs_sharepoint_rest: https://learn.microsoft.com/en-us/sharepoint/dev/sp-add-ins/authorization-and-authentication-of-sharepoint-add-ins
notes: >-
  Both the SharePoint REST API and Microsoft Graph authenticate with OAuth 2.0 through
  Microsoft Entra (Azure AD / Microsoft identity platform). Supports authorization code
  (delegated), client credentials (app-only), and on-behalf-of flows. Tokens are bearer
  tokens issued by login.microsoftonline.com. Write operations against the SharePoint REST
  service additionally require the X-RequestDigest form-digest header.
summary:
  types:
  - oauth2
  oauth2_flows:
  - authorizationCode
schemes:
- name: oauth2
  type: oauth2
  flows:
  - flow: authorizationCode
    authorizationUrl: https://login.microsoftonline.com/{tenant}/oauth2/v2.0/authorize
    tokenUrl: https://login.microsoftonline.com/{tenant}/oauth2/v2.0/token
    scopes: 4
  description: OAuth 2.0 via Azure AD / Microsoft Identity Platform.
  sources:
  - openapi/sharepoint-rest-api.yaml