Visual Studio will not log in

Matej Cigale 0 Reputation points
2024-11-18T10:40:41.5533333+00:00

I've been trying to sign in into my Visual Studio 2022 with my subscribtion, but it's just not happening. If I wait a really long time it asks me to which account I want to sign in, then I can input the password, two factor authentication goes trough but nothing happens. The signing in circle is still spinning and if I leave it going for over an hour I get an error:

Provide value on 'System.Windows.Markup.StaticResourceHolder' threw an exception.

I tried reinstalling VS, cleaning the cache restarting my PC. Anything really.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,225 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,053 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 29,931 Reputation points Microsoft Vendor
    2024-11-18T12:28:44.7733333+00:00

    Hi @Matej Cigale

    Welcome to Microsoft Q&A! 

    How did you sign in your account?  

    Please try the following steps:

    1. Close all running VS instances.
    2. Delete your browser history, cache and cookies.
    3. Delete all files of %localappdata%\.Identityservice.
    4. Relaunch your Visual Studio and click on the “Help” menu> Send Feedback > Report a Problem… > Sign into your account on Visual Studio Feedback page
    5. Go back to Visual Studio and check if you have signed in your account.

     

    Sincerely,

    Anna


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".  Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

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