none
Running AzureADPreview commands

    Question

  • I have the preview loaded but am not able to run the command for some reason. The credentials are correct, I am able to load the module and even get help on the command. Why can't this term be found?

    PS C:\Windows\system32> get-help get-azureADMS*

    Name                              Category  Module                    Synopsis
    ----                              --------  ------                    --------
    Get-AzureADMSDeletedGroup         Cmdlet    AzureADPreview            Get-AzureADMSDeletedGroup...
    Get-AzureADMSDeletedDirectoryO... Cmdlet    AzureADPreview            Get-AzureADMSDeletedDirectoryObject...
    Get-AzureADMSGroup                Cmdlet    AzureADPreview            Get-AzureADMSGroup...


    PS C:\Windows\system32> get-AzureADMSGroup
    get-AzureADMSGroup : The term 'get-AzureADMSGroup' is not recognized as the name of a cmdlet, function, script file, or
    operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
    again.
    At line:1 char:1
    + get-AzureADMSGroup
    + ~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : ObjectNotFound: (get-AzureADMSGroup:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException
    get-AzureADMSGroup : The term 'get-AzureADMSGroup' is not recognized as the name of a cmdlet, function, script file,
    or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and
    try again.
    At line:1 char:1
    + get-AzureADMSGroup
    + ~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : ObjectNotFound: (get-AzureADMSGroup:String) [], CommandNotFoundException
        + FullyQualifiedErrorId : CommandNotFoundException

    Tuesday, April 25, 2017 6:34 PM

All replies