0

I just created an App today and now it got successfully working but all of sudden i am getting a message saying that "Invalid JWT token. The token is expired".

What should i do refresh this token.

I created an app using Sharepoint Online app creation by following below blog: https://www.ktskumar.com/2017/01/access-sharepoint-online-using-postman/

0

To troubleshoot the issue, you could renew a Shared Secret for an app without changing the Client ID according to the article below.

Replace an expiring client secret in a SharePoint Add-in

And you also could update an expiring Client Secret according to the article below.

Updating an expiring Client Secret (JWT token).

0

If you have created an App that means you have the ClientId and Secret you can use this library sp-devops to get to access API's

$ sp-devops --accesstoken # will generate a new access token everytime it expires.

Check in detail: https://medium.com/@joy.blanks/frontend-frameworks-inside-microsoft-sharepoint-e7694aa43c5d

  • Thank you Joy for the response. Can you please let me know where should i mention above script. Let me tell you what i did is by following the blog posted in question i generated a token and that token i using in servicenow to integrate with Sharepoint. Now the script line which you gave honestly i dont have idea what is if you can please help me out that would be great. – Abdul Azeez Aug 25 at 4:36

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.