ADFS Token Signing Certificate Expires with Office 365 | Sign-On Error: “Your organization could not sign you in to this service”

    When you install ADFS, you must upload your certificate settings/thumbprint to the Federated Relying Party, in this case, Office 365.  The default expiration with standard ADFS 2.0 installation is a self signing certificate that expires every year.

    Symptoms of user Errors in Browser on Office 365 Portal/Service Logon using federated identity:

    • “There was a problem accessing the site. Try to browse the site again.”
    • “Your organization could not sign you in to this service. There may be a system error. Please contact administrator at your organization if this problem persists.”

    Application and Services Logs > ADFS 2.0 > Admin:

    • Event ID 358: Restarting Issuance ServiceHost. This restart is necessary because a change was detected in the certificates that this service host uses. Requests that are served by endpoints of this service host may fail during restart.

    Potential Solution If these events occur, it’s a good bet your ADFS signing certificate expired and must be Ensure latest Microsoft Online Services Module for PowerShell installed. Download the module for your 32 or 64 bit system here.

    Note - Microsoft Online Services Identity Federation Management PowerShell Module is deprecated and everything can now be configured in the Microsoft Online Services Module.

    Powershell Commands:

    • Connect-MsolService Note - You will be prompted for credentials, enter a NON-Federated Office 365 admin account.

    • Optional, only If you’re NOT Running PowerShell From ADFS server: Set-MSOLAdfscontext -Computer YourAdfsServer.mydomain.local

    • Update-MSOLFederatedDomain -DomainName YourDomain.com

    • You can verify the thumbprint updated on Microsoft Online Federation gateway:Get-MSOLFederationProperty -DomainName YourDomain.com

    Note – You will also need to update your other SAML Relying Parties such as Concur, Webex, Salesforce, Zendesk, and Google Apps.

    If you would like assistance in federation for your organization, please learn more about AgileIdentity, our fixed price identity and access solution.

    Published on: .

    This post has matured and its content may no longer be relevant beyond historical reference. To see the most current information on a given topic, click on the associated category or tag.

    How can we help?

    Loading...

    Let's start a conversation

    location Agile IT Headquarters
    4660 La Jolla Village Drive #100
    San Diego, CA 92122

    telephone-icon + 1 (619) 292-0800 mail-icon Sean.L@Agileit.com

    Don’t want to wait for us to get back to you?