【发布时间】:2019-03-04 09:34:06
【问题描述】:
使用正确的参数运行 Add-AzureAnalysisServicesAccount 时出错
脚本: Add-AzureAnalysisServicesAccount -Credential $Credential -ServicePrincipal -TenantId $tenantId -RolloutEnvironment $rolloutEnvironment
错误: Add-AzureAnalysisServicesAccount:术语“Add-AzureAnalysisServicesAccount”未被识别为 cmdlet、函数、脚本文件或可运行程序的名称。检查名称的拼写,或者如果包含路径,请验证 确保路径正确,然后重试。
我检查并可以看到所需的模块 (AzureRM.AnalysisServices) 已安装并导入到脚本中
【问题讨论】:
-
尝试升级它?或者,也许,您正在使用新的 az 模块?然后试试 add-azanalysisservicesaccount?
-
@4c74356b41 感谢您的回复。但没有运气!
-
它能解决你的问题吗?
-
它也没有用!但我通过使用 REST API 调用解决了这个问题!
标签: azure azure-powershell azure-analysis-services