Enable-ExchangeCertificate : The certificate with thumbprint XXXXXXXXX was found but is not valid for use with Exchange Server
(reason: PrivateKeyMissing).
At line:1 char:27
+ Enable-ExchangeCertificate -Thumbprint XXXXXXXXX -Services 'IIS'
The above error can as a result of multiple reasons. CSR was created with IIS and attempted to be installed through the Exchange Management Shell (EMS), CSR was created in EMS on another Exchange Server, a damaged certificate, or Windows simply 'forgets' where it placed the PrivateKey for the certificate. It doesn't happen all the time, but sometimes the error can be a nuisance.
Option #1: Repair Damaged Certificate (Windows Server 2003/2008)
Note: In Windows Server 2008 it will be the certificate missing the golden key beside it.
Note: You may use CTRL+C, but not right-click and copy.
Note: In Windows Server 2008 there will be a golden key to the left of the certificate, so there is no need to double-click the certificate.
Option #2: Remove and Re-Install Certificate (Windows Server 2003/2008)
Note: In Windows Server 2008 it will be the certificate missing the golden key beside it.
If any of the above does not work, please contact Microsoft.