microsoft / vscode-azurefunctions

Azure Functions extension for VS Code
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurefunctions
MIT License
290 stars 131 forks source link

Fail to delete the function in a function app which created with Flex Consumption (Preview) hosting plan #4066

Open v-ruizh opened 3 months ago

v-ruizh commented 3 months ago

OS: All Build Version: v1.14.1-alpha.0 Regression: Not a Regression

Repro Steps:

  1. Create a python project with Http Trigger function.
  2. Create a python function app with Flex Consumption (Preview) hosting plan and East US 2 EUAP location.
  3. Deploy the python project to the above function app.
  4. Expand the above function app -> Expand the "Functions" node -> Right click the function and execute "Delete Function..." action.
  5. Check whether succeeds to delete the function.

Expect: Succeed to delete the function.

Actual: Fail to delete the function with an error. image

More Info: Another error occurs when deleting the function for the same function app in portal. image

nturinski commented 3 months ago

Similar to https://github.com/microsoft/vscode-azurefunctions/issues/4067, might be a different endpoint now.

nturinski commented 3 months ago

I believe that this is fixed. Could it be reverified?

v-ruizh commented 2 months ago

I believe that this is fixed. Could it be reverified?

Verified this bug on the latest main branch Functions extension build, this bug still reproduces. image