# Microsoft Teams: "Couldn't verify write access" for Azure DevOps repos; GitHub and web Cloud Agents work

**URL:** <https://forum.cursor.com/t/microsoft-teams-couldnt-verify-write-access-for-azure-devops-repos-github-and-web-cloud-agents-work/166394>\
**Category:** Bug Reports\
**Tags:** ms-teams, cloud-agents\
**Created:** [July 22, 2026, 4:55pm UTC](https://forum.cursor.com/t/microsoft-teams-couldnt-verify-write-access-for-azure-devops-repos-github-and-web-cloud-agents-work/166394 "2026-07-22T16:55:43Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dmytro\_Obolonyk](https://avatars.discourse-cdn.com/v4/letter/d/71c47a/32.png) [@Dmytro\_Obolonyk](https://forum.cursor.com/u/Dmytro_Obolonyk)\
**Post date:** [July 22, 2026, 4:55pm UTC](https://forum.cursor.com/t/microsoft-teams-couldnt-verify-write-access-for-azure-devops-repos-github-and-web-cloud-agents-work/166394/1 "2026-07-22T16:55:43Z")

</div>

### 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 (`@Cursor` bot)
- 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

1. Install / connect the Cursor Microsoft Teams app.
2. Link the Teams account to Cursor.
3. Connect Azure DevOps in Cursor Integrations and select the target repo.
4. In Teams, mention `@Cursor` with a prompt targeting that Azure DevOps repo.
5. Observe the write-access error.
6. Repeat with several other team members who also have Teams linked and ADO access → same error.
7. Control A: From [cursor.com/agents](http://cursor.com/agents), start a Cloud Agent on the **same** Azure DevOps repo with the **same** account → succeeds.
8. Control B: In Teams, run `@Cursor` against 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 | ❌ Write access verification fails |
| Teams + Azure DevOps (multiple users) | ❌ Same failure for all testers |
| Web Cloud Agent + same ADO repo + same account | ✅ Works |
| Teams + GitHub repo | ✅ Works |
| ADO permissions (Contribute / Create branch / Contribute to PRs) | ✅ Sufficient |

## 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 `@Cursor` in Teams, or
- Start Azure DevOps Cloud Agents from the Cursor web/app UI instead of Teams.

## 

### Steps to Reproduce

## Steps to Reproduce

1. Install / connect the Cursor Microsoft Teams app.
2. Link the Teams account to Cursor.
3. Connect Azure DevOps in Cursor Integrations and select the target repo.
4. In Teams, mention `@Cursor` with a prompt targeting that Azure DevOps repo.
5. Observe the write-access error.
6. Repeat with several other team members who also have Teams linked and ADO access → same error.
7. Control A: From [cursor.com/agents](http://cursor.com/agents), start a Cloud Agent on the **same** Azure DevOps repo with the **same** account → succeeds.
8. Control B: In Teams, run `@Cursor` against 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

---

<div class="post-metadata">

**Author:** ![kevinn](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/kevinn/32/101206_2.png) [@kevinn](https://forum.cursor.com/u/kevinn)\
**Post date:** [July 22, 2026, 6:03pm UTC](https://forum.cursor.com/t/microsoft-teams-couldnt-verify-write-access-for-azure-devops-repos-github-and-web-cloud-agents-work/166394/7 "2026-07-22T18:03:45Z")

</div>

Hi @Dmytro_Obolonyk Thanks for the forum post! We’ve confirmed this is a bug in the Microsoft Teams integration’s write-access verification for Azure DevOps repositories. When a launch comes from Teams, the step that verifies write access doesn’t yet recognize Azure DevOps repos, so it falls back to the generic “connect your account” message even though your account is linked correctly. That’s exactly why the same repo and account succeed from the web, and why GitHub repos work fine through Teams.

We’re tracking this internally and have flagged that it’s affecting more teams now that Azure DevOps cloud agents are in public beta, so it’s on our list to fix.

In the meantime, the two workarounds you already identified are the right ones:

- Start Azure DevOps cloud agents from [cursor.com/agents](http://cursor.com/agents) or the Cursor app instead of Teams.
- Use GitHub repos when triggering @Cursor from Teams.

Thank you again for raising this, and I will keep you updated on the status of it as we look to resolve it.

---

<div class="post-metadata">

**Author:** ![grady](https://avatars.discourse-cdn.com/v4/letter/g/73ab20/32.png) [@grady](https://forum.cursor.com/u/grady)\
**Post date:** [July 23, 2026, 2:34am UTC](https://forum.cursor.com/t/microsoft-teams-couldnt-verify-write-access-for-azure-devops-repos-github-and-web-cloud-agents-work/166394/8 "2026-07-23T02:34:41Z")

</div>

Hi we are seeing the same issue with Azure DevOps when using Slack also, so hopefully a fix for Teams would also fix Slack.

---

<div class="post-metadata">

**Author:** ![david-pw](https://avatars.discourse-cdn.com/v4/letter/d/f475e1/32.png) [@david-pw](https://forum.cursor.com/u/david-pw)\
**Post date:** [August 27, 2026, 9:06pm UTC](https://forum.cursor.com/t/microsoft-teams-couldnt-verify-write-access-for-azure-devops-repos-github-and-web-cloud-agents-work/166394/9 "2026-08-27T21:06:16Z")

</div>

I don’t want to admit we use Atlassian Rovo, but Cursor in Rovo produces the exact same messages - I’ve setup user routing rules & repo defaults to Azure Devops .. and it’s no good ☹

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/b/8/b84f150a9d22a6f7e31bb66518c4c1335d7a1942.png)

---

<div class="post-metadata">

**Author:** ![Fernando\_Abolafio](https://avatars.discourse-cdn.com/v4/letter/f/b5e925/32.png) [@Fernando\_Abolafio](https://forum.cursor.com/u/Fernando_Abolafio)\
**Post date:** [September 18, 2026, 11:27am UTC](https://forum.cursor.com/t/microsoft-teams-couldnt-verify-write-access-for-azure-devops-repos-github-and-web-cloud-agents-work/166394/10 "2026-09-18T11:27:18Z")

</div>

HI, I’ am having the same issue here at my ORG. The ingration between MS \<\> Cloud Agents \<\> Azure DevOps is broken.

Any ETA on the fix for this?

It’s a big enabler for us.

---

<div class="post-metadata">

**Author:** ![Arven](https://avatars.discourse-cdn.com/v4/letter/a/71c47a/32.png) [@Arven](https://forum.cursor.com/u/Arven)\
**Post date:** [September 24, 2026, 1:55pm UTC](https://forum.cursor.com/t/microsoft-teams-couldnt-verify-write-access-for-azure-devops-repos-github-and-web-cloud-agents-work/166394/11 "2026-09-24T13:55:43Z")

</div>

Hello,

Having the same issue with MS Teams and Cloud agents integration with Azure DevOps.

Any timeline when this can be fixed?

---

<div class="post-metadata">

**Author:** ![kevinn](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/kevinn/32/101206_2.png) [@kevinn](https://forum.cursor.com/u/kevinn)\
**Post date:** [October 20, 2026, 10:42pm UTC](https://forum.cursor.com/t/microsoft-teams-couldnt-verify-write-access-for-azure-devops-repos-github-and-web-cloud-agents-work/166394/12 "2026-10-20T22:42:58Z")

</div>

Hi all, thanks for your patience on this one, and to everyone who added details here.

Good news: we’ve rolled out a change that lets the Microsoft Teams integration recognize Azure DevOps repositories when it checks write access before starting a Cloud Agent. Launching from Teams against an Azure DevOps repo should now work, instead of returning the “Couldn’t verify write access… Make sure to connect your account” message.

If you were running into this, please give it another try. If it still fails:

- Make sure the repo is referenced in the full Azure DevOps format, `organization/project/repository`. A two-part `organization/repository` value won’t be matched to Azure DevOps.
- If your saved default repository only shows two parts, pick the repo again from the **Switch Repo** list in Teams so the full path is used.

If you still see the error after that, reply here with the repo name shown in the Teams message (feel free to redact your org name) and roughly when you tried, and I’ll take a closer look.

@grady, on Slack: the same change applies when the repo is given as `organization/project/repository`. One case still being worked on is a full Azure DevOps URL in Slack where the project name contains a space. If that matches your setup, let me know.

@david-pw, I don’t have a confirmed update for Rovo yet. Could you try again and let me know whether you still see the same message? I’ll pass along what you find.

I’ll keep an eye on this thread, so let us know how it goes.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/colin/32/90452_2.png) [@Colin](https://forum.cursor.com/u/Colin)\
**Post date:** [October 21, 2026, 6:52pm UTC](https://forum.cursor.com/t/microsoft-teams-couldnt-verify-write-access-for-azure-devops-repos-github-and-web-cloud-agents-work/166394/14 "2026-10-21T18:52:58Z")

</div>

Hey @Dmytro_Obolonyk,

Quick follow-up to the update above: the change that lets Teams recognize Azure DevOps repos when it checks write access is now live for everyone, so launching a Cloud Agent from Teams against an Azure DevOps repo should work without the “Couldn’t verify write access” message.

If it still fails, pick the repo again from the Switch Repo list so the full organization/project/repository path is used, then give it another try. If you still see the error after that, let me know here.

cc @Fernando_Abolafio @Arven @grady @david-pw
