DevHomeAzureExtension icon indicating copy to clipboard operation
DevHomeAzureExtension copied to clipboard

Azure Devops Preview Plugin doesn't work with visualstudio.com domains

Open EmilAlipiev opened this issue 1 year ago • 6 comments

Suggested new feature or improvement

Looks like Current Azure Devops plugin only works with devops.azure.com domains but not with older visualstudio.com domains. I try with my admin account and i am keep getting. I am surely authorized and admin on the repo i try. Please improve this.

image

Scenario

Enable visualstudio.com repos

Additional details

No response

EmilAlipiev avatar Dec 26 '23 19:12 EmilAlipiev

I'm using .visualstudio.com and I don't have problem with it. I even have whitespace in URL (%20).

JanRajnoha avatar Dec 29 '23 00:12 JanRajnoha

Problem might be that my email which I am trying to login is admin on 2 organisations 1 with visualstudio.com domain other with azuredevops. It only pulls the azuredevops. Not sure how to get other one.

EmilAlipiev avatar Dec 29 '23 03:12 EmilAlipiev

@dkbennett @jamespik @ssparach any idea what might be happening here? Or logs that would be useful to debug?

mikebattista avatar Jan 08 '24 19:01 mikebattista

We definitely support visualstudio.com host names, and we support multiple accounts. For the pull request widgets there is a drop-down for you to choose the account. I can't tell from the screenshot whether the correct account is being specified. If you don't specify an account in the drop-down it will guess the one you want, but may guess incorrectly. Please ensure you are specifying the account in the drop-down selection that you want.

dkbennett avatar Jan 10 '24 18:01 dkbennett

PR widget only has dropdown for email address but not for Repository to choose and when I manually enter the repo url, it says i am not the owner although i am the owner. "Add Repository" widget also only displays repos from Azudevops. You should maybe make a test someone being both devops and Vs domain owner and try to get both accounts on the widget .

EmilAlipiev avatar Jan 13 '24 13:01 EmilAlipiev

PR widget only has dropdown for email address but not for Repository to choose and when I manually enter the repo url, it says i am not the owner although i am the owner.

The repository is chosen by providing a URL to the repository, and the associated account you select in the dropdown to use with that repository. The account is listed by login (which is usually email address). The account has to be added in the settings -> accounts.

I have been unable to reproduce this issue. I also do not understand why being an owner of the repository would matter. You don't need to be an owner, only to have authorized access. Can you please confirm if you have added the account that has access to that repository and are selecting it in the dropdown menu when configuring the widget?

"Add Repository" widget also only displays repos from Azudevops. You should maybe make a test someone being both devops and Vs domain owner and try to get both accounts on the widget .

@dhoehna for this. There is no add repository widget but I think they mean the Clone Repository tools, which do have an "Add Repository" button.

dkbennett avatar Feb 12 '24 17:02 dkbennett

Is this still happening? I have been unable to reproduce this issue using same devops or visualstudio.com addresses for the same repository. The Uri parsing handles both equivalently and accurately per the tests that validate this and personal testing I have done with it.

dkbennett avatar Aug 22 '24 18:08 dkbennett

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 5 days. It will be closed if no further activity occurs within 5 days of this comment.