Hello experts,
We are on Dynamics 365 8.2 version. We have 2 front end , 2 back end and 2 Deployment servers. We have DEV, TEST, UAT and PROD environments.
For all these environments there is only one ADFS Server. The OrganizationID is same for all the environments.
We configured Claims and IFD in all the environments and pushed Dynamics 365 App for Outlook.
The OAuthSettings are enabled and added all the environments IFD URLS as AdfsClients. Everything was working fine until one day the security guys just updated SSL certificates on the CRM front end Load Balancer and the 2 CRM Front end servers.
Users can access CRM and everything works fine but "Dynamics 365 App for Outlook" now fails to Connect ALL the Environetments(DEV,TEST,UAT and PROD). The SSL certificate was replaced with the old Certificate now. But we still make the Dynamics 365 App for Outlook work in All the environments.
There was no change on the ADFS side but all environments Dynamics 365 App for Outlook fails with the following Error.
We're sorry
Code from shim.js shows
OnPremAuthenticationManager.prototype.retrieveTokenInternal = function (isSignOutNeeded) {
var _this = this;
if (this.accessToken && !isSignOutNeeded) {
this.tokenDeferred.resolve(this.accessToken);
return;
}
this.discoverEndpointAndResource().then(function (results) {
var authorizationUri = results[0];
var resourceId = results[1] || _this.orgUrl;
var authFrame = document.getElementById('authFrame');
Mscrm.Utilities.generateKey().then(function (stateKey) {
var tokenCallback = function (error, token, expiry, key) {
if (stateKey == key) {
_this.onTokenReady(token, resourceId, expiry);
}
else {
var internalError = "OnPremAuthenticationManager: State mismatch";
Mscrm.Boot.ErrorManager.handleError(new Mscrm.Boot.ClientError(internalError, Mscrm.Boot.ClientError.SignInErrorCode), internalError);
}
};
Fiddler trace show request
Then we have the error
As I said everything was working fine except the SSL on the PROD Front end servers and Load Balancer was replaced but now they have put the SSL certificate back to the old one but Dynamics 365 App for Outlook is still failing.
I have looked at the - https://community.dynamics.com/crm/f/117/t/70374 about how to renew the SSL certificate. But its too late for that.
Appreciate your help and direction in this.
Regards,
Danl.
*This post is locked for comments