ADFS publishes its metadata to a standard URL, e.g. https://adfs-host-name/federationmetadata/2007-06/federationmetadata.xml
If this URL is publicly available on the Internet, select theAutomatic configurationoption, then enter the ADFS's metadata URL in the text field and clickSavewhen finished.
If the ADFS's metadata URL is not publicly available, then collect the single-sign-on URL and a certificate (for signature validation) from ADFS and submit them using the Manual configuration option
Open the ADFS Management console
Select theEndpointsfolder to display a list of the ADFS endpoints.
Look for theSAML 2.0/WS-Federation typeendpoint and copy the URL from its properties.
open the ADFS Management Console and select theCertificatesfolder to display the certificates. Look for theToken-signing certificate, then right click on it and selectView Certificate. Select theDetailstab, and then theCopy to Fileoption. Using Certificate export wizard, select theBase-64 Encoded X.509 (.Cer). Assign a name to the file to complete the export of the certificate into a file.