Template for a good new topic, formatted with Markdown:
ALM used Azure DevOps
CI system used Azure DevOps
We are attempting to synchronize accounts from our Azure DevOps organizations.
The documentation lists bitbucket and github, however it does not list ADO.
Click your profile picture in the top right menu and select the organization.
In the organization menu, click “Administration > Organization settings”
Click on “Choose an organization on GitHub”.
Click your profile picture in the top right menu and select the organization.
In the organization menu, click “Administration > Organization settings”
Click on “Choose a team on Bitbucket”.
Step 3 is not available within SonarCloud and we were wondering how we would go about connecting all of the ADO organizations that we have.
The “team” object is not the same on Microsoft’s side as the one on Bitbucket and GitHub.
Currently, Microsoft doesn’t offer a reliable way to list users of an Azure DevOps organization, so we can’t implement it on our side.
But soon there will be a improviement for choosing which repository you want to bind to a new SonarCloud project, that will be a first baby step of the revamped AzDO experience on SonarCloud, stay tuned !
we are currently struggling with similar issue: how to import&keep synchronized our users from DevOps to SonarCloud.
Is it still valid Azure DevOps can’t provide list of users? I am able to list all users in our organization with rights to Azure DevOps (basic license, stakeholder…) like this:
az devops user list --organization https://dev.azure.com/xxx --output json
Thanks for the pointer, i’ll try to have a look at that, but IIRC the az commandline requires an UI login, isn’t it ? Or at least some ARM template with specific authentication.
$token = Read-Host
$token | az devops login --org https://dev.azure.com/xxxxx
az devops user list --organization https://dev.azure.com/xxxxxx --output json
Ofc the “full” scope is not ideal so would be great to figure out the exact permission needed to list the users…
Hope this helps and you would be able to implement the integration with Azure AD asap…would be very helpfull for us.
Or do you have any APIs on your side for user creation/rights assignment etc?