Failed to establish VSTS Account on SonarCloud


(Chan Ps) #1

AADSTS50020: User account ‘’ from identity provider ‘’ does not exist in tenant ‘SonarSource’ and cannot access the application ‘0cd6ff8b-c8a8-4ab6-8f60-516f5bc5354a’ in that tenant. The account needs to be added as an external user in the tenant first. Sign out and sign in again with a different Azure Active Directory user account.

(Fabrice Bellingard) #2

This is currently possible to sign up on SonarCloud only with a school or work Azure Active Directory Account.

This is mentioned:

  • In the documentation about VSTS integration
  • In the help tooltip on the login page:


If you feel that those mentions are not clear enough, we’d be happy to get your feedback on how to make them clearer!


(Rob Marshall) #3

Just to clarify. Does this mean that I need to have VSTS setup with Azure AD accounts instead of Microsoft accounts?

(Fabrice Bellingard) #4

Yes Rob, this is it.

(Chan Ps) #5

Got it! Many Thanks.

(Bob) #6

Hi Fabrice

I’m curious, is there a technical limitation for not allowing Microsoft Account as a login. Because I’m in the same case, for our startup, we don’t created an AAD but are still using Azure DevOps.

(Souayah Oussama) #7

Hi all,

Same issue here, cannot use SonarCloud due to this limitation with our DevOps organization

(Fabrice Bellingard) #8

The Identity management in the Microsoft world is really complex, and we rely on a library which does not support all sorts of identities.