Associating test cases in Visual Studio, how to fix VS30063: You are not authorized to access https://dev.azure.com

Eric Christensen 0 Reputation points
2023-04-18T23:24:51.43+00:00

I have been trying to associate test cases to an automated test plan in Azure devops. I follow the same steps outlined here: https://video2.skills-academy.com/en-us/azure/devops/test/associate-automated-test-with-test-case?view=azure-devops

I have been able to do this in the past but suddenly cant and get the following error:image.png

I have done this in the past without issue, this is a recent problem. I have tried many different solutions in my searches including the following:

  1. Closing Visual Studio and opening the solution directly
  2. Logging out of my account on Visual Studio, logging back in, closing and reopening Visual Studio
  3. Refreshing my DevOps personal access token
  4. Clearing my cached credentials by closing Visual Studio then deleting everything in %localappdata%\.identityservice then opening Visual Studio and logging in again. I am currently running Visual Studio 2022 version 17.2.0
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,869 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
337 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Eric Christensen 0 Reputation points
    2023-04-18T23:28:27.82+00:00

    As it would happen... just after posting my question I thought to try one more thing and it worked.

    1. Deleting my DevOps personal access token
    2. Log out of my account on Visual Studio
    3. Close Visual Studio
    4. Open Visual Studio
    5. Login, close and reopen
    0 comments No comments