Closed JLZ1783 closed 10 months ago
Sorry that you're running into this issue. It seems like one of your Azure resources being listed doesn't have a resource group which is something that we (wrongly) assumed every Azure resource had.
Could you see if this workaround resolves your issue?
Resource Type
I don't believe resources groups don't exist because they definitely do. But also, I reverted to an older version and it worked as expected and shows all the RGs in the subscription.
Changing group by does seem to work on the v0.8.0.
Does this occur consistently? Recently occurring for 1 or more subscriptions but not all. ( I do have appropriate permissions to view resources and can access in the portal). Repro steps:
Action: subscriptionItem.getChildren Error type: Error Error Message: Internal error: Expected value to be neither null nor undefined: resourceGroup for grouping item
Version: 0.8.0 OS: win32 OS Release: 10.0.19044 Product: Visual Studio Code Product Version: 1.84.2 Language: en
Call Stack
``` nonNullValue extension.bundle.js:2:787434 groupingItemFactory extension.bundle.js:2:1536309 extension.bundle.js:2:1534158extension.bundle.js:2:1534158 groupBy extension.bundle.js:2:1534144 AzureResourceGroupingManager.groupByResourceGroup extension.bundle.js:2:1535976 AzureResourceGroupingManager.groupResources extension.bundle.js:2:1534944 SubscriptionItem.