About a month ago, we announced an updated public preview for PowerShell Azure AD v2.0.
Today I’m happy to announce that these PowerShell Azure AD v2.0 cmdlets are now generally available (GA)!
To give you a rundown on the improvements we’ve made since we released the preview, I’ve asked Rob de Jong to blog about them. You’ll find his blog below.
I hope you will find these cmdlets useful. And as always, we would love to receive any feedback or suggestions you have!
Alex Simons (Twitter: @Alex_A_Simons)
Director of Program Management
Microsoft Identity Division
It’s Rob de Jong here and today I’m excited to let you know that Azure AD PowerShell v2.0 is now GA and to give you a quick tour of the changes we’ve made since the previous public preview. This release marks an important milestone in the Azure AD PowerShell because now you can leverage the new cmdlets in this module in your production environments.
One request customers have consistently made is that we make sure we maintain equivalent capabilities between our Graph API and our PowerShell cmdlets. To make sure that happens, all these new cmdlets are built on top of the Graph API.
Two important notes:
- The new Azure AD PowerShell v2.0 module don’t provide full functional parity with the older MSOL module yet. We’re working hard to make that happen in the coming months and will keep you updated on our progress.
- We are not planning to publish new functionality in the MSOL PowerShell module. Over time we will implement all the functionality of the old MSOL cmdlets in the new module, and this new module contains quite a few new cmdlets that haven’t been available before.
Changes since the preview
We’ve made a few changes to some of the cmdlets since the previous preview release of Azure AD PowerShell v2.0:
- Naming conventions: The Revoke-AzureADSignedInUserAllRefreshTokens and Revoke-AzureADUserAllRefreshTokens were renamed to Revoke-AzureADSignedInUserAllRefreshToken Revoke-AzureADUserAllRefreshToken respectively to follow the Verb-SingularNoun naming convention.
- Excluded cmdlets: 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.
To find a list of all cmdlets included in this release, please refer to the Azure AD v2.0 general availability release notes.
How to deploy
To install the new module, follow this link to the PowerShell Gallery. Installing a PowerShell module from the PowerShell gallery requires some additional components to be installed on your system. If you are running a computer with the Windows 10 OS, these components are already present and you can simply open a PowerShell window as an administrator and type “Install-Module AzureAD”, The module will be installed on your computer and imported in your session.
For other Windows operating systems, please refer to the documentation about the PowerShell Gallery.
Getting help with this module
If you need more information about how these cmdlets work, the easiest way to get it is to use the inline help functionality. Here is an example of how to do that, using the Get-Help cmdlet:
For online help, you can also refer to the Azure AD v2.0 PowerShell module online documentation.
We’re here to help
If you need any help with a specific solution you’re trying to create, have feedback you want to share, or have questions for which the answer cannot be found in the documentation, please send an email to AADPS@Microsoft.com. We’ll get back to you as soon as we can and look forward to hearing from you!