Federation Metadata
Federation metadata is a standardized file, typically formatted in XML, that describes an entity such as an identity provider or a service provider participating in a federated identity setup. It acts as a shared configuration document so that the systems in a federation can discover and trust each other without manual, error-prone setup. Products like Microsoft Entra ID and AD FS publish this document for the services and partners that accept or issue their tokens.
Federation metadata is a structured document, most commonly an XML file, that describes a single entity within a federated identity environment (for example a SAML 2.0 identity provider or service provider). Depending on the standard and profile, it typically conveys the entity identifier, service endpoints (such as SSO and endpoint URLs), supported bindings, and the signing/encryption keys used to establish trust between federation partners. Providers such as Microsoft Entra ID publish a federation metadata document for services that accept their tokens, and platforms like AD FS expose the metadata at a service endpoint (for example the FederationMetadata.xml endpoint) so relying parties can be configured. Some publishers support conditional retrieval mechanisms (for example ETag comparison) to avoid re-fetching unchanged metadata. The specific fields, format, and refresh behavior vary by standard, vendor, and deployment configuration; this entry does not cover any single vendor's schema in full.
Why it matters
Federation metadata solves a foundational trust and configuration problem in federated identity: without it, connecting an identity provider to a service provider would require administrators to manually exchange entity identifiers, endpoint URLs, supported bindings, and cryptographic keys, a process that is tedious and prone to transcription errors. By publishing a single standardized document, each entity lets its federation partners discover the endpoints and, critically, the signing and encryption keys needed to establish trust. This makes onboarding new relying parties faster and reduces the risk of misconfiguration that could break single sign-on or, worse, undermine the trust boundary between partners.
Because metadata carries the keys used to validate tokens and assertions, its integrity and freshness are security-relevant. If a relying party trusts stale metadata after a signing key has rotated, valid tokens may be rejected; conversely, failing to consume updated metadata can leave a party trusting a key that should no longer be in use. Publishers such as Microsoft Entra ID and AD FS expose metadata at well-known endpoints (for example the FederationMetadata.xml endpoint in AD FS) so that partners can retrieve current configuration, and some publishers support conditional retrieval mechanisms such as ETag comparison to avoid re-fetching unchanged documents while still detecting changes.
For teams operating at scale, metadata is also the linchpin of automation. Rather than hand-editing per-partner trust configurations, administrators can point tooling at a metadata URL and let the relying party ingest endpoints and keys programmatically. This is why practitioners frequently seek to retrieve provider metadata when wiring an identity provider into downstream services; the exact fields, format, and refresh behavior, however, vary by standard, vendor, and deployment configuration.
Who it's relevant to
Inside Federation Metadata
Common questions
Answers to the questions practitioners most commonly ask about Federation Metadata.