"Get OAuth Token" does not work to refresh OAuth token in Microsoft SharePoint Online spokeIssue When using Microsoft SharePoint Online spoke after OAuth token has expired, user needs to click on the "Get OAuth Token" related link to refresh the OAuth token . The popup page is showing token has been obtained successfully, however, on the OAuth 2.0 credentials page it is still showing error message "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."ReleaseAny instance releasesCauseOn the OAuth 2.0 Credentials page users may select "All MID servers" in the "Applies to" listbox to use any available MID servers configured on the instance. Please refer to below screenshot. If there are multiple active MID servers configured in the same MID server cluster or configured with the same IP address then system will randomly choose an available MID server to refresh the OAuth token. In this case every time when user click on "Get OAuth Token" link to refresh the token a new OAuth token will be generated but possibly via a different MID server user in the oauth_credential.LIST table. Below screenshot is showing two OAuth credentials have been created by different MID server users for the same OAuth profile. This results in an issue when a valid OAuth token has been obtained, however, as there is old and expired OAuth token left in the oauth_credential.LIST table system can not detect which one is valid and will still show above error message saying there is no available OAuth token. The root cause is ServiceNow IntegrationHub currently does not fully support MID server clustering logic on the platform level. More details can be referred in KB1000824.ResolutionPlease follow below steps to regenerate the OAuth token if customer is in the same situation as above. 1. Go to oauth_credential.LIST table and remove all old tokens configured for the SharePoint Online spoke 2. Open OAuth 2.0 Credentials page for Microsoft SharePoint Spoke 3. Change value in 'Applies to' listbox from "All MID servers" to "Specific MID servers" 4. Select a dedicated MID server for refreshing OAuth token and save 5. Click on "Get OAuth Token" related link again then token can be refreshed successfully