Alssanro
Alssanro

Reputation: 175

Cannot link my Azure DevOps Organization to my AAD tenant

I'm trying to connect my Azure DevOps Organization to my Azure AD Tenant. I'm the only user in both. I connect to both using my personal microsoft (@outlook.com) account. However, when I'm trying to link my DevOps orga to my Azure AD Tenant, Azure DevOps doesn't see me as a member of the Azure AD Tenant that I'm trying to connect to, even though I'm connected in Azure with the same Microsoft account that I use on Azure DevOps... I'm following the steps mentioned here.

Below pic shows the error message I'm getting while trying to connect my Azure DevOps orga to my Default Azure AD Tenant :

access error

Here, you can see that I'm connected in my Azure AD Tenant with the same Microsoft account that in the previous picture :

azure login tenant

Upvotes: 3

Views: 2838

Answers (1)

kavya Saraboju
kavya Saraboju

Reputation: 10869

Tried to do the same where only one member who is the only admin is present in the azure AD tenant.But could successfully connect to azure devops.

Please make sure you are connecting already existed AAD tenant and then creating connection. check if admin permissions are given .

I had these roles assigned .

enter image description here

I had guest user access same as member access

enter image description here

enter image description here

Could smoothly connect without any warnings to the same domain as that of azure ad. enter image description here


I tried to reproduce the issue and so tried connect with the other tenant /directory and got the error similar to yours which is not your case as you mentioned you have same directory domain.

enter image description here

So in your case , please close all other tabs and signin to only the required tenant both in azure ad and also in azure devops.

Please check the access permissions for this organization, if the organization is denied access for external access. See Access via Azure AD FAQs | Microsoft Docs which can guide to troubleshoot your error cause and it says to have co-admin or service admin permissions.

Also please take the points by @jessehouwing in the comments into consideration , if issue is still there :Create a new Global Admin user account in AAD,Add this user to the DevOps organisation and set as owner and give Project Collection Administrators permission,Remove that domain from the DevOps org and Re-add to the org and re-assign as the owner.

Else it might be some issue with the default directory permissions. You may contact and report a problem in https://developercommunity.

Upvotes: 1

Related Questions