Connect Azure Devops to Azure Actice Directory

Oskar 101 Reputation points
2020-02-28T06:21:52.34+00:00

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.

Thanks.

//Oskar

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,090 questions
0 comments No comments
{count} votes

Accepted answer
  1. Oskar 101 Reputation points
    2020-02-28T14:04:30.23+00:00

    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 https://www.insidethemicrosoftcloud.com/convert-azure-ad-b2b-users-from-guest-to-member-how-and-why/

    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.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. AmanpreetSingh-MSFT 56,286 Reputation points
    2020-02-28T09:09:44.08+00:00

    @Oskar You need to rename your personal account to use @harsh.com .com for example. Go to https://go.microsoft.com/fwlink/p/?linkid=842796 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.