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

Can't change my Directory #69

Closed
jr-uk opened this issue Nov 8, 2024 · 1 comment
Closed

Can't change my Directory #69

jr-uk opened this issue Nov 8, 2024 · 1 comment

Comments

@jr-uk
Copy link

jr-uk commented Nov 8, 2024

I'm having an issue where I can't sign in to any directory. When i go to the Azure extension and want to create a resource it has this "Sign in to Directory..." option there. When i click it, this shows an option for a Directory that doesn't exist on this Azure account but there is no way to choose another one?

I have tried using the F1 menu and selecting a Directory there and also signing in to the specific Tenant there but in all cases it doesn't get added to this list and there seems to be now way around it?

I am logged in to my Azure account as shown at the bottom of the screen and I am certain the Tenant ID is different for that account and the one listed at the top, but I've obfuscated for posting here. I think I used that Default Directory some time ago but it is definitely not linked to this Azure account so what gives? Is there some settings cached somewhere I can clear ?

Image

Thank you

@jr-uk
Copy link
Author

jr-uk commented Nov 8, 2024

I realised this belongs in the Azure Resource extension issues now after a bit of digging so I'll close.

Additionally FYI, I found checking "Microsoft: Use Msal" fixed my issue and cleared the existing directory so I could use one attached to my account instead. I read here "microsoft/vscode-azureresourcegroups#935" that it was recently added so I guess they broke it with an update.

@jr-uk jr-uk closed this as completed Nov 8, 2024
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

1 participant