[HOWTO] Fix TF400813 error response when using Azure DevOps MCP Server

Yesterday, the public preview of the local Azure DevOps MCP Server got announced on the Azure DevOps blog (see here).

The installation as described in the README of the GitHub repository is super simple. However, when I wanted to test one of the sample prompts, the ADO (Azure DevOps) MCP Server returned the following output.

TF400813: The user 'ARBITRARY_USER_OID_HERE' is not authorized to access this resource.

The reason for this error was, that the Azure subscription marked as default by az login did not belong to the Entra tenant which is connected with the Azure DevOps organization provided to the Azure DevOps MCP Server. After running az login again and selecting a subscription belonging to the Entra tenant which is connected with the target Azure DevOps organization, it started working as expected.

Leave a comment

Website Powered by WordPress.com.

Up ↑