无法通过Azure Cloud Shell连接到Azure RMS [英] Unable to connect to Azure RMS through Azure Cloud Shell

查看:115
本文介绍了无法通过Azure Cloud Shell连接到Azure RMS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Folks,

我正在使用Azure免费订阅,并使用它使用Cloud Shell连接到RMS服务.

I am having Azure free subscription,and used it to connect to RMS service using Cloud Shell.

我已使用以下命令导入了PowerShell模块:安装模块 -命名AADRM .执行此命令后,我还验证了模块的版本.

I have imported the PowerShell module using the command Install-Module -Name AADRM . Post executing this command ,I have verified the version of the module as well.

(获取模块AADRM –ListAvailable).版本

(Get-Module AADRM –ListAvailable).Version

重大次要版本修订

2 13 1 0

但是,当我尝试连接到RMS时,它抛出了以下错误消息

However, when I tried connecting to RMS , it threw the following error message

连接- AadrmService:在模块"AADRM"中找到了"Connect-AadrmService"命令,但 无法加载模块.有关更多信息,请运行导入模块AADRM".在第1行:char:1 + Connect-AadrmService + ~~~~~~~~~~~~~~~~~~~ + CategoryInfo:ObjectNotFound:(Connect-AadrmService:String)[],CommandNotFoundException + FullyQualifiedErrorId :CouldNotAutoloadMatchingModule

Connect-AadrmService : The 'Connect-AadrmService' command was found in the module 'AADRM', but the module could not be loaded. For more information, run 'Import-Module AADRM'. At line:1 char:1 + Connect-AadrmService + ~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (Connect-AadrmService:String) [], CommandNotFoundException + FullyQualifiedErrorId : CouldNotAutoloadMatchingModule

您能在这里帮我吗?

推荐答案

我能够重现此问题,但是在Windows PowerShell或Windows PowerShell ISE上可以正常工作.您是否尝试过从本地系统在PowerShell命令窗口或PowerShell ISE窗口中运行命令?

I am able to reproduce this issue, however this works fine on Windows PowerShell or Windows PowerShell ISE.  Have you tried running the command in PowerShell command window or PowerShell ISE window from local system ?

我打开了 相同的GitHub问题,一旦我收到有关此问题的任何更新,就更新您.  

I have opened a GitHub issue for the same and update you once I receive any updates on this issue.  


这篇关于无法通过Azure Cloud Shell连接到Azure RMS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆