Issues with User Accounts and login window frequently popping up


Since a few weeks, I’m experiencing some issues with my Visual Studio.

One of the symptoms is that I cannot re-authenticate my Azure account.
It’s timing out somewhere
enter image description here

I was able to find some logs but they said the same thing.

02/07/2025 07:17:51 Romance Standard Time : Error : There was a problem executing interactive flow error: ‘MSAL.NetCore.4.64.1.0.MsalClientException:
ErrorCode: authentication_ui_failed
Microsoft.Identity.Client.MsalClientException: The browser based authentication dialog failed to complete. Reason: The server or proxy was not found.
at Microsoft.Developer.IdentityService.AccountProvider.MsalNetworkServicesImpl.PerformInteractiveCallbackAsync(MsalGetTokenInteractiveContext context, CancellationToken cancellationToken)
at Microsoft.Developer.IdentityService.AccountProvider.MsalNetworkServicesImpl.DoEmbeddedFlowAsync(AuthenticationFlowType authenticationFlowType, Boolean isADFS, MsalGetTokenInteractiveContext context, IPublicClientApplication pca, CancellationToken cancellationToken)
at Microsoft.Developer.IdentityService.AccountProvider.MsalNetworkServicesImpl.ExecuteInteractiveFlowAsync(IGetTokenInteractiveContext getTokenContext, AuthenticationFlowType authenticationFlowType, CancellationToken cancellationToken)’
02/07/2025 07:17:51 Romance Standard Time : Error : START MSAL DIAGNOSTICS

END MSAL DIAGNOSTICS
02/07/2025 07:17:51 Romance Standard Time : Error : There was a problem getting the access token using the prompt with UI flow. Error: ‘MSAL.NetCore.4.64.1.0.MsalClientException:
ErrorCode: authentication_ui_failed
Microsoft.Identity.Client.MsalClientException: The browser based authentication dialog failed to complete. Reason: The server or proxy was not found.
at Microsoft.Developer.IdentityService.AccountProvider.MsalNetworkServicesImpl.PerformInteractiveCallbackAsync(MsalGetTokenInteractiveContext context, CancellationToken cancellationToken)
at Microsoft.Developer.IdentityService.AccountProvider.MsalNetworkServicesImpl.DoEmbeddedFlowAsync(AuthenticationFlowType authenticationFlowType, Boolean isADFS, MsalGetTokenInteractiveContext context, IPublicClientApplication pca, CancellationToken cancellationToken)
at Microsoft.Developer.IdentityService.AccountProvider.MsalNetworkServicesImpl.ExecuteInteractiveFlowAsync(IGetTokenInteractiveContext getTokenContext, AuthenticationFlowType authenticationFlowType, CancellationToken cancellationToken)
at Microsoft.Developer.IdentityService.AccountProvider.MsalNetworkServicesImpl.ExecuteInteractiveFlowAsync(IGetTokenInteractiveContext getTokenContext, AuthenticationFlowType authenticationFlowType, CancellationToken cancellationToken)
at Microsoft.Developer.IdentityService.AccountProvider.AadAccountProviderNetworkServicesBase.AcquireTokenWithPromptInternalAsync(String resource, String tenant, UserIdentifier userId, String queryParameters, AuthenticationFlowType authenticationFlowType, Dictionary2 additionalAuthProperties, CancellationToken cancellationToken)' 02/07/2025 07:17:51 Romance Standard Time : Error : CreateAccount: Creating an account. QueryParameters 'site_id=501454&display=popup&nux=1' Account creation failed. Error: 'MSAL.NetCore.4.64.1.0.MsalClientException: ErrorCode: authentication_ui_failed Microsoft.Identity.Client.MsalClientException: The browser based authentication dialog failed to complete. Reason: The server or proxy was not found. at Microsoft.Developer.IdentityService.AccountProvider.MsalNetworkServicesImpl.PerformInteractiveCallbackAsync(MsalGetTokenInteractiveContext context, CancellationToken cancellationToken) at Microsoft.Developer.IdentityService.AccountProvider.MsalNetworkServicesImpl.DoEmbeddedFlowAsync(AuthenticationFlowType authenticationFlowType, Boolean isADFS, MsalGetTokenInteractiveContext context, IPublicClientApplication pca, CancellationToken cancellationToken) at Microsoft.Developer.IdentityService.AccountProvider.MsalNetworkServicesImpl.ExecuteInteractiveFlowAsync(IGetTokenInteractiveContext getTokenContext, AuthenticationFlowType authenticationFlowType, CancellationToken cancellationToken) at Microsoft.Developer.IdentityService.AccountProvider.MsalNetworkServicesImpl.ExecuteInteractiveFlowAsync(IGetTokenInteractiveContext getTokenContext, AuthenticationFlowType authenticationFlowType, CancellationToken cancellationToken) at Microsoft.Developer.IdentityService.AccountProvider.AadAccountProviderNetworkServicesBase.AcquireTokenWithPromptInternalAsync(String resource, String tenant, UserIdentifier userId, String queryParameters, AuthenticationFlowType authenticationFlowType, Dictionary2 additionalAuthProperties, CancellationToken cancellationToken)
at Microsoft.Developer.IdentityService.AccountProvider.AadAccountProviderService.CreateAccountInnerAsync(String userName, String queryParameters, AuthenticationFlowType authenticationFlowType, Dictionary`2 additionalAuthProperties, Boolean homeTenantOnly, CancellationToken cancellationToken)’

Another sympton is that VS.Net is popping up login screen (I use system web browser) pretty frequently. I don’t know why or what.

And final sympton is when I try to do a build, it’s stuck on Build started, pops the login screen 2 to 3 times (appearing time 30s and re-appearing time several minutes) for then to fail with this error : TF30063: You are not authorized to access dev.azure.com
If this happens, I can’t connect to my Git repo via Team Explorer either, it’s stuck on ‘Connecting’

enter image description here

Most of the times a reboot does the trick but it’s getting more frequent (multiple times a day) and it’s driving me crazy 🙁

Ironically enough when I try to use the ‘Report a problem’ method in VS.Net, it opens a new browser tab and then remains blocked on Authentication
enter image description here

I’m on the latest available version of VS.Net2022 Community Edition

Any Idea’s?

Leave a Reply

Your email address will not be published. Required fields are marked *