Reputation: 743
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.
I have followed the step mentioned in below link and "External guest access" is enabled.
Not sure where I am going wrong with this and looking for a solution.
Upvotes: 1
Views: 5428
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.
Upvotes: 2
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
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