摘要: 问题描述 突然之间,使用PowerShell脚本 Get-AzVirtualNetwork 获取虚拟网络信息时,如果带上 -DefaultProfile $sub 参数,就出现 Azure credentials 错误。 代码: Connect-AzAccount -ServicePrincipal 阅读全文
posted @ 2021-12-25 16:37 路边两盏灯 阅读(125) 评论(0) 推荐(0) 编辑