Member-only story

How to Call SharePoint REST API from Postman using OAuth2 Authorization Flow

Venkadesh Sundaramurthy
4 min readJul 4, 2023

--

We’ll walkthrough how to Call SharePoint REST API from Postman using OAuth2 Authorization Flow

Prerequisites:

  • SharePoint Site Collection in your Microsoft 365 (M365) Tenant
  • Azure AD access to register an app (with an Azure Subscription linked to the Azure AD used by your M365 tenant)
  • Basic knowledge of SharePoint REST API and OAuth2 Authorization code flow
  • Postman tool to send HTTP requests

Implementation Steps:

  1. Register an application in Azure AD and grant necessary SharePoint permissions.
  2. Use Postman to build an HTTP request for obtaining an OAuth2 access token.
  3. Send the HTTP request to SharePoint, including the OAuth2 access token obtained from Postman.

Step 1: Register an application in Azure AD and add SharePoint Permissions

1. Go to Azure AD (Directory linked to your M365 tenant)

2. Select App Registration > New Registration > Fill out the form

--

--

Venkadesh Sundaramurthy
Venkadesh Sundaramurthy

Written by Venkadesh Sundaramurthy

Solution Architect | Microsoft 365 | SharePoint | Power Platform | Azure | Integration | Automation | Super User in Power Automate community

Responses (1)