Question

Refresh the OAuth Token Automatically for Dynamics Connector after 90 Days of Inactive

  • 15 June 2021
  • 2 replies
  • 55 views

Userlevel 5
Badge

Hello Team,

When we authorize the Dynamics Connection, it will generate a new Auth Token and that token has 90 day expiry period. If the connection was not yet authorized for next 90 days then token will expiry and Jobs will started failing. However, If we re-authorize the connection then new OAuth Token will be generated and jobs will run normally but it is a repeat process for every 90 days. Could you please verify and see if we can have an token refreshed automatically when it is about to expiry


2 replies

One thing I found from working with my engineers is that Azure AD on our side doesn’t detect that it has been “working”. Meaning that it has connected to Gainsight to run jobs. If Gainsight could at least give that acknowledgement, no refresh token would be necessary. It would detect that it has been an active account, and never lose its token.

Userlevel 2

There is a limitation at Dynamics’ end (https://docs.microsoft.com/en-us/azure/active-directory/develop/refresh-tokens). As suggested by @kbolam , we are trying to see if we can work around this limitation. Will keep you posted

Reply