Randelung
Randelung

Reputation: 412

How to reset Azure DevOps connector in MS Teams

I was moved from one DevOps organisation to another and access to the old org was removed. This caused my MS Teams DevOps plugin to stop working in private chats, but was fine in team channels.
Permission error when trying to link an issue
When I tried to open the app settings, I got a white window with a JSON that suggested a permission problem.

How do I connect the app to the new organisation?

Upvotes: 0

Views: 510

Answers (1)

Randelung
Randelung

Reputation: 412

Trying to open the app settings using the Teams webpage I got a popup that let me read the request URL and I saw the two GET parameters for organisation and project ID.
enter image description here
Removing those two parameters gave me a screen to select an organisation and a project. The tab closed right away and the integration is fixed.

I guess replacing the project_id and tfs_uri with the correct data from the target project would work, too, but that's the purpose of the section page, already.

Going to the app settings now yields this exact selection page, by the way, so this is a bug in the DevOps Teams app. There's one line of information at the top that apparently requires access to the DevOps organisation and needlessly gates the whole dialog behind organisation access permissions.

Upvotes: 1

Related Questions