title: How to create federation metadata XML for "Relying Party Trust" and "Claims Provider Trusts" for ADFS 2.0
body: <p>One of our web app would like to connect with <strong>ADFS 2.0</strong> server to get credential token and check the user roles based on that. The ADFS server admin asked us to give them a federation metadata XML file to let them create Relying Party Trusts. I googled and only find how to download the ADFS server's federation metadata XML using URL - https://<strong>[adfs server name]</strong>/federationmetadata/2007-06/federationmetadata.xml
  But could didn't find any guide to create a <strong>federation metadata XML</strong> for creating "<strong>Relying Party Trust</strong>" and "<strong>Claims Provider Trusts</strong>". Is there a tools for creating those metadata files? Please share some idea for how to create.</p>
  
  <p>Thanks</p>
  
  <p>Lu</p>
  
  <p>Answer my own question:</p>
  
  <p>I found the <strong>Federation Utility</strong> tools in <strong>WindowsIdentityFoundation-SDK-4.0</strong> at <a href="http://www.microsoft.com/en-ca/download/details.aspx?id=4451">http://www.microsoft.com/en-ca/download/details.aspx?id=4451</a> will do it.</p>