OAuth Access or Refresh tokens are not available. Verify the OAuth configuration and click the 'Get OAuth Token' link below to request a new token.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-20-2020 05:37 AM
While integrating Office 365 into Service Now we are getting error "OAuth Access or Refresh tokens are not available. Verify the OAuth configuration and click the 'Get OAuth Token' link below to request a new token" could you please help how to resolve the above issue.
- Labels:
-
Integrations

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-23-2020 10:09 PM
Hi Gouthami,
Please try after below changes to the fields:
1) Oauth API Script : OAuthUtilClient
2) Send Crednetials : In Request Body
Thanks,
Gaurav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā12-20-2022 04:49 AM
@Gouthami_T @Gaurav Sharma11 - Hi did you ever find a solution for this? we are facing the same issue

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-21-2020 05:37 AM
Different ways of fixing this can be found here. Please take a look.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-23-2020 06:00 AM
Hi Gouthami,
You have given grant type as "authorization code", are you sure this the correct Grant type?, why I am asking this question is because you have given Send credentials as basic Authorization header in the application registry. if the grant type is authorization code then we should not give that send credentials.
And one more thing is you have to provide the authorization URL if the grant type is Authorization code, otherwise, it will not generate the OAuth token.
Hope this is Helpful.
Thank you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
ā01-23-2020 06:57 AM
Hi,
Please ensure that you provide the redirect url which is available in Application Registry > OAuth Setting to O365. Because even if your SeviceNow OAuth settings are correct, if the redirect URL is not mentioned in O365 settings, ServiceNow wont receive the Authorization token, which will be used in the subsequent POST calls by ServiceNow to get the Access Token.
Please check it and comment.
Thanks,
Subhadip