To integrate Active Directory Federated Services (AD FS), you start with retrieving the IdP (identity provider) metadata in AD FS Management console.
Procedure
To open the AD FS Management console, from the Microsoft Server Manager, in the upper right, expand Tools, and then click AD FS Management.
In the left navigation pane, expand AD FS > Service, and then click Endpoints.
In the right pane, under Endpoints > Metadata, in the Federation Metadata row, copy the URL path.
For example, copy FederationMetadata/2007-06/FederationMetadata.xml
Add the host name of the AD FS computer to the URL path you copied as follows:
https://hostname/FederationMetadata/2007-06/FederationMetadata.xml
To retrieve the IdP (identity provider) metadata, in a browser, paste the complete URL.
Save the IdP metadata as an XML file.
Leave the AD FS Management console open.