title: Using 'Get-CrmConnection' to get Dynamics CRM connection is failed
body: <p>I want to use powershell cmdlet 'Get-CrmConnection' to get Dynamics CRM connection, but occurred an error. Connection string is correct, but I don't know why it failed.</p>
  <p>Get-CrmConnection : Failed to connect to CRM: Unable to login to Dynamics CRM, Error was : The server was unable to process the request due to an internal error.  For more information about the error,
  The server was unable to process the request due to an internal error.  For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or fro
  information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.Unable to Login to Dynamics CRM
  Unable to Login to Dynamics CRM
  At line:1 char:1</p>
  <ul>
  <li>Get-CrmConnection -ConnectionString &quot;AuthType=AD;Url=https://dev2gems ...</li>
  <li>
  <pre><code>  + CategoryInfo          : PermissionDenied: (:) [Get-CrmConnection], Exception
    + FullyQualifiedErrorId : -10,Microsoft.Xrm.Tooling.CrmConnector.Powershell.Commands.GetCrmConnectionCommand
  
  </code></pre>
  </li>
  </ul>
  <p>Get-CrmConnection : Failed to connect to CRM: Unable to login to Dynamics CRM, Error was : The server was unable to process the request due to an internal error.  For more information about the error,
  om the  configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and
  The server was unable to process the request due to an internal error.  For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or fro
  information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.Unable to Login to Dynamics CRM
  Unable to Login to Dynamics CRM
  At line:1 char:1</p>
  <ul>
  <li>Get-CrmConnection -ConnectionString &quot;AuthType=AD;Url=https://dev2gem ...</li>
  <li>
  <pre><code>  + CategoryInfo          : PermissionDenied: (:) [Get-CrmConnection], Exception
    + FullyQualifiedErrorId : -10,Microsoft.Xrm.Tooling.CrmConnector.Powershell.Commands.GetCrmConnectionCommand
  </code></pre>
  </li>
  </ul>