vscode-azureresourcegroups
vscode-azureresourcegroups copied to clipboard
Cannot load resources when using account with access to multiple tenants
I use my azure account to log in to my main tenant. I use the same account to log on to another tenant, where my account is invited as guest account and made member.
Resources are never displaying:
When I connect to my main tenant, Logic Apps and Integration Accounts load by selected subscription as expected. But refreshing the Resources generates this toast:
It seems like others have a similar issue depending on the issues logged here: https://github.com/microsoft/vscode-azureresourcegroups/issues
I post here, because I think this is a a more general issue and not necessarily only related to Resource Groups.
Version: 0.8.4 OS: win32 OS Release: 10.0.22621 Product: Visual Studio Code Product Version: 1.87.1 Language: en
Or actually it might be more like this one: https://github.com/microsoft/vscode-azure-account/issues/160
Hi, have you tried using the "Azure: Sign in to Directory..." command? This new command allows you to sign into additional tenants. This may fix your issue.
Just tried that - unfortunately that does not solve my issue.
First time I tried, I was able to select the proper tenant (pasted the tenant guid in the search bar when it was still iterating over the tenants), but only subscriptions from the other tenant was listed in the resource view.
Signed out and restarted vscode and tried again. Now the tenant I want to log on to is not listed in the Azure: Sign in to Directore ... command
Signed out and restarted vscode and tried again. Now the tenant I want to log on to is not listed in the Azure: Sign in to Directore ... command
if a tenant isn't listed there, it means it's signed in.
Did you sign out like so?
Also, double check that you don't have any subscripton/tenant filters preventing it from being displayed. The setting id is azure.resourceFilter
I did sign out there, and I clened out my azure.resource filter completely - several times.
Logic apps and integration accounts have no problems finding a subscription:
But clicking the reefresh button on resources generates an error:
We're aware of that error but currently have no fixes except to reload VS Code and try again.
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!