Workato · HTTP connector
Microsoft Graph API connection disconnects after one hour
Short answer
An HTTP connection to Microsoft Graph that disconnects after an hour is missing a refresh token, because the OAuth scope lacks offline_access. Add offline_access to the OAuth 2.0 scope field, save and reconnect.
VerifiedLast verified
01Error text
HTTP connection to Microsoft Graph API disconnects after one hour02Likely causes
- The access token expires, by default after one hour, and the initial OAuth scope lacks
offline_access, so no refresh token is returned.
03How to fix it
- Open the HTTP connection.
- Set the OAuth 2.0 scope field to include
offline_access. - Save, then reconnect the connection.
iNotes
The docs describe this symptom without a literal error message, so the text above is a description.
04Official documentation
→Related errors
- Salesforce connection disconnects repeatedly (Connection lost)A Salesforce connection that keeps showing "Connection lost" usually means Salesforce is not returning a refresh token. Grant the "Perform requests at any time" scope, then check the Refresh Token Policy and IP Relaxation settings.
- 401 UnauthorizedA 401 Unauthorized error in Workato means the external service rejected the authentication credentials sent with the request. Disconnect the app connection and reconnect it with valid, current credentials.
Test every fix in a non-production environment before you apply it to production. See how entries are verified.
More for Workato work:Open Workato jobsWorkato rates and salariesHire a senior Workato developer