0

I am integrating Sharepoint with POSTMAN, firstly i created an app and get the client id and client secret key with which i generate the oAuth authentication and it is working perfectly fine. now when i try to search using http://tenant.sharepoint.com/_api/search/query?querytext='change' i am getting {"error_description":"Invalid issuer or signature."}.

I tried passing grant_type as client credentials still same error.

PostMan

  • The token you get from OAuth has an expiration date. Maybe you are trying to reach any SharePoint service with an u updated token. Please try again getting a new token and calling the service. – jaloplo Aug 21 '19 at 9:09
  • In addition to this, you must grant access to your client on AAD to be able to call SharePoint services and receive response. – jaloplo Aug 21 '19 at 9:10
  • I crosschecked my oauth token and it is still actie. In the AAD i have granted with Sites.FullControl.All to Sharepoint application. – Abdul Azeez Aug 21 '19 at 9:27
  • Did you try calling the same web service in the Graph Explorer tool? – jaloplo Aug 22 '19 at 10:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.