Git Integration for Jira Cloud Documentation

Contact support  

OAuth connection error or error 401 page with Azure DevOps with Active Directory integration


You are getting the OAuth connection error or a 401 web page error is displayed when integrating with Azure DevOps connected to Active Directory.


These issues are related to the security settings in your Azure DevOps portal where certain security policies are rejecting connections to Git Integration for Jira app.

Moreover, for Azure Active Directory connections, the conditional access policy setting (when enabled) will force all untrusted location to require MFA in order to connect with Azure DevOps.


For Azure DevOps with Active Directory connections, this is due to the conditional access security setting being enabled.


Git Integration for Jira Cloud requires Git admins to allow the third-party app access OAuth security policy in their organization settings:

  1. On your VSTS/Azure DevOps portal, go to the home page.

  2. Click an organization then go to Organization Settings (sidebar).

  3. Under Security, click Policies.

  4. Ensure that the Third-party application access via OAuth option is set to ON.

For projects connected with Azure Active Directory, the above requirement must also be enabled and set the conditional access policy validation to OFF:

Contact Us

If you still have a question – reach out to our Support Desk or email us at

Have feedback about this article? Did we miss something? Let us know!
On this page