Announcing the GA of #AzureAD PowerShell V2.0

December 6, 2016 Chris Spanougakis No comments exist

 

Last October the Azure AD Product Group announced the new version of Azure AD PowerShell v2.0, which was in public preview and you should check this blog post, but also this one, showing you what you can do and how you can use it to create dynamic groups.

So more cmdlets that you can use today in your production environment. As the PG says, they tried to give us the same functionality, no matter which tool you use: the Graph API or PowerShell cmdlets. For this reason, all these new cmdlets are built on top of the Graph API.

Just remember that the new Azure AD PowerShell v2.0 module don’t provide full functional parity with the older MSOL module yet (they will do that during the next months). Please also note that there will be no new functionality in the MSOL PowerShell module.

And a few changes:
1. The Revoke-AzureADSignedInUserAllRefreshTokens and Revoke-AzureADUserAllRefreshTokens were renamed to Revoke-AzureADSignedInUserAllRefreshToken Revoke-AzureADUserAllRefreshToken respectively to follow the Verb-SingularNoun naming convention.
2. This GA only includes cmdlets that call into a production endpoint of the Graph API. If you want to use cmdlets that call a Beta endpoint, these are available in the public preview release of the Azure AD v2.0 PowerShell cmdlets. The cmdlets excluded from this release include those used to manage Administrative Units, Domain settings, Policy settings, and Directory settings.

How to install it: Go to the PowerShell Gallery and follow the steps. If you’re using Windows 10, you just need to open a PowerShell  window as an administrator and type “Install-Module AzureAD”. If you use any other OS, you can take a look here: https://msdn.microsoft.com/powershell/gallery/readme

5

After installation, just make sure that you have the latest version 2.0.0.33 installed:

6

Don’t forget that you can always use the Get-Help cmdlet to find information about any cmdlet that is included in this version:

7

Enjoy!

Leave a Reply