title: VssConnection SP324098: Your browser could not complete the operation
body: <p>I am using the following code to try and connect to Azure DevOps and to retrieve a list of work item types, however I keep getting this exception: </p>
  
  <blockquote>
    <p>BrowserFlowException: SP324098: Your browser could not complete the
    operation</p>
  </blockquote>
  
  <p>There doesn't seem to be much information around this exception. Does anyone know what's going on here? I am using Visual Studio 2017, Enterprise Edition updated to latest build on a Windows 10 updated to latest build machine.</p>
  
  <pre><code>VssClientCredentials credentials = new VssClientCredentials();
  
  VssClientHttpRequestSettings settings = new VssClientHttpRequestSettings
  {
        AllowAutoRedirect = true
  };
  VssHttpMessageHandler vssHandler = new VssHttpMessageHandler(credentials, settings);
  using (VssConnection connection = new VssConnection(this.CollectionUri, credentials, settings))
  {
        connection.ConnectAsync().SyncResult();
        // Create instance of WorkItemTrackingHttpClient using VssConnection
        WorkItemTrackingHttpClient witClient = connection.GetClient&lt;WorkItemTrackingHttpClient&gt;();
  
        var workItemTypes = witClient.GetWorkItemTypesAsync(ProjectName).SyncResult(); ; //exception happens here, I see the login box here too
  }
  </code></pre>