Where does the bug appear (feature/product)?
Cloud Agent (GitHub, Slack, Web, Linear)
Describe the Bug
Summary
When using the Cursor bot in Microsoft Teams against an Azure DevOps repository, the bot fails for multiple users with:
Couldn’t verify write access to
<org>/<project>/<repo>. Make sure to connect your account.
This does not appear to be a permissions or account-linking issue. The same Cursor account can successfully run a Cloud Agent on the same Azure DevOps repo from the web UI, and the Teams bot works when pointing at a GitHub repo instead.
Environment
- Integration: Microsoft Teams (
@Cursorbot) - Source control: Azure DevOps Services (
dev.azure.com) - Repo format:
{organization}/{project}/{repository} - Teams account linked to the same work email used for Cursor
- Azure DevOps repo permissions for the tested user include: Read, Contribute, Create branch, Contribute to pull requests (all Allow)
Steps to Reproduce
- Install / connect the Cursor Microsoft Teams app.
- Link the Teams account to Cursor.
- Connect Azure DevOps in Cursor Integrations and select the target repo.
- In Teams, mention
@Cursorwith a prompt targeting that Azure DevOps repo. - Observe the write-access error.
- Repeat with several other team members who also have Teams linked and ADO access → same error.
- Control A: From cursor.com/agents, start a Cloud Agent on the same Azure DevOps repo with the same account → succeeds.
- Control B: In Teams, run
@Cursoragainst a GitHub repo instead → succeeds.
Expected Behavior
Teams @Cursor should verify write access and start a Cloud Agent on the connected Azure DevOps repo, the same way it does for GitHub and the same way web Cloud Agents do for that ADO repo.
Actual Behavior
Teams returns:
Couldn’t verify write access to
<org>/<project>/<repo>. Make sure to connect your account.
The card still shows that the Microsoft Teams account is linked and offers Link Account, even though linking already succeeded. Re-linking does not fix it. Multiple users hit the same failure on the same ADO repo.
Evidence / Isolations
| Scenario | Result |
|---|---|
| Teams + Azure DevOps | |
| Teams + Azure DevOps (multiple users) | |
| Web Cloud Agent + same ADO repo + same account | |
| Teams + GitHub repo | |
| ADO permissions (Contribute / Create branch / Contribute to PRs) |
Conclusion
This looks like a bug in the Microsoft Teams integration’s Azure DevOps write-access verification path (ADO Cloud Agents are in public beta), not missing user permissions or incomplete Teams account linking.
Workaround
- Use GitHub repos with
@Cursorin Teams, or - Start Azure DevOps Cloud Agents from the Cursor web/app UI instead of Teams.
Steps to Reproduce
Steps to Reproduce
- Install / connect the Cursor Microsoft Teams app.
- Link the Teams account to Cursor.
- Connect Azure DevOps in Cursor Integrations and select the target repo.
- In Teams, mention
@Cursorwith a prompt targeting that Azure DevOps repo. - Observe the write-access error.
- Repeat with several other team members who also have Teams linked and ADO access → same error.
- Control A: From cursor.com/agents, start a Cloud Agent on the same Azure DevOps repo with the same account → succeeds.
- Control B: In Teams, run
@Cursoragainst a GitHub repo instead → succeeds.
Expected Behavior
Expected Behavior
Teams @Cursor should verify write access and start a Cloud Agent on the connected Azure DevOps repo, the same way it does for GitHub and the same way web Cloud Agents do for that ADO repo.
Operating System
Windows 10/11
Version Information
Cursor bot in Teams
Does this stop you from using Cursor
Yes - Cursor is unusable