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

No "xxx already exist" validation message pops up when creating a containerized function app with the same name again #4050

Open v-chenzha opened 5 months ago

v-chenzha commented 5 months ago

OS: All Build Version: vscode-azurefunctions-1.13.5-alpha.0-4 Regression: Not a Regression

Repro Steps:

  1. Open a containerized function project in VS Code.
  2. Create a containerized function app named "cindytest".
  3. Right click on the Function App tree item and click on the command "Create Function App in Azure…" -> Click "Container Image" -> Enter the same name as the above "cindytest".
  4. Check whether an "xxx already exist" validation message pops up.

Expect: An "xxx already exist" validation message pops up.

Screenshot 2024-03-20 at 15 58 20

Actual: No "xxx already exist" validation message pops up.

More Info:

  1. Pop up an error after creating the second “cindytest” containerized function app with the same name. image

  2. An "xxx already exist" validation message pops up when entering the containerized function app name same as regular function app name.

    Screenshot 2024-03-20 at 14 55 30
  3. This issue doesn't reproduce when creating a regular function app.

motm32 commented 5 months ago

Hi! Thanks for filing this issue. At the moment the portal also does not validate containrized function apps with the same name because of this we cannot validate on our end without knowing if it's within the subscription we need to validate or globally. I will reach out to the functions team and see if we can get some more information.