Authorize Postman to access SharePoint
1. Register Add-In
2. Grant Permissions to Add-In
3. Generate the Access Token
4. Access the SharePoint resource
1. Register Add-In:-
Open below url to create Add-in.
Generate Client ID, Client Secret ID and give required as shown below.
After click on Crete button copy Client ID and Client Secret ID in clipboard will use in next step.
2. Grant Permissions to Add-In:-
Open below url to give permission to our add-in.
Enter Client ID in App Id text and click on lookup button to retrieve add-in details.
In permission Request XML text box type below XML syntax as it is to give read permission.
<AppPermissionRequest Scope="http://sharepoint/content/sitecollection/web" Right="Read" />
After click on 'Create' button then click on 'Trust It' button to trust it.
Tenant Id required in next step, so go to below url to copy Tenant Id. In my case the highlighted text is Tenant Id.
Tenant Id : caf8f8f2-6ab2-49eb-b6db-2e2f43603ec1
3. Generate the Access Token:-
Open Postman tool and perform POST method.
URL : https://accounts.accesscontrol.windows.net/<TenantID>/tokens/OAuth/2
URL : https://accounts.accesscontrol.windows.net/caf8f8f2-6ab2-49eb-b6db-2e2f43603ec1/tokens/OAuth/2
Apply the below configurations in HEADER.
KEY : Content-Type
VALUE : application/x-www-form-urlencoded
Apply the below configurations in BODY.
KEY : grant_type
SYNTAX : client_credentials
VALUE : client_credentials
KEY : client_id
SYNTAX : ClientID@TenantID
VALUE : 2141cd97-d779-4962-a622-9bbdfb581f0e@caf8f8f2-6ab2-49eb-b6db-2e2f43603ec1
KEY : client_secret
SYNTAX : ClientSecret
VALUE : faAXsOGXcuHCIDYHHt9uFnjAL4pSCJ3vj09cNNZgnBM=
KEY : resource
SYNTAX : resource/SiteDomain@TenantID
VALUE : 00000003-0000-0ff1-ce00-000000000000/sharepointonline01.sharepoint.com@caf8f8f2-6ab2-49eb-b6db-2e2f43603ec1
In this Body configuration this "00000003-0000-0ff1-ce00-000000000000" resource value is common for all SharePoint online product.
Click on Send button to get access token from SharePoint.
4. Access the SharePoint resource:-
Open postman and perform POST method to read SharePoint site title using access token.
URL : https://sharepointonline01.sharepoint.com/sites/dev2/_api/web?$select=Title
Apply configurations in HEADER.
KEY : Authorization
SYNTAX : <token_type> <access_token>
This procedure will work for the online site, how about SharePoint 2013 (on - perm) siteReplyDelete
This worked for me! Thank you so much!ReplyDelete
The bearer token that is give is only valid for 12 hours, is it possible to make it last longer?ReplyDelete
Thank you boss.ReplyDelete
The writer has outdone himself this time. It is not at all enough; the website is also utmost perfect. I will never forget to visit your site again and again. https://123movies-website.orgReplyDelete
Thank you so much as you have been willing to share information with us. We will forever admire all you have done here because you have made my work as easy as ABC. https://soap2day.digitalReplyDelete
This was a really great contest and hopefully I can attend the next one. It was alot of fun and I really enjoyed myself.. https://megashare-website.comReplyDelete
It’s appropriate time to make some plans for the future and it is time to be happy. I have read this post and if I could I wish to suggest you few interesting things or advice. Perhaps you could write next articles referring to this article. I desire to read even more things about it! https://soap2dayy.coReplyDelete
This is highly informatics, crisp and clear. I think that everything has been described in systematic manner so that reader could get maximum information and learn many things. https://solarmovies.cloudReplyDelete
This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free. https://gomovies-sc.comReplyDelete
nice bLog! its interesting. thank you for sharing.... https://primewire.todayReplyDelete
You delivered such an impressive piece to read, giving every subject enlightenment for us to gain information. Thanks for sharing such information with us due to which my several concepts have been cleared. https://movie4k.mediaReplyDelete
This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free https://flixtor.mediaReplyDelete
This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free https://xmovies8.oneReplyDelete
A very awesome blog post. We are really grateful for your blog post. You will find a lot of approaches after visiting your post https://movieninja.liveReplyDelete
A very awesome blog post. We are really grateful for your blog post. You will find a lot of approaches after visiting your post. https://onlinemovie25.comReplyDelete
I can’t believe focusing long enough to research; much less write this kind of article. You’ve outdone yourself with this material without a doubt. It is one of the greatest contents. https://putlocker.workReplyDelete
Positive site, where did u come up with the information on this posting?I have read a few of the articles on your website now, and I really like your style. Thanks a million and please keep up the effective work https://projectfreetv.oneReplyDelete
Positive site, where did u come up with the information on this posting?I have read a few of the articles on your website now, and I really like your style. Thanks a million and please keep up the effective work. https://projectfreetv.space/ReplyDelete
I think that thanks for the valuabe information and insights you have so provided here. https://y-ymovies.comReplyDelete
Wonderful article. Fascinating to read. I love to read such an excellent article. Thanks! It has made my task more and extra easy. Keep rocking https://movietube.videoReplyDelete
Thank you so much as you have been willing to share information with us. We will forever admire all you have done here because you have made my work as easy as https://thecouchtuner.oneReplyDelete
Hey, I am so thrilled I found your blog, I am here now and could just like to say thank for a tremendous post and all round interesting website. Please do keep up the great work. I cannot be without visiting your blog again and again. https://vumoo.vipReplyDelete
You have performed a great job on this article. It’s very precise and highly qualitative. You have even managed to make it readable and easy to read. You have some real writing talent. Thank you so much. https://currentputlocker.siteReplyDelete
Excellent blog! I found it while surfing around on Google. Content of this page is unique as well as well researched. Appreciate it. https://myvumoo.comReplyDelete
Great survey, I'm sure you're getting a great response https://newcouchtuner.siteReplyDelete
Keep up the good work; I read few posts on this website, including I consider that your blog is fascinating and has sets of the fantastic piece of information. Thanks for your valuable efforts. https://the123movies.siteReplyDelete
Excellent to be visiting your blog again, it has been months for me. Rightly, this article that I've been served for therefore long. I want this article to finish my assignment within the faculty, and it has the same topic together with your article. Thanks for the ton of valuable help, nice share. https://la-123movies.oneReplyDelete
Keep up the good work; I read few posts on this website, including I consider that your blog is fascinating and has sets of the fantastic piece of information. Thanks for your valuable efforts. https://123-movies.siteReplyDelete
I really like your writing style, great information, thankyou for posting. https://putlockertv.oneReplyDelete
Great job for publishing such a beneficial web site. Your web log isn’t only useful but it is additionally really creative too. https://soaptoday.websiteReplyDelete
Remarkable article, it is particularly useful! I quietly began in this, and I'm becoming more acquainted with it better! Delights, keep doing more and extra impressive https://soaptoday.spaceReplyDelete
Remarkable article, it is particularly useful! I quietly began in this, and I'm becoming more acquainted with it better! Delights, keep doing more and extra impressive! https://1soaptoday.siteReplyDelete
This article was written by a real thinking writer without a doubt. I agree many of the with the solid points made by the writer. I’ll be back day in and day for further new updates. https://thesolarmovies.spaceReplyDelete
Great post but I was wondering if you could write a little more on this subject? I’d be very thankful if you could elaborate a little bit further. Thanks in advance! https://123movies-to.spaceReplyDelete
I admit, I have not been on this web page in a long time... however it was another joy to see It is such an important topic and ignored by so many, even professionals. I thank you to help making people more aware of possible issues. https://1primewire.topReplyDelete
This is my first time i visit here. I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here keep up the good work https://theprimewire.websiteReplyDelete
i really like this article please keep it up. indian visa applicationReplyDelete
I am very happy to discover your post as it will become on top in my collection of favorite blogs to visit. UNITED STATES VISA REQUIREMENTSReplyDelete
I just want to let you know that I just check out your site and I find it very interesting and informative.. Canada Visitor VisaReplyDelete
Profit primarily prime quality items -- you can understand them all within: UNITED STATES TOURIST VISAReplyDelete
Wow, cool post. I’d like to write like this too – taking time and real hard work to make a great article… but I put things off too much and never seem to get started. Thanks though. INDISK NØDVISUMReplyDelete
I can recommend primarily decent and even responsible tips, as a result, view it: BORANG PERMOHONAN VISA INDIAReplyDelete
I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post. Commercial RoofersReplyDelete
I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post. Visto Canada ETAReplyDelete
hi was just seeing if you minded a comment. i like your website and the thme you picked is super. I will be back. เคล็ดลับเล่นบาคาร่าออนไลน์ReplyDelete
I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here! keep up the good work... URGENT INDIA VISAReplyDelete
The most interesting text on this interesting topic that can be found on the net ... 토토커뮤니티ReplyDelete
Positive site, where did u come up with the information on this posting? I'm pleased I discovered it though, ill be checking back soon to find out what additional posts you include. Visa USAReplyDelete
Amazing, this is great as you want to learn more, I invite you to This is my page. fusible interlining fabricReplyDelete
This content is simply exciting and creative. I have been deciding on an institutional move and this has helped me with one aspect. good iptvReplyDelete
For this web site, you will see our account, remember to go through this info. 토토사이트ReplyDelete
Gives you the best website address I know there alone you'll find how easy it is. link pos4dReplyDelete
I recommend only good and reliable information, so see it: slot pragmaticReplyDelete
This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free. massagers hand heldReplyDelete