Closed fuglphoenix closed 4 years ago
@fuglphoenix , thanks for reporting. the message written into $error is a false alarm, because it is PowerShell mechanism and any error will be written into it but it is not a real problem from Azure PowerShell.
We believe we have fixed this problem in upcoming release. Please verify it again after new Az.Accounts 2.x available in the next week.
I tried Az.Accounts 2.1.0 and cannot reproduce the issue. Please confirm as well.
@dingmeng-xue I can comfirm that it is now working
Thanks for confirmation. Please contact us if you have further question.
Description
when using Connect-AzAccount in an Azure runbook i get an error. It is not thrown but it is located in
$error
variableSteps to reproduce
Create an Azure runbook
Output:
Environment data
Module versions
Debug output
Error output