title: VS30063: You are not authorized to access https://dev.azure.com
body: <p>I am trying to connect Azure DevOps using below code in asp.net core(2.1) mvc app</p>
  
  <pre><code>Uri orgUrl = new Uri("https://dev.azure.com/xxxxx/");          
  String personalAccessToken = "xxxxx";  
  VssConnection connection = new VssConnection(orgUrl, new VssBasicCredential(string.Empty, personalAccessToken));
  </code></pre>
  
  <p>But getting this error <code>"VssUnauthorizedException: 'VS30063: You are not authorized to access https://dev.azure.com.'"</code></p>
  
  <p><strong>Same code is working in .net core console app</strong>, Please can anybody help me on this?</p>
  
  <p>Here my code i am trying to get Work items, geting error on GetClient 
  <a href="https://i.stack.imgur.com/1wxas.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1wxas.png" alt="enter image description here"></a></p>