microsoft / vscode-azureresourcegroups

VS Code extension for managing Azure resources.
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azureresourcegroups
MIT License
52 stars 28 forks source link

Can't Create Function App in Azure - option select loops on Loading... #598

Closed bartoszwalicki closed 1 year ago

bartoszwalicki commented 1 year ago

Hi

I am working on fresh install of Azure Function Extension and recent Azure Core Tools. I can't go through first step, extension loops on Create Function app in Azure select endlessly. That completely locks VS Code UI and it needs to be rebooted.

Azure Functions Core Tools
Core Tools Version:       4.0.5030 Commit hash: N/A  (64-bit)
Function Runtime Version: 4.15.2.20177

Extension
ms-azuretools.vscode-azurefunctions
Azure Functions
v1.10.3

Os
Linux version 6.1.12-arch1-1 (linux@archlinux)

Reproduction steps:

  1. Install Azure Functions Core Tools
  2. Install Azure Functions extension in VS Code
  3. Login to Azure account
  4. Try to execute "Create Function App in Azure"

Recording:

Edit: The same behavior on macOs 13.0 (22A380).

alexweininger commented 1 year ago

Thanks for reporting this issue and including details steps. As a workaround, click on the "Select Subscriptions..." item in the Resources View to select your subscriptions before attempting to create a Function App.

Please let me know if that works.

bartoszwalicki commented 1 year ago

I found what was wrong, it was pretty obvious. I haven't got any subscription at all on my Azure account. After creating subscription all working as intended. It would be nice to handle this kind of case.

alexweininger commented 1 year ago

I found what was wrong, it was pretty obvious. I haven't got any subscription at all on my Azure account. After creating subscription all working as intended. It would be nice to handle this kind of case.

I'm glad you found a workaround. A fix for this bug has been merged and we're hoping to release it soon. (https://github.com/microsoft/vscode-azuretools/pull/1400)

alexweininger commented 1 year ago

This issue has been fixed in the latest release of the Azure Resources extension (v0.6.1).