Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AzureFunctionsExtensionApi Does Not Ask for Function Name when Creating Powershell Function - No function made #4289

Closed
EvanR-Dev opened this issue Sep 16, 2024 · 0 comments · Fixed by #4295
Labels

Comments

@EvanR-Dev
Copy link

EvanR-Dev commented Sep 16, 2024

When creating a new Powershell Azure Function with the Az Fx Ext API, it does not ask for the name automatically when not providing the functionName. This parameter is considered optional
image

It only asks for the trigger type and then access level (2 steps):
image

Creation still happened, but it leads to a malformed Pwsh functions project. This error will pop up:
image

And this is what the project looks like after creation. The function was not made:
image

A workaround is to ask the user using a VSCode quick pick before creation happens - but this is out of order because we would want to know the trigger type before the name. Note this only happens in Pwsh - in Python and Node I can confirm it will ask for the function name from the user if not provided and works as expected

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants