title: MS CRM Webservice Error : The partner DNS used in the login request cannot be found
body: <p>When I am making the call for Microsoft dynamics 2011 Integration, I am getting Error given below. Please check and correct the following :</p>
  
  <pre><code>&lt;s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope"
               xmlns:a="http://www.w3.org/2005/08/addressing"
               xmlns:u="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"&gt;
              &lt;s:Header&gt;
                  &lt;a:Action s:mustUnderstand="1"&gt;
                  http://schemas.xmlsoap.org/ws/2005/02/trust/RST/Issue&lt;/a:Action&gt;
                  &lt;a:MessageID&gt;urn:uuid:8bd921a8-1aa7-4346-a656-97580efa9a51&lt;/a:MessageID&gt;
                  &lt;a:ReplyTo&gt;
                    &lt;a:Address&gt;http://www.w3.org/2005/08/addressing/anonymous&lt;/a:Address&gt;
                  &lt;/a:ReplyTo&gt;
                  &lt;VsDebuggerCausalityData xmlns="http://schemas.microsoft.com/vstudio/diagnostics/servicemodelsink"&gt;
                  uIDPozBEz+P/wJdOhoN2XNauvYcAAAAAK0Y6fOjvMEqbgs9ivCmFPaZlxcAnCJ1GiX+Rpi09nSYACQAA&lt;/VsDebuggerCausalityData&gt;
                  &lt;a:To s:mustUnderstand="1"&gt;
                  https://login.live.com/liveidSTS.srf&lt;/a:To&gt;
                  &lt;o:Security s:mustUnderstand="1"
                  xmlns:o="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"&gt;
                    &lt;u:Timestamp u:Id="_0"&gt;
                     &lt;u:Created&gt;2013-12-13T07:08:26.00&lt;/u:Created&gt;
                     &lt;u:Expires&gt;2013-12-14T07:08:26.00&lt;/u:Expires&gt;
                    &lt;/u:Timestamp&gt;
                    &lt;o:UsernameToken u:Id="user"&gt;
                      &lt;o:Username&gt;sudhir@live2support.onmicrosoft.com&lt;/o:Username&gt;
                      &lt;o:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText"&gt;xxxxxx&lt;/o:Password&gt;
                    &lt;/o:UsernameToken&gt;
                    &lt;wsse:BinarySecurityToken ValueType="urn:liveid:device"
                    xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"&gt;
                      &lt;EncryptedData Id="BinaryDAToken0"
                      Type="http://www.w3.org/2001/04/xmlenc#Element"
                      xmlns="http://www.w3.org/2001/04/xmlenc#"&gt;
                        &lt;EncryptionMethod Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"&gt;
                        &lt;/EncryptionMethod&gt;
                        &lt;ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#"&gt;
                          &lt;ds:KeyName&gt;http://Passport.NET/STS&lt;/ds:KeyName&gt;
                        &lt;/ds:KeyInfo&gt;
                        &lt;CipherData&gt;
                        &lt;CipherValue&gt;AQyTlc3YylbDiwLxT1e/ISGEe/Wn0BIZLOnZSKFrC2EsV1+1Mf08dKFBMrGtgFhMYGKoKA9JSD9CgY8g1NkH/1tDjDhwqv+xoP2hhwK8PXoUjXABEN4229zuv0whG1te3jjtSaz8w4pAMGIjo4M5+xFlBpePhcIdPuH4RJjLEhWH0iSpBevE//j7qZN/rSEVCDXIT9WsW3Q6LRXMmlggGHO2IER9JrkCDLivm4qhXLEQwDZFjGISbVSM+egWO3UOdaVmBxZol9PA7qkCGm9TPaJp419jJYi2/XVwI5h8BTZ0IuNTxYne97to/H0jOUKkyCZSqKDWTiQbbeGYQWXG0NnRkEZci70b2CAw0yaFTySMntV/1ftVKBAlDdGBJ00snw9HnE/cMuMhnwtjC+rUbEZDDEwGKBubkZQcIlCLFUvAIrBkYskWTFBMQc49L0r0ajeH6dMRLfz6dxA9yqTBUJBQqoh5JuUY1fpES+gwYXfcLI0IbxMB9EmYllXZzwubgDZnfWGrIh4BEkaWu0r+ENUfCxQ5"&lt;/CipherValue&gt;
                        &lt;/CipherData&gt;
                      &lt;/EncryptedData&gt;
                    &lt;/wsse:BinarySecurityToken&gt;
                  &lt;/o:Security&gt;
               &lt;/s:Header&gt;
                &lt;s:Body&gt;
                  &lt;t:RequestSecurityToken xmlns:t="http://schemas.xmlsoap.org/ws/2005/02/trust"&gt;
                    &lt;wsp:AppliesTo xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy"&gt;
                      &lt;a:EndpointReference&gt;
                        &lt;a:Address&gt;urn:crm5.dynamics.com&lt;/a:Address&gt;
                      &lt;/a:EndpointReference&gt;
                    &lt;/wsp:AppliesTo&gt;
                   &lt;wsp:PolicyReference URI="MBI_FED_SSL"
                    xmlns:wsp="http://schemas.xmlsoap.org/ws/2004/09/policy" /&gt;
                    &lt;t:RequestType&gt;http://schemas.xmlsoap.org/ws/2005/02/trust/Issue&lt;/t:RequestType&gt;
                  &lt;/t:RequestSecurityToken&gt;
                &lt;/s:Body&gt;
               &lt;/s:Envelope&gt;
  </code></pre>
  
  <p>and RESPONSE ERROR: </p>
  
  <p>The partner DNS used in the login request cannot be found.&#x000D;&#x000A;</p>