Oauth token validation

shivani42
Tera Contributor
Spoiler
 

Hi All,

We are having issue with MS dynamics integration.It was working fine till oct 9th. The issue is showing as invalid username and password combo. The MS team confirmed that the credentials which we used to fetch the refresh token got on Oct 9th. My confusion is, does it affect our SN integration. Because I saw there is no access token getting generated in manage token table. Even we have refresh token valid till Jan. My understanding is, we need the user credentials only one time in initial step but after that refresh token getting fetch access token to make the call.

Anyone has any idea?

Thanks,

Shivani

1 REPLY 1

Ankur Bawiskar
Tera Patron
Tera Patron

@shivani42 

best to get new access and refresh token everytime before hitting the Actual API

Script to retrieve Access and Refresh tokens using GlideOAuthClient libraries 

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader