microsoft / vscode-azurefunctions

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

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

Open v-ruizh opened 6 months ago

v-ruizh commented 6 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 "Disable Function" action.
  5. Check whether succeeds to disable the function.

Expect: Succeed to disable the function.

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

More Info: This issue does not reproduce if executing "Disable Function" action for the same function app from portal.

nturinski commented 6 months ago

Related to https://github.com/microsoft/vscode-azurefunctions/issues/4067

nturinski commented 5 months ago

Will be fixed whenever this is fixed