Forum Discussion

TonyRedmond's avatar
Jul 15, 2016

Updates to Azure AD PowerShell module might cause Admins some work

A new version of the Azure AD module for PowerShell is on the way. The prefix for cmdlets changes from Msol to AzureAD, some cmdlets are dropped, some new cmdlets are available, and some parameters change too. All in all, it's going to be fun updating all the scripts that admins have developed to help automate Office 365 operations, not to mention the need to test everything afterwards... More on this in https://www.itunity.com/article/office-365-ems-cmdlets-3472

  • Dee Dodson's avatar
    Dee Dodson
    Copper Contributor
    Will there be a conversion tool available to help scan existing scripts and report where changes need to be made?
    • Chad Conrow's avatar
      Chad Conrow
      Brass Contributor

      Perhaps they'll keep the legacy names as aliases to the new tool?

  • Maor Bracha's avatar
    Maor Bracha
    Brass Contributor

    Thank you for the update, Tony.

     

    As someone that uses PowerShell automation for basically anything- I have a lot of reviewing to do, and it would be especially frustrating explaining this to clients... :smileymad:

     

    All I can find in the documentation is a list of cmdlets in the V2 module, finding all the retired\modified ones can be a project on it's own!

    Is there anywhere that I can see all the retired cmdlets and the new corresponding ones?

  • I think the name change is for the better... Makes more sense, but... I do agree: those scripts need a lot of fixes... ;-)
    • TonyRedmond's avatar
      TonyRedmond
      MVP
      One way of looking at the situation is that it provides an invaluable opportunity to review all the scripts that you have with an eye on rewriting them to be even more spectacularly brilliant using the AAD V2 module...
      • Daniel Laskewitz's avatar
        Daniel Laskewitz
        Iron Contributor
        ANOTHER good way to look at it. ;-) All kidding aside, the naming alone is worth the change....

Resources