Azure DevOps VS40317 error persisting for several days

Strydom, Teresa 0 Reputation points
2026-10-01T09:25:42.62+00:00

Error for all Widgets on our ADO projects due to VS40317 error. We have tried various browsers and forced resets.

Azure DevOps
0 comments No comments

1 answer

Sort by: Most helpful
  1. AI answer

    2026-10-01T09:26:02.5866667+00:00

    For Azure DevOps widget failures persisting across browsers and resets, use this troubleshooting path:

    1. Verify the organization URL format. Use the current format: https://dev.azure.com/{organizationName}. A legacy URL configuration has been associated with intermittent Azure DevOps loading issues in a similar case.
    2. Fully sign out and clear browser state.
      • Go to https://aka.ms/VsSignout
      • Clear browser data with Ctrl+Shift+Delete
      • Remove cookies and site data, cached images and files, and autofill form data
      • Clear Microsoft Edge data as well, because Visual Studio IDE uses Microsoft Edge cookies
      • Close all browser and Visual Studio instances
    3. Test in a private browsing session. Open an InPrivate or incognito window and try the affected Azure DevOps project again.
    4. Confirm the correct account identity is being used. If multiple identities exist, sign in again and choose the correct account type and identity.
    5. Check for network interference.
      • Test from a different network or personal device
      • Verify any corporate proxy allows *.visualstudio.com and *.azure.com
      • Ensure the firewall allows HTTPS traffic to Azure DevOps endpoints
      • If a VPN is in use, test with the VPN disabled
    6. If the issue is only in Visual Studio, reset the IDE connection.
      • In Team Explorer, remove all Azure DevOps connections
      • Delete cached credentials from Windows Credential Manager
      • Restart Visual Studio
      • Add the Azure DevOps connection again
    7. If the issue continues after several days, collect diagnostics and open a support request. The documented next step is to create a browser trace of the failed sign-in or load attempt, then create a Microsoft Support request including:
      • a detailed issue description
      • steps already attempted
      • browser trace files
      • screenshots of the error

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.