Reputation: 179
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
Reputation: 31093
After changing the AAD connection, you need to ask each user in the organization to complete the following tasks:
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.
Regenerate new personal access tokens.
Request that SSH keys be manually cleared by Support, and then recreate SSH keys.
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.
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:
Upvotes: 1