web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Dynamics 365 (on-premise)To SharePoint Online Server Authentication SSL Renewal

(0) ShareShare
ReportReport
Posted on by 58

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)
  • Verified answer
    gjayn84 Profile Picture
    58 on at

    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.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans