Today, just a short info for Azure Active Directory guys: #AzureAD PowerShell V2.0 is now GA! In this blogpost, Alex Simons and Rob de Jong inform that the PowerShell Azure AD v2.0 cmdlets are now generally available (GA). See the details at the Technet Blog and at Azure Active Directory V2 PowerShell Module - General Availability Release 188.8.131.52.
Azure Active Directory V2 PowerShell Module can be installed on Windows starting with versions of Windows 7 SP1 and Windows Server 2008 R2 SP1 and up.
To get the new PowerShell modules from the Gallery requires the latest version of the PowerShellGet module. PowerShellGet is available in Windows 10, in Windows Management Framework (WMF) 5.0, or in the MSI-based installer (for PowerShell 3 and 4). Additionally, you need to have PowerShell 3.0 or newer and the .NET Framework 4.5 or newer installed. You can install .NET Framework 4.5 from here. Find the documentation at The PowerShell Gallery.
The current version of the AzureAD modules is 184.108.40.206 from November, 21st 2016.
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.
Open PowerShell as Administrator and download the module with
Save-Module -Name AzureAD -Path <path>
Then, install it (with Administrator privileges on your machine) with
Install-Module -Name AzureAD
By the way, you can get a list of all available PowerShell modules with
This displays all loaded and available Modules in Windows PowerShell.
Important: As stated in Azure Active Directory V2 PowerShell Module - General Availability Release 220.127.116.11, this release does not include the a bunch of cmdlets that have been available in the Azure Active Directory V2 PowerShell preview module. Also, the available cmdlets are listed there. Check out the article for the details.
Work with AzureAD
First, connect to your AAD tenant with
Connect-AzureAD. Now you can start using the new cmdlets as for example:
to get a list of all groups.