Wednesday, April 10, 2024
PowerShell: Folder Diff
Wednesday, April 3, 2024
Visual Studio Code: Error Generation Bicep Template from Existing Azure Resource
The latest version of Microsoft's Bicep Extension (v0.26.54) for Visual Studio Code has a new behavior that causes an error message to be generated under certain circumstances. The Bicep Extension was covered in a blog post eighteen months ago (November 26, 2022: Azure: Generate a Bicep Template from an Existing Azure Resource using Visual Studio Code) and the manifesting of the following error message is a newish behavior in the extension:
Tuesday, April 2, 2024
Visual Studio Code: Azure Extension Pack error "Expected value to be neither null nor undefined"
This post presents a solution to the following error displayed in Visual Studio Code when using the Azure Tools Extension Pack:
Internal error: Expected value to be neither null nor undefined: resourceGroup for grouping item
The Azure Tools Extension Pack (Azure Tools) is critical to Azure developers who use Visual Studio Code (see the A below):
When signed in to a subscription, the Azure Tools Extension displays Azure resources by default, grouped by resource group. For some subscriptions (not all) the following error is displayed by Visual Studio Code when group by is set to "Group by Resource Group":
The fix to this issue is to click on the group by icon:
This displays the following context menu: