Your comments

Indeed @Martillo, it is working for us

Thank you Marc,
Can confirm that Build 17078 is handling "DefaultCollection" properly.
Thanks for a quick resolution.

@Marc
Sorry, I mistakenly thought that visualstudio.com domain was working fine while I was looking at dev.azure.com domain.
Here's a scenario that is not working, but am sure it can easily be handled.

For arguments sake, let's say that we have the following variables
organization

project

repository

The following format is valid in visualstudio.com domain

organization.visualstudio.com/DefaultCollection/_git/repository

Notice how the project is DefaultCollection (blame MS for that, for projects that had only single repository)
The equivalent of the above would be:


organization@dev.azure.com/organziation/repository/_git/repository


Notice how project DefaultCollection took the name from the repository.

Hope this help.

@Marc

Thank you for the update.
Quick feedback.
Adding the hosting provider finally worked, and it recognized both organizations, furthermore visualstudio.com domains also worked.

This is based on quick check, I'll report back once I start using it heavily.
Thanks for all your efforts.

Marc,

I know you mentioned that visualstudio.com domain is not supported, I'm not sure if this is for now or there are no plans to support it, either way I think the documentation can benefit from mentioning this.
I my humble opinion, it shouldn't be much effort to support both, as the difference is only in the base URI.

> SmartGit is not actually stuck but it only takes a long time to complete?

I had forgotten to kill it when it was hung on adding the hosting provider, it had eventually ran out of memory.


Yes I do get different results, they are two different Organizations,
The first one has a count of 7, the second one which hangs has a count of 119

The loading in a browser is almost instantaneous for both.

Is Smartgit processing each entry?

> So you can't simply switch accounts in your browser? This works fine for
e.g. GitHub/Bitbucket, but I understand that for Azure authentication
maybe somehow be tied to your workstation login. In this case, I agree,
PATs may be the best choice.

In our case, we can switch accounts in the browser as long as we sign out or open an incognito / private browser session and sign in there.

> I'm wondering how common it is with Azure that one user has multiple accounts?
I can't tell how common it is, but we also have / use multiple accounts.
I can imagine developers working from home having their personal accounts as well as work accounts would be common. Contractors possibly could be using multiple accounts as well.

> SmartGit is using "Retract" for outgoing pull requests. For all Hosting
Providers, the underlying commands which will be executed are
identical to Rejecting a pull request. Hence, for the next build, I have
switched from "Retract" to "Reject", except for Azure DevOps which will
use "Abandon" instead of "Retract"/"Reject".

Azure DevOps also has Reject for Pull Request, which is different than Abandon,
You Abandon a PR if you no longer want that PR to be merged.
You Reject (as a reviewer) a PR because it requires changes before it is acceptable to be merged.
Not sure which is equivalent to the retract.