title: TF400813: The user '' is not authorized to access this resource
body: <p>I have my own private organization and repositories.
  I also have multiple directories and all of them work except for the "Microsoft account" directory.</p>
  
  <p>I am able to log into Azure Devops no problem using the Microsoft account directory.</p>
  
  <p>I see my organization and I can go through my repositories, agents, pipelines, everything.
  However, I can't change anything. All I get is the error or screens that don't load fully.
  Its like its in read only mode.</p>
  
  <p>I went into user settings to check permissions and it lets me in but only so far. It stops loading user lists after selecting groups.
  It shows me groups and permissions for everything, however.</p>
  
  <p>When I try and generate a PAT, the screen sits there and says "Loading Tokens..."</p>
  
  <p>The error I see everywhere and in the network responses is:</p>
  
  <pre><code>$id: "1"
  innerException: null
  message: "TF400813: The user '' is not authorized to access this resource."
  typeName: "Microsoft.TeamFoundation.Framework.Server.UnauthorizedRequestException, Microsoft.TeamFoundation.Framework.Server"
  typeKey: "UnauthorizedRequestException"
  errorCode: 0
  eventId: 3000
  </code></pre>
  
  <p>Exactly like that, nothing there between the quotes.</p>
  
  <p>It also shows up in Red text with just this message:
  <code>TF400813: The user '' is not authorized to access this resource.</code></p>
  
  <p>To resolve this I have done the following:
  Logged out of devops entirely, which seems to log me out of several services.
  Switched between my AD accounts while logged in.
  I've rebooted my machine(I first started seeing this in VS so I updated and rebooted as part of that)</p>
  
  <p>Anything I'm missing here?</p>