- Joined
- Jan 19, 2018
- Messages
- 3,465
- Reaction score
- 2,324
Before I go digging into what's happening and spend a couple hours, I figured I would ask here to see if anyone can shortcut me the pain.
Dynamics CRM, setup and successfully working. At some point (days? weeks?) the refresh token stops working. Doing a test gives a detailed error that the refresh token has expired.
Per a few other threads, linked below, the token should be good for at least 90 days, possibly forever as long as there is activity on the system. There's roughly 4300 calls a day on the system, so it's not that as CRM is set to query on all calls, and it's happening in under 1 months time for sure.
90 day post: https://www.3cx.com/community/threads/authentication-to-call-dynamic-365-crm-api.88099/post-521625
New refresh on every query (so it won't ever expire): https://www.3cx.com/community/threads/oauth2-custom-crm-fails-to-refresh-token.113933/post-527456
Another post about it not expiring: https://www.3cx.com/community/threa...ion-with-microsoft-dynamics.71498/post-318218
Another post: https://www.3cx.com/community/threads/dynamics-365-refresh-tokens-access-policies-changes.78739/
So, does anyone know what can cause a token to expire?
Dynamics CRM, setup and successfully working. At some point (days? weeks?) the refresh token stops working. Doing a test gives a detailed error that the refresh token has expired.
Per a few other threads, linked below, the token should be good for at least 90 days, possibly forever as long as there is activity on the system. There's roughly 4300 calls a day on the system, so it's not that as CRM is set to query on all calls, and it's happening in under 1 months time for sure.
90 day post: https://www.3cx.com/community/threads/authentication-to-call-dynamic-365-crm-api.88099/post-521625
New refresh on every query (so it won't ever expire): https://www.3cx.com/community/threads/oauth2-custom-crm-fails-to-refresh-token.113933/post-527456
Another post about it not expiring: https://www.3cx.com/community/threa...ion-with-microsoft-dynamics.71498/post-318218
Another post: https://www.3cx.com/community/threads/dynamics-365-refresh-tokens-access-policies-changes.78739/
So, does anyone know what can cause a token to expire?