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

I 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.

(Get-Module AADRM –ListAvailable).Version

Major Minor Build Revision
2     13    1     0

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

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

Could you please help me here?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.