Sign-in & Login Problems

Fix Malformed_Certificate SAML Sign-In Error After Certificate Renewal

Huma Ashraf ChHuma Ashraf Ch Oct 26, 2026 868 views

Question details

Users cannot sign in to Microsoft via Google Workspace SSO due to a SAML2 Malformed_certificate error following a Google identity provider certificate renewal.

How to Fix Malformed_Certificate SAML Sign-In Errors After Certificate Renewal
Product
Microsoft Entra ID / Google Workspace SSO
Device & OS
not provided
Scenario
Attempting to sign in using Single Sign-On (SSO) after updating an expired Google Workspace identity provider certificate.
Observed behavior
A Malformed_certificate error blocks access to the tenant, and administrators are locked out because the Microsoft tenant still relies on the old certificate.
Before you start

Ensure you have the login credentials for a break-glass (emergency access) account that bypasses SSO to manage your Microsoft tenant configurations.

Solution 1Recommended

Update the Identity Provider Certificate in Microsoft Entra

Manually update the federated domain configuration in Microsoft Entra with the newly generated Google Workspace certificate.

When a SAML certificate is renewed on the Identity Provider (Google Workspace), the Service Provider (Microsoft Entra) must be updated to match. A mismatch results in a Malformed_certificate error.

1
Sign in with a non-SSO account

Log in to the Microsoft Entra admin center using a break-glass Global Administrator account (usually an @onmicrosoft.com account) that does not require SSO.

2
Navigate to the SSO settings

Go to Azure Active Directory, select Enterprise applications or Federated domains depending on your setup.

3
Upload the new certificate

Replace the old certificate by uploading the new Identity Provider (IdP) metadata XML or SAML certificate generated from the Google Admin console.

4
Save and verify

Save the new configuration, open an incognito browser window, and test the SSO sign-in process to confirm the error is resolved.

Update the Identity Provider Certificate in Microsoft Entra
Certificate Alignment: Updating the certificate correctly aligns the Identity Provider and Service Provider, restoring seamless SSO access.
Free Microsoft Office alternative

Experience a Seamless Office Alternative with WPS Office

While troubleshooting complex Microsoft tenant and SSO issues, keep your productivity uninterrupted with WPS Office. It provides a lightweight, highly compatible alternative to Microsoft Office that is completely free.

Fully compatible with Microsoft Word, Excel, and PowerPoint formats.Lightweight design that runs smoothly on almost any device.Free to use with a familiar, easy-to-navigate user interface.No complex SSO tenant configurations required for basic local use.
microsoft office alternative - wps office

Frequently Asked Questions

What causes a Malformed_certificate error in SAML SSO?

This error usually occurs when the identity provider's SAML certificate expires or is renewed, but the service provider (like Microsoft Entra) still holds the old certificate. This creates a mismatch that breaks the trust relationship.

What is a break-glass account?

A break-glass account is an emergency, highly privileged administrator account (e.g., admin@yourdomain.onmicrosoft.com) that does not rely on SSO or conditional access policies, ensuring you can still access your tenant if SSO fails.

How do I get my new certificate from Google Workspace?

You can download the new Identity Provider (IdP) metadata or certificate directly from the Google Admin console under the Apps > Web and mobile apps > SAML apps configuration section.

Can I share my tenant information on support forums to get help faster?

No. You should never post your account credentials, tenant IDs, or SAML certificates publicly. Always use secure private messaging or official authenticated support channels to protect your organization's security.