我试图从自动化运行手册运行设置AzureRmAppServicePlan但得到运行集中-AzureRmAppServicePlan从自动化脚本(运行手册)
集-AzureRmAppServicePlan:运行登录-AzureRmAccount登录。在 行:20字符:1 + SET-AzureRmAppServicePlan -ResourceGroupName” ...... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo:InvalidOperation:(:) [ SET-AzureRMAppServicePlan],PSInvalidOperationException + FullyQualifiedErrorId:InvalidOperation,Microsoft.Azure.Commands.WebApps.Cmdlets.AppServicePlans.SetAzureAppServicePlanCmdlet
需要注意的是使用自动化凭据实际运行手册认证成功 我可以运行此脚本本地Power Shell使用 Login-AzureRmAccount Add-AzureRmAccount 设置-AzureRmAppServicePlan ...
是否有可能在所有的自动化而无需交互式登录跑的? 感谢 帕维尔