sascha_lamp
sascha_lamp

Reputation: 179

Azure Devops Organization not showing up after moving to a different AAD

I have a user in an Azure Active Directory managed by my company. For evaluation purposes I've created an organization in Azure Devops with a couple projects. I've also set up a Container Registry on Azure with the same user. Now I realized my user doesn't have sufficient permissions in the AAD to create applications, which prevented me from setting up a service connection for the ACR in Devops.

I then created 2 new AADs (first with the same user, then with a different one) and moved the Devops organization to those AADs. However, the organization never showed up on the organization list no matter what AAD I selected.

Additional, while I could access the organization via its URL, I sometimes struggled with SSH authentication when accessing the Git repositories.

Did I do anything wrong? Did I miss out anything?

Upvotes: 0

Views: 1036

Answers (1)

Cece Dong - MSFT
Cece Dong - MSFT

Reputation: 31093

After changing the AAD connection, you need to ask each user in the organization to complete the following tasks:

  1. Clear the cache for the Git Credential Manager if you use Visual Studio or the Git command-line tool. Delete the %LocalAppData%\GitCredentialManager\tenant.cache file on each client machine.

  2. Regenerate new personal access tokens.

  3. Request that SSH keys be manually cleared by Support, and then recreate SSH keys.

  4. Rename your Microsoft account to a different email that doesn't conflict with your Azure AD identity. Doing so ensures that you won't be prompted to choose between accounts.

  5. Adjust your Visual Studio subscription if the UPN used inside your Azure DevOps Services organization has changed.

Detailed information, you may refer to the following link:

https://learn.microsoft.com/en-us/azure/devops/organizations/accounts/change-azure-ad-connection?view=azure-devops#inform-users-of-the-completed-change

Upvotes: 1

Related Questions