0
votes

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://docs.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.

3
Maybe your admin has disabled invites?juunas
You are spot on @juunasRavi Khambhati

3 Answers

1
votes

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

0
votes

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.

0
votes

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