title: Send passive federation request to ADFS 2.0 for SAML 2.0 token
body: <p>I have a working ADFS machine. I want to construct a passive request that will generate a saml 2.0 token.</p>
  
  <p>the following request for saml 2.0 token: </p>
  
  <p><a href="https://adfstest.cld.sr/adfs/ls/?wa=wsignin1.0&amp;wtrealm=https%3A%2F%2Flocalhost%2FPro%2FFederatedLogin.mvc&amp;wauth=urn:oasis:names:tc" rel="nofollow">https://adfstest.cld.sr/adfs/ls/?wa=wsignin1.0&amp;wtrealm=https%3A%2F%2Flocalhost%2FPro%2FFederatedLogin.mvc&amp;wauth=urn:oasis:names:tc</a>:<strong>SAML:2.0</strong>:am:password</p>
  
  <p>generates the error: "Microsoft.IdentityServer.Protocols.Saml.NoAuthenticationContextException: MSIS7040: None of the requested authentication types are supported by the server."</p>
  
  <p>yet if I change the request to a request for saml 1.0:</p>
  
  <p><a href="https://adfstest.cld.sr/adfs/ls/?wa=wsignin1.0&amp;wtrealm=https%3A%2F%2Flocalhost%2FPro%2FFederatedLogin.mvc&amp;wauth=urn:oasis:names:tc" rel="nofollow">https://adfstest.cld.sr/adfs/ls/?wa=wsignin1.0&amp;wtrealm=https%3A%2F%2Flocalhost%2FPro%2FFederatedLogin.mvc&amp;wauth=urn:oasis:names:tc</a>:<strong>SAML:1.0</strong>:am:password</p>
  
  <p>It works but the token generated by ADFS is SAML 1.0.</p>
  
  <p>What is the correct form to construct a request for passive federation with SAML 2.0  tokens?</p>