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)

Server Side Sync (365 OnPrem <--> Exchange OnLine) private key not found -

(0) ShareShare
ReportReport
Posted on by

I have been trying to get Server Side Sync setup for almost a week now and always running into same error when I run the "CertificateReconfiguration.ps1" script , I get the "Certificate Private Key is not found" error, yet I have verified the key exists, IFD is setup and working, ADFS is setup and working and CRM works fine.  I am using a "Legacy Cert" (non-CNG), have ensured that the "NetworkService" account, which is the account that runs the Async process and also same account for the CRMAppPool has Read access to the private key. I can complete the setup and everything else passes, but then when I try and setup the Email profile in CRM, I get a "The certificate used for S2S authentication is not installed... " 

I am using a public SSL by GoDaddy, and have re-keyd the cert and re-installed, also using teh DigiCert certificate tool to verify cert is working fine, all indications are that everytghing is fine, yet still getting this error

Any ideas? or help would be appreciated, or if I should be posting in a different group or somewhere else would help. 

Thanks

Randall

*This post is locked for comments

I have the same question (0)
  • Rose Duley Profile Picture
    780 on at

    HI 

    I have the same issue.  Everything is working - internal, IFD, EXCEPT Mail flow in and out of the CRM!  Yesterday the CertificateReconfiguration.ps1" script ran smoothly with no errors, but mail still did not come in and some people were unable to access the CRM - i went through all the required steps after renewing a certificate and access for users came right, but mail flow still does not work.  Today I go onto the CRM server to re-run the script and try and get mail working again and I get the error - "Certificate key is not found".  Does not make sense!  I had so many other errors with the other commands in this procedure, especially with WinRM and New-PSSession, but today for the first time i get "Certificate private key is not found".  I am logged into the CRM server as the domain administrator.

    Can someone confirm please..... the pfx that one installs on ADFS and CRM server is the same certificate one uses for the CertificateRecongigurationscript except that you rename it to "personalcertfile.pfx".  Is this correct?  I am sure this is how I have done it in the past years and now it will not work!  If i go into the certificate personal store and check my wildcard certificate it shows "You have a private key that corresponds to this certificate".  If i try and export that certificate though, it says that i cannot export the key as it has been marked as not exportable.  Is this an issue?

    Please can someone help me to get my mail working again!  Another question that i have when running the scripts as per Connect Dynamics 365 (on-premises) to Exchange Online | Microsoft Learn - when it comes to asking for credentials - can one use ANY global administrator account?

    Thanks in advance!

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