Hello Donpaul Stephens,
the error you are encountering-
"User is not allowed to link organization to Microsoft Entra tenant. Only active members of the Microsoft Entra tenant are allowed to perform the link."
happens because your Azure DevOps org must have been created using a Microsoft MSA Account (e.g. @gmail.com
, @outlook.com
)
Please note, Microsoft Accounts are not considered Members of the Entra tenant. Only Entra ID members (not Guests/MSA users) can link DevOps to the tenant.
Question- So how to fix it now? Any Resolution?
Ans- Yes, Set Up a Clean DevOps Org Using Entra ID
Create a New Microsoft Entra User (Member) by going to https://portal.azure.com then navigate to Microsoft Entra ID > Users > New User
Fill the details such as
User principal name: whatever you want. For this example I gave-devopsadmin@<yourtenant>.onmicrosoft.com
Display name: DevOps Admin
again your choice. edit it
User type: Member (important!) this remains same
Password: Set manually or auto-generate again upto you.
Once all the details are filled, review and create.
This creates a native Entra ID user in your tenant
next grant subscription access under -
Subscriptions > [your subscription] > Access control (IAM) and click on Add > Add role assignment
Choose some strong role as per your requirement for example Owner or Contributor. Assign access to your principal name in this example which is devopsadmin@...
and save.
Now the main part comes. As you mentioned you don't care about old data, create a new DevOps Organization
- Open a private/incognito browser window
- Visit: https://dev.azure.com
- Sign in as:
devopsadmin@<yourtenant>.onmicrosoft.com
this will be the one which you have set in the previous step
- Create a new DevOps org:
- Name:
stephens-org
(or any name) - Region: your preferred region
- Name:
- You’ll be prompted to create a new project. Choose your name (e.g.
Stephens-Demo-Project
) Now the org is fully owned by an Entra-native user.
Link DevOps to Microsoft Entra and it should work. Navigate to Organization Settings > Microsoft Entra. Click "Connect directory"
It will automatically detect and connect to your Default Directory