Ravi Khambhati
Ravi Khambhati

Reputation: 743

Not able to add external user to VSTS/Azure DevOps

Today I was trying to add an external user to VSTS and got below error message.

You are trying to invite a user from outside your directory, but something went wrong. Please try again later. If the issue persists, please contact support.

enter image description here

I have followed the step mentioned in below link and "External guest access" is enabled.

https://learn.microsoft.com/en-us/azure/devops/organizations/accounts/add-external-user?view=azure-devops&viewFallbackFrom=vsts&tabs=new-nav

Not sure where I am going wrong with this and looking for a solution.

Upvotes: 1

Views: 5428

Answers (3)

Sven
Sven

Reputation: 2505

After signing-out and sign-in again it works. It seems this happened after password reset for my AAD account.

The reason was a missing refresh of the user AAD token. After completely signing out from Azue DevOps (deleting all browser caches) it was working.

Source: https://developercommunity.visualstudio.com/t/you-are-trying-to-invite-a-user-from-outside-your/395999

Upvotes: 2

abestrad
abestrad

Reputation: 906

For future reference, I had a similar issue and discover that Project Collection Administrators/Owners manage the policy: Allow team and project administrators to invite new users.

Source Azure DevOps Documentation

Upvotes: 0

Jenny
Jenny

Reputation: 1

Before this will work, you need to have the external domain added as an approved domain for collaboration. Then you will be able to invite them to your Office 365/Azure tenant. I had to have this approved through Global Security and then the work was done for our organization.

Upvotes: 0

Related Questions