Forum Discussion

Ivan54's avatar
Ivan54
Bronze Contributor
Oct 06, 2016

AAD PowerShell Commands not working (get-msol ...)

Could some please point out the error I'm doing?

I'm trying to create classifications https://azure.microsoft.com/en-us/documentation/articles/active-directory-accessmanagement-groups-settings-cmdlets/

 

Neither Get-MsolAllSettingTemplate or Get-MsolAllSettings are recognized names for commandlets.

 

I have installed:

  • Microsoft Azure Active Directory Module for Windows PowerShell v.1.1.166.0
  • Microsoft Azure PowerShell - September 2016 v3.0.0
  • Microsoft online Services Sign-in Assistant  v.7.250.4556.0
    • Ivan54's avatar
      Ivan54
      Bronze Contributor

      Thanks, I'll give it a try. But could someone explain the versioning numbers to me please :P

      Why is GA version number higher than the Public Preview? I just assumed that the GA version has caught up to public preview and the page hasn't been updated.

      v1.1.166.0 GA

      v1.1.130.0 Preview

       

      EDIT1: just tried to install the preview version over the GA version and as assumed the setup says a newer version is already installed :)

      Guess I'll have to use some other machine to install the public preview version.

       

      EDIT2: commands are working in the public preview version. Though I'm able to follow the instructions for creating classification labels, but thats a topic for a different thread :)

       

       

       

      • Rob de Jong's avatar
        Rob de Jong
        Copper Contributor

        We have one build system that build both a preview version and a GA version in the same run. Since this module is going to be deprecated in favor of the newer AzureAD V2 PowerShell module we do not add any new functionality to it and usually only release it when previously released cmdlets in a preview version are moved into GA status.

    • SimonChalfont's avatar
      SimonChalfont
      Brass Contributor

      Hi SanthoshB1 - I've been trying to evaluate the ability to limit the creation of Groups as discussed in this thread, however, it now appears that all links to the version of the Azure AD module (v1.1.130.0) have been removed from the associated and linked to pages.  Therefore I am at a loss to know how to proceed as the no other versions of the module appear to have the cmdlets and the necessary module is unavailable.  Has the overall approach changed?  I would have thought that the introduction of Microsoft Teams will have re-ignited the question of governance with regards to the proliferation of Office 365 Groups.

       

      Can anyone provide any guidance here, please?

  • Dean_Gross's avatar
    Dean_Gross
    Silver Contributor

    I just ran some tests and experienced the same thing as you. I did some research and found the following info at http://social.technet.microsoft.com/wiki/contents/articles/28552.microsoft-azure-active-directory-powershell-module-version-release-history.aspx

     

    This is the general availability release of the V1 version ("MSOnline") of Azure Active Directory PowerShell cmdlets. The following cmdlets have been added:

    • Get-MsolCompanyAllowedDataLocation
    • Set-MsolCompanyMultiNationalEnabled
    • Set-MsolCompanyAllowedDataLocation

    The following cmdlets are not available in this release but are available in the latest public preview release of Azure Active Directory PowerShell V1

    • Get-AllSettings, Get-Setting, New-Setting, Remove-Setting, Set-Setting
    • Get-AllSettingTemplate, Get-SettingTemplate 

     

  • These cmdlets were in preview and have moved to the newer AzureAd V2 module