Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot list subscriptions - MSFT SAW #933

Open
nije-MSFT opened this issue Mar 1, 2024 · 4 comments
Open

Cannot list subscriptions - MSFT SAW #933

nije-MSFT opened this issue Mar 1, 2024 · 4 comments

Comments

@nije-MSFT
Copy link

  • VS Code Version: 1.85.1
  • Azure Account Extension Version: 0.9.11
  • OS Version: 10.0.22621

Does your account belong to more than one directory? No

Any other information about your Azure account that may be useful:

I get the Azure login browser page but then an error pops up in VS Code saying
The 'emitter' argument must be an instance of EventEmitter or EventTarget. Received an instance of AbortSignal

Happy to jump on a debugging session if needed

@alexweininger
Copy link
Member

Is there a specific reason you are using Azure Account version 0.9.11? Our latest versions of the resource extensions no longer use the Azure Account extension. Please update to the latest versions.

@nije-MSFT
Copy link
Author

That's all that's been approved for SAW usage for our org. I've put in a request to have the latest versions reviewed, but it could take a month or more for the review to complete.

@alexweininger
Copy link
Member

That's all that's been approved for SAW usage for our org. I've put in a request to have the latest versions reviewed, but it could take a month or more for the review to complete.

Wow, ok. Well 0.9.11 is from November 2021, and version 1.85.1 of VS Code is from November 2023. It's very likely that the old version of the Azure Account extension is not compatible with this relatively new version of VS Code. One thing you could try is installing an older version of VS Code (if that's possible 😄).

Also, what extension are you hoping to use alongside the Azure Account extension?

@nije-MSFT
Copy link
Author

I already looked into VS Code downgrades and that doesn't seem to be possible. I think older versions of software get revoked after a while. It sounds like I'm just sort of stuck while I wait for the new version review. I suppose I could look into where kubeconfig is located and just add tokens manually to try and unblock my team.

My team does a lot with AKS and we're trying to get our AKS workflows migrated over from our normal dev machines. The account extension makes hopping between a bunch of different clusters and subscriptions really easy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants