microsoft / vscode-azureresourcegroups

VS Code extension for managing Azure resources.
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azureresourcegroups
MIT License
52 stars 28 forks source link

Timed out waiting for authentication provider to register #790

Closed alexweininger closed 7 months ago

alexweininger commented 9 months ago

I'm having a similar issue with this. I can confirm this is happening with the 0.8.0 version of the extension and it's not happening on the 0.7.5. In my case I'm not using any sovereign Azure. And in my case the thrown error when this happens is as follows:

Timed out waiting for authentication provider to register.

A little more of information:

It is fixable if you downgrade to the v0.7.5 and refresh the resources submenu. If you upgrade to the 0.8.0 you still can see the resources until you close your VSCode instance.

Originally posted by @eliasrodeloso in https://github.com/microsoft/vscode-azureresourcegroups/issues/780#issuecomment-1852871343

Created a new issue for this. We'll probably need to ask VS Code for help on this one. I've seen it a few times in Static Web Apps with the GitHub auth provider too so I think it could be a bug in VS Code.

nturinski commented 9 months ago

Do you know if that error consistently reproduces for some people? I've had this happen to me too, but I can't always repro it.

alexweininger commented 9 months ago

It's inconsistent and you can get rid of it by restarting VS Code and/or re-installing the extension.

eliasrodeloso commented 9 months ago

In my case I can't get rid of it I restart my VSCode, only by reinstalling the 0.7.5 version of the extension.

mat-ej commented 9 months ago

I am consistently getting this very same error

Timed out waiting for authentication provider to register

az login from CLI works flawlessly, opens up web page, shows storage accounts etc etc no problem

only Azure resources fails

EDIT: version 0.7.5. works

btw what is going on with vscode, recently most extensions break at their stable versions, I am half thinking of going back to jetbrains

alexweininger commented 8 months ago

The Azure Resources extension depends on the Microsoft Authentication extension which is built in to VS Code. It's possible that this extension is disabled, which might be causing this error. Please check that you have the Microsoft Authentication extension enabled.

image
nturinski commented 7 months ago

@eliasrodeloso and @mat-ej

Were you able to try Alex's suggestion?

The Azure Resources extension depends on the Microsoft Authentication extension which is built in to VS Code. It's possible that this extension is disabled, which might be causing this error. Please check that you have the Microsoft Authentication extension enabled.

image

Please let us know if this resolved the issue for you.

AzCode-Bot commented 7 months ago

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.

Happy Coding!