Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple Azure Accounts Logged In: Unable To Clone Repositories #145

Open
chenss3 opened this issue Apr 2, 2024 · 0 comments
Open

Multiple Azure Accounts Logged In: Unable To Clone Repositories #145

chenss3 opened this issue Apr 2, 2024 · 0 comments
Assignees
Labels
Area-Machine-Config Related to machine configuration feature Issue-Bug Something isn't working or needs investigation Priority-2

Comments

@chenss3
Copy link

chenss3 commented Apr 2, 2024

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

  1. Login two Azure accounts into ADO
  2. 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

@chenss3 chenss3 added the Issue-Bug Something isn't working or needs investigation label Apr 2, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage New issue that the core contributors need to triage label Apr 2, 2024
@krschau krschau removed the Needs-Triage New issue that the core contributors need to triage label Apr 17, 2024
@kanismohammed kanismohammed added the Area-Machine-Config Related to machine configuration feature label Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Machine-Config Related to machine configuration feature Issue-Bug Something isn't working or needs investigation Priority-2
Projects
None yet
Development

No branches or pull requests

5 participants