
We have some old CRM servers running 2011 as part of a custom solution that was put in back in 2010. We are unable to upgrade the servers easily due to the number of custom plugins and lack of CRM developers to re-code to a new version. There is already a project underway to overhaul the solution overall. Recently our central team which manages ADFS upgraded the server to 2016 from 2012, which of course means that ADFS has been upgraded.
We have a very strange intermittent issue, we have load of calls being made to CRM via the discovery service however one call from a specific application seems to have an issue with Tokens some of the time. Restart the CRM IIS service and the error clears for time before returning. The error is along the lines of security token is invalid. All other request work however at the same time.
I am struggling to understand what do next, any points would be great.
*This post is locked for comments
I have the same question (0)Hi
ADFS running on Windows Server 2016 is not listed under official compatibility list, please see below
https://support.microsoft.com/en-gb/help/3005163/compatibility-with-microsoft-dynamics-crm-2011
It does not mean it won't work but you may not get a lot of help from Microsoft on this.
I would try and get the actual error message. Is CRM not trusting the token or at what point you are getting the invalid token error. If let's say CRM says it does not recognize or cannot trust the token, it could be that particular application is using URL re-direction or external URL that's not properly trusted or metadata is not updated. Please visit the following link and see any of the steps helps to resolve your issue
If the above does not help to resolve your issue, please share more details on the error, and exactly when it is occurring. Could you also let us know if you have any load balancer configured in for your CMR environment?