Certificate error for Federated Domains on O365

Error:

One of your on-premises Federation Service certificates is expiring. Failure to renew the certificate and update trust properties within 13 days will result in a loss of access to all Office 365 services for all users. Update now

 

Resolution:

Follow the articles below in that order.

1. https://support.microsoft.com/kb/2713898 - On the On-Prem ADFS server, Scenario 1, only PS Commands

  Add-PSSnapin Microsoft.Adfs.Powershell
  Update-ADFSCertificate -CertificateType: Token-Signing

 

2. https://support.microsoft.com/kb/2647048 - Run the commands in this article.

 

 

=================================================================================