-
Notifications
You must be signed in to change notification settings - Fork 4.2k
[Functions] New-AzFunctionApp fails on Windows PowerShell #29166
Copy link
Copy link
Closed
Labels
Azure PS TeamFunctionsService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.TrackingWe will track status and follow internallyWe will track status and follow internallyact-observability-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.
Metadata
Metadata
Assignees
Labels
Azure PS TeamFunctionsService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.TrackingWe will track status and follow internallyWe will track status and follow internallyact-observability-squadbugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.
Description
When running the cmdlet New-AzFunctionApp -ResourceGroupName $rgName -Name $funcAppName -Location $location -FunctionsVersion 4 -StorageAccountName $saName -OSType Windows -Runtime PowerShell -RuntimeVersion 7.4, it throws exception Cannot bind parameter because parameter 'Name' is specified more than once. To provide multiple values to parameters that can accept multiple values, use the array syntax. For example, "-parameter value1,value2,value3".
The problem is easy to reproduce and should be caused by this PR #28873
Issue script & Debug output
Environment data
Module versions
Error output