Multiple Azure Accounts Logged In: Unable To Clone Repositories
Dev Home version
No response
Dev Home Azure Extension version
No response
Windows build number
No response
Other software
No response
Steps to reproduce the bug
- Login two Azure accounts into ADO
- Try cloning repository from account
Expected result
No response
Actual result
What happens: Unable to successfully get repositories from the second account when there are multiple Azure accounts signed in.
When I step through the code, I see that the code populates AzureRepositoryHierarchy with a set of organizations from the first account in _organizationsAndProjects. When the code gets to populating organizations for the second account, it checks if AzureRepositoryHierarchy's _organizationsAndProjects already has stuff populated in it (it does from the first account), it skips over it and returns the organizations from the first account.
My initial thought is this is because AzureRepositoryHierarchy isn't per developerID.
Included System Information
No response