> For the complete documentation index, see [llms.txt](https://docs.mobb.ai/mobb-user-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mobb.ai/mobb-user-docs/common-troubleshooting-scenarios/scm-ado-oauth-toggle.md).

# SCM Connection - Azure DevOps OAuth won't complete

**Symptoms**

* For Azure DevOps (cloud), Mobb shows "Token acquired, you may close this tab," but the repository connection still fails.

**Likely cause**

Your Azure DevOps organization blocks third-party application access via OAuth.

**Resolution**

Enable third-party OAuth access in Azure DevOps: **Organization Settings → Policies → Third-party application access via OAuth**, and set the toggle to **On**. This is also covered in the [FAQ](/mobb-user-docs/more-info/frequently-asked-questions-faq.md).

{% hint style="info" %}
On-premises **Azure DevOps Server / TFS** repositories are reached through the Mobb Broker. If the ADO/TFS broker isn't onboarded yet, direct connectivity to those repos won't be available — contact <support@mobb.ai>.
{% endhint %}
