Closed G-man83 closed 7 months ago
Regarding the sign-out, in Docker extension version 1.27 we switched away from the Azure Account extension (which will be deprecated at some point soon) to use the built-in Microsoft authentication provided by VSCode. The only way to sign out is to use the accounts menu on the bottom left.
As for the tenant, there is still some work ongoing to make it so the Azure Resources extension and Docker extension consistently show the same information.
As a workaround @G-man83, you can roll back to extension version 1.26.0 by running the command "Extensions: Install Specific Version of Extension...", choosing Docker, and then 1.26.0.
Extensions: Install Specific Version of Extension...
Thanks, @bwateratmsft. The workaround has worked 😄
Added the Documentation label as this will have doc impact.
@G-man83 the Azure Resources extension version 0.8.0 has been published now. This version contains a command, "Azure: Sign in to Directory..." that should allow you to sign in to alternate tenants. Please try it out with Docker extension version 1.28.0 and let me know if it works.
Basically, the Azure Resources extension is becoming an optional add-on that controls two things--subscription filtering and tenant sign in. Sort of taking the place of the Azure Account extension. Technically it's not required for most users so we didn't want to make it an extension dependency.
You can read more about the transition to built-in auth here: https://github.com/Microsoft/vscode-azureresourcegroups#move-to-built-in-vs-code-authentication
Does this occur consistently? Yes
Issue:
My Azure account is associated with multiple tenants, but the Docker extension only lists the subscriptions in the "default" tenant, even after I use
Azure: Select tenant
.Repro steps:
Azure: Sign out
Docker Registries: Disconnect
->Azure
.Azure: Sign in
to my organization accountAzure: Select tenant
- select the tenant that my subscriptions are inDocker Registries: Connect Registry...
->Azure Container Registry
Expected:
I am expecting to see the subscriptions in the selected tenant under the Azure registries.
Version: 1.27.0 OS: win32 OS Release: 10.0.19045 Product: Visual Studio Code Product Version: 1.83.1 Language: en