
Hi everyone
We recently renewed our wildcard SSL certificate, which was used in our Dynamics 365 (on-premise) IFD setup and ADFS. This certificate was renewed successfully and users can access Dynamics inside and outside our network. However, since that change we are having issues accessing documents within Dynamics.
We use SharePoint Online as our document storage in Dynamics but since the change of certificate we are unable to validate our SharePoint site in Dynamics and it comes up with the following error:
<exception>The request was aborted: The request was canceled.Access token could not be obtained from: accounts.accesscontrol.windows.net/.../2 for resource: 00000003-0000-0ff1-ce00-000000000000/TENANT.sharepoint.com@1c216e33-4e8b-4764-a922-a80e5d6a1489</exception>
<errorcode>-2147088205</errorcode>
I assume I need to do something to update the change of certificate within the server-to-server integration but I can't find anything on where or how I do this. As I said everything else is working since the certificate renewal but this isn't. I'd be grateful if anyone could point me in the direction of what needs to be done?
Many thanks in advance.
*This post is locked for comments
I have the same question (0)It turns out that this issue also affected our Exchange Online integration and the solution was to run the following script on our Dynamics server:
.\ConfigureCrmServerSideSync.ps1
This link details the parameters this script will ask for. Most are self-explanatory but the rootDomainName needs to be the IFD URL address without the https://
Once this script was run successfully we could once again re-establish the integration between Dynamics and Office 365. This doesn't seem to be documented anywhere by Microsoft so hopefully this will be useful for anyone facing the same situation in the future.