message: "Client error: `POST https://graph.microsoft.com/v1.0/users` resulted in a `401 Unauthorized` response:\n{\r\n \"error\": {\r\n \"code\": \"InvalidAuthenticationToken\",\r\n \"message\": \"Access token has expired.\",\r\n \"innerError (truncated...)\n"
code: 401
To Reproduce
Sync an endpoint of type MicrosoftGraphEndpoint which takes longer than 3600s.
The oauth2 token will be invalid after that time and all further objects fail.
Expected behavior
Renew token if a 401 exception of that type occurs.
Describe the bug
Process log:
To Reproduce
Sync an endpoint of type MicrosoftGraphEndpoint which takes longer than 3600s. The oauth2 token will be invalid after that time and all further objects fail.
Expected behavior
Renew token if a 401 exception of that type occurs.
Environment