问题
I created my first organization and invited a user to it. They receive the email invitation and appear as a member of the organisation and project. However, they when they click join in the email invitation they are denied access.
The organisation is not connected to Azure Active Directory as suggested in this thread.
We have also tried troubleshooting connectivity as outlined by Microsoft docs.
回答1:
You can try to create a new incognito window and sign in to your organization : https://dev.azure.com/{organizationName}
with the invited account in this incognito window.
This is because when the user clicked the email invitation, this will automatically jump to the browser to use the default account cached by the browser to log in to the organization, and this default account could not be the invited account.
回答2:
Go to this link trouble shooting and there will be visual studio signout option and signout from there page pic and you will be directed to azure.dev page where there will be two sign in options(one on the top right and other in the body. First sign in from top one and then from the one in the body(you will be redirected to previous page after signing up first one) and then you are good to go. Even then if you are getting the same issue then try in incognito. It worked for me tho.
ps : This solution was given by my mentor Mr.Joseph Thomas to me.
来源:https://stackoverflow.com/questions/62202630/azure-devops-401-uh-oh-you-do-not-have-access-invited-user