A tool for managing user identities, credentials, and access across on-premises and cloud environments
Hello Wang, Xinchuan (Admin)
Thank you for reaching out to Microsoft Q&A.
Why the Federation Metadata XML did not update: -
What you are seeing is normal and by design in Microsoft Entra ID (Azure AD).
- Federation Metadata XML always contains multiple signing certificates
Microsoft Entra ID publishes both the active and next (rollover) token‑signing certificates in the Federation Metadata XML at the same time to support zero‑downtime certificate rollover.
That means:
The expired (or soon‑to‑expire) certificate may still appear
The new certificate is already present
Palo Alto may continue to display the old expiration date if it is still reading the primary certificate
Microsoft confirms this behavior in its federation documentation.
For your reference: https://learn.microsoft.com/en-us/entra/identity/hybrid/connect/how-to-connect-fed-o365-certs
- The metadata URL does not change
The Federation Metadata endpoint is static:
https://login.microsoftonline.com/<tenant-id>/federationmetadata/2007-06/federationmetadata.xml
Microsoft rotates certificates inside the XML, not by changing the URL.
If Palo Alto expects a “new file with a new expiry only”, it may look like nothing changed, even though it has.
This is confirmed in Microsoft Q&A and Learn documentation. [learn.microsoft.com]
- Palo Alto often caches or prioritizes the old primary certificate
On Palo Alto firewalls:
Importing metadata does not always switch to the new signing cert
The firewall may continue validating against the old certificate until:
It expires, or
You manually re‑import / recreate the IdP profile
This is a Palo Alto behavior, not a Microsoft issue, and is common with SAML SPs.
How to prove the new certificate is already in the metadata (Microsoft‑side)
Download the Federation Metadata XML again from Entra ID.
Open it and locate:
<KeyDescriptor use="signing">
<X509Certificate>...</X509Certificate>
</KeyDescriptor>
You will typically see two certificates:
One expiring soon / expired
One with a later expiration date
Microsoft documents this rollover design explicitly
For your reference: https://learn.microsoft.com/en-us/entra/identity/hybrid/connect/how-to-connect-fed-o365-certs
Below is the resolution: -
Option 1
Do nothing on Entra ID
Microsoft automatically switches the active signing certificate when the old one expires.
What to do on Palo Alto:
Re‑import the metadata after rollover
Or delete and recreate the SAML Identity Provider profile
Commit changes
This aligns with Microsoft’s zero‑downtime federation model. [learn.microsoft.com]
Option 2 (Manual but Immediate Fix – Common for Palo Alto)
If Palo Alto must show the new expiry immediately:
In Microsoft Entra Admin Center
Go to Enterprise Applications → Palo Alto Networks – GlobalProtect
SAML Certificates
Download the new certificate (.cer) (not metadata)
On PA‑440
Import the certificate manually
Assign it to the SAML IdP profile
Commit