// troubleshooting guide · azure devops
Azure DevOps TF400813: The User Is Not Authorized to Access This Resource
- Status
- Ongoing
- platforms:
- Web, Visual Studio, integrations
- updated:
- November 16, 2026
- reports:
- 4
- Method
- how we research
RUNBOOK · azure-devops/tf400813-not-authorized4 FIXES
// quick answer
Azure DevOps doesn't recognize the account or token as having access. Check that the user is in the organization with a valid access level, signed into the right Entra tenant, and that the PAT has the needed scopes.
Most likely fix: Check membership and access level
How to fix it
// try these in order, the most common fix is first
FIX 1Check membership and access level
- 01Organization settings > Users
- 02Make sure the account is listed with Basic or Stakeholder access
- 03Add it to the right project group
Did this fix it?FIX 2Check the tenant
- 01Organization settings > Microsoft Entra to see the connected directory
- 02Sign in with an account from that tenant
Did this fix it?FIX 3Fix tokens and app access
- 01Create a new PAT with the required scopes
- 02Organization settings > Policies > enable 'Third-party application access via OAuth' if the integration needs it
- 03Reconnect the integration
Did this fix it?FIX 4Clear the cached session
- 01Sign out and back in, or restart the client (Visual Studio, SSMS)
- 02Clear cached credentials for dev.azure.com
Did this fix it?
Symptoms
Visual Studio, a third-party integration (Zapier, Logic Apps, Fivetran) or the CLI fails with 'TF400813: The user ... is not authorized to access this resource'.
Why it happens
- C-01The account isn't a member of the organization or has no access level
- C-02The organization is connected to a different Entra ID tenant
- C-03The PAT lacks scopes or expired
- C-04Third-party OAuth access is disabled in organization policies
- C-05A stale cached session in the client
// this guide also covers
- tf400813 the user is not authorized to access this resource
- azure devops not authorized
- azure devops 401 unauthorized
Still not working?
If Azure DevOps keeps failing, you're not alone. See every Azure DevOps problem users report or the alternatives people switch to.
Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.
Talk to usOther Azure DevOps errors
- Azure DevOps No Hosted Parallelism Has Been Purchased or Granted
- Azure DevOps Pipeline Stuck in Queue (Waiting for an Available Agent)
- Azure DevOps Pipeline Not Triggering on Push
- Azure DevOps Git Authentication Failed (PAT Not Working)
- Azure DevOps TF401027: You Need the Git 'GenericContribute' Permission
- Azure Pipelines Job Canceled After 60 Minutes
- Azure Artifacts Feed 401 Unauthorized (Unable to Load the Service Index)
- Azure DevOps Service Connection 'Failed to Obtain the JSON Web Token'