Regarding SharePoint Online REST API testing

Brass Contributor

Hi there,


Recently, I am testing several SharePoint REST APIs by Postman. but I got the "Access Denied". does anyone have any idea on it??? Thanks


Firstly: Retrieve the Tenant ID

Secondly: Get Access Token and Copy the "access_token"


Get Access Token.png


Thirdly: Access SharePoint Resource as show below


Access SharePoint Resource.png



3 Replies

@Will # _________ HYou might have already tried this but every time I need postman setup somewhere I follow the below steps they work without issue. Please follow the below link you should be able to set it up as the request response mechanism has became really complex and this post has helped me a lot.


Second approach where if I don't have much time I also use is this is a built in chrome app which don't require any additional authentication steps it can use the existing browser authentication to call and get the results.You can get the chrome extension here:




If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.


@Vikram_Samal Hi Vikram, thanks for your response. I will have it a try once again.

If you'd like to test REST APIs with SharePoint, I suggest using Fiddler as it's so easy to test against any SharePoint site and it'll take you just couple of minutes to connect, you can find more details in this article:

Basically you connect to the site in browser while having fiddler open, it will show you what cookies were used in the request (rtFa and FedAuth cookies ), you copy these and use them in any upcoming requests.