问题 In an Azure DevOps pipeline template, I am declaring a parameter as an array/sequence parameters: mySubscription: '' myArray: [] steps: - AzureCLI@2 inputs: azureSubscription: ${{ parameters.mySubscription }} scriptType: pscore scriptPath: $(Build.SourcesDirectory)/script.ps1 arguments: '-MyYAMLArgument ${{ parameters.myArray }}' Value for the parameter is then passed from pipeline definition as steps: - template: myTemplate.yml parameters: mySubscription: 'azure-connection' myArray: - field1