小编Dee*_*esh的帖子

Az 版本为 null 在代理上本地不可用。Validate-VersionParameters:无法将值“null”转换为类型“System.Version”

尝试在 Azure DevOps 中运行AzurePowerShell@5任务时遇到问题

\n
Az version null not avaiable locally on the agent. Downloading dynamically.\nValidate-VersionParameters: Cannot convert value \'null\' to type \'System.Version\'\nException: /home/vsts/work/_tasks/AzurePowerShell_72a1931b-effb-4d2e-8fd8-f8472a07cb62/5.218.0/Utility.ps1:94\nLine |\n94 |  \xe2\x80\xa6             throw ("Could not find the module path with given version \xe2\x80\xa6\n |                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n | Could not find the module path with given version.\n [![enter image description here][1]][1]\n
Run Code Online (Sandbox Code Playgroud)\n

错误快照

\n

azure-powershell azure-devops

2
推荐指数
1
解决办法
894
查看次数

标签 统计

azure-devops ×1

azure-powershell ×1