Endpoints provide access to the federation server functionality of Active Directory Federation Services (AD FS), such as publishing federation metadata. To verify that the AD FS server is responding to web requests, you can check the various endpoints.
Federation metadata test
Passive federation refers to scenarios where your browser is redirected to the AD FS sign-in page. By testing the metadata endpoint, you can determine if the AD FS server is responding to web requests in these passive scenarios. Use the following procedure to test the endpoint.
-
Use a web browser to go to your AD FS federation metadata endpoint. An example is
https://sts.contoso.com/FederationMetadata/2007-06/FederationMetadata.xml. The .xml file downloads locally to your machine. -
Open the .xml file and verify that it contains information similar to the following image.
Screenshot that shows a passive scenario.
WS-MEX test (active test)
WS-MetaDataExchange is a web services protocol and is part of the WS-Federation roadmap. It uses a SOAP message to request metadata. By testing the endpoint, you can determine if the AD FS server is responding to web requests for WS-MetaDataExchange.
To test the endpoint, use a web browser to go to your AD FS federation metadata endpoint. An example is https://sts.contoso.com/adfs/services/trust/mex. The .xml file automatically appears in the browser and should look like the following image.
:::image type="content" source="media/ad-fs-tshoot-endpoints/security-trust-file.png" alt-text="Screenshot that shows the AD FS federation metadata endpoint .xml file.":::
Related content
Source: Microsoft Learn / Windows Server documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
