After it failed when I check the input , the parameter names display like: [PARAMETER 1], [PARAMETER 2],...
Sorry.. I just realized that it should be sent as one parameter like:
-s xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx -g contosogroup -a contosoaccount -m pytz
so I close the issue.
I have created a runbook for running the python file: https://github.com/azureautomation/runbooks/blob/master/Utility/Python/import_py3package_from_pypi.py However when I start it, it fails. It seems there is a bug in getting the parameters. By starting it from portal, it doesn't ask for any parameters. I have also tried to run it via powershell:
$params = @{"subscription_id"="xxx";"resource_group"="xxx";"automation_account"=xxx;"module_name"="xxx"} Start-AzAutomationRunbook -AutomationAccountName "xxx" -Name "xxx" -ResourceGroupName "xxx" -Parameters $params
I have followed the following doc: python-3-packages
After it failed when I check the input , the parameter names display like: [PARAMETER 1], [PARAMETER 2],...
Sorry.. I just realized that it should be sent as one parameter like: -s xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx -g contosogroup -a contosoaccount -m pytz so I close the issue.