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

Element with id /subscriptions/(GUID) is already registered #160

Open
Tracked by #952
pejuborg opened this issue Nov 11, 2019 · 7 comments
Open
Tracked by #952

Element with id /subscriptions/(GUID) is already registered #160

pejuborg opened this issue Nov 11, 2019 · 7 comments
Assignees

Comments

@pejuborg
Copy link

Hi,

I'm using the extension Azure Functions which uses this extension to connect to Azure.

I can login, but I get a message saying "Element with id /subscriptions/GUID) is already registered"

Also, I don't see any of the functions I already have.

@pejuborg
Copy link
Author

After further checking it seems to caused by the fact that I've logged in with different accounts that have access to the same subscription.

@jlieuw
Copy link

jlieuw commented Feb 15, 2020

After further checking it seems to caused by the fact that I've logged in with different accounts that have access to the same subscription.

try signing out of azure in vs code: F1 + Seach: Azure Sign Out
Then sign back in and see if it works

@GeorgeWieggers
Copy link

In case anyone is still struggling with this issue...

Try selecting your Azure subscriptions manually in VS Code: F1 + Search: Azure Select Subscriptions
Then, select the appropiate subscription(s).

BUT.....: if subscriptions are listed twice in the drop down, then make sure to select each subscription only once.

@sgiovinetti
Copy link

thanks @GeorgeWieggers this worked for me.

Btw my issue is that I have a customer subscription onboarded on my tenant with Azure Lighthouse, somehow the azure account extension sees it duplicated.

@wwlorey
Copy link
Contributor

wwlorey commented Jul 9, 2021

Dedupe accounts

@wwlorey wwlorey added this to the Backlog Candidates milestone Jul 9, 2021
@HariKrishnaChowdary
Copy link

I couldn't resolve the issue with the above steps.. Can someone help me resolve the issue...

@Wojciech-Rozanski-CDT
Copy link

I am experiencing the same problem. I'm logging in with an account which is used with Azure Lighthouse. I make sure that only my personal subscription is selected, however after a refresh I get the same message:

Element with id /subscriptions/xxx is already registered

With xxx being one of my Client's subscriptions.

I can't see any of my own resources.
Logging out and logging back in does not help.

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

No branches or pull requests

9 participants