Connect Azure Devops to Azure Actice Directory

Oskar 101 Reputation points

We are stuck connecting our Azure Devops to our Azure Active Directory.

In Azure Devops, it says 'You are not a member of any Azure Active Directories. Please request the Active Directory admin to add you as a member before proceeding to connect your Azure DevOps organization to an Azure Active Directory.' and in Azure Active Directory I can't add my user because 'User name already exists in this directory.' Because it's the same email but different identities (Personal account and work/school account)

Can you please provide steps on how to connect our Azure Devops to our Azure Active Directory.

Please let me know if you need any additional information.



Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
13,503 questions
No comments
{count} votes

Accepted answer
  1. Oskar 101 Reputation points

    So, I got it to work, so if anyone else cames across this - this worked for me:

    Azure Active Directory
    Invite a user (any email) to AAD that are not part of your domain - accept the invite. As and AAD administrator convert the account from guest to member using Powershell described here

    Azure Devops
    Invite the same user (email) as above, after the user is converted from guest to member, and accept the invite. Add the user to Project Collection Administrator and now you should be able to Connect your Azure Devops to your Azure Active Directory

    1 person found this answer helpful.
    No comments

1 additional answer

Sort by: Oldest
  1. AmanpreetSingh-MSFT 55,386 Reputation points

    @Oskar You need to rename your personal account to use .com for example. Go to for this purpose.

    Note: This change is irreversible. Once renamed, you will no longer be able to use the same email address as your personal account.


    Please "Accept as answer" wherever the information provided helps you to help others in the community.