Tip

The Windows Azure Active Directory squad regularly updates the Azure Active Directory PowerShell Module with new features and functionality. Non all additions are applicable to all audiences.

This commodity is designed to help you keep runway of the versions that have been released since calendar yr 2014, and to sympathise whether you need to update to the newest version or not, while also providing you lot access to all previously released versions.

Table of Contents

  • Related FAQ
    • How can I determine what version of AAD PowerShell I accept?
    • Where can I observe the latest version of AAD PowerShell?
    • Installing PowerShell V2 from the PowerShell Gallery
    • What can I practise if AAD PowerShell doesn't work as expected subsequently upgrading to the latest version?
  • Release overview
    • Version 2.0.0.17 (PowerShell V2 Public Preview)
    • Version two.0.0.seven (PowerShell V2 Public Preview)
    • Version 1.1.166.0 (PowerShell V1 General Availability)
    • Version 1.1.143.0 (PowerShell V2 Public Preview)
      • Some changes
      • New functionality in AzureAD PowerShell
      • Download link
    • Version 9031.1
    • Version 8362.one
    • Version 8262.2
    • Version 8073.4
    • Version 8000.119
  • Preview Versions of MSOL PowerShell
  • Version 8808.1 (Public Preview v2)
  • Version 8806.11 (Public Preview v1)

↑ Back to top


Related FAQ

How can I determine what version of AAD PowerShell I accept?

You can run the get-item cmdlet to cheque the version of the DLL files of the module that you take currently installed: (get-item C:\Windows\System32\WindowsPowerShell\v1.0\Modules\MSOnline\Microsoft.Online.Administration.Automation.PSModule.dll).VersionInfo.FileVersion

Where tin can I find the latest version of AAD PowerShell?

  • The post-obit fwlinks should e'er betoken to the most current version of AAD PowerShell
    • Azure Agile Directory Module for Windows PowerShell V2 (64-scrap version)
    • Azure Active Directory Module for Windows PowerShell V1 (64-scrap version)

Installing PowerShell V2 from the PowerShell Gallery

The AzureAD PowerShell V2 module tin can be downloaded and installed from the PowerShell Gallery, world wide web.powershellgallery.com.  The gallery uses the PowerShellGet module.

The PowerShellGet module requires PowerShell 3.0 or newer.

Therefore, PowerShellGet requires one of the post-obit operating systems:

  • Windows ten
  • Windows 8.i Pro
  • Windows eight.one Enterprise
  • Windows 7 SP1
  • Windows Server 2016 TP5
  • Windows Server 2012 R2
  • Windows Server 2008 R2 SP1

PowerShellGet also requires .Internet Framework iv.5 or above. You tin can install .Net Framework 4.5 or in a higher place from hither.

For more data, please refer to https://msdn.microsoft.com/powershell/gallery/readme

What can I practise if AAD PowerShell doesn't work equally expected after upgrading to the latest version?

Please use the download links below to reinstall a previous version of the AAD PowerShell Module to unblock any bug you may be facing, and so make a mail service to the Azure Active Directory Forum, describing your issue, and how to reproduce the problems.

↑ Dorsum to pinnacle


Release overview

Version 2.0.0.17 (PowerShell V2 Public Preview)

This is a public preview release of the new AzureAD PowerShell V2 cmdlets. The following changes are included in this release:

  • New cmdlets New-AzureADMSGroup, Set-AzureADMSGroup and Remove-AzureADMSGroup added. These cmdlets can be used to manage Office 365 groups and dynamic groups in your directory
  • New cmdlets to revoke a user's Refresh Tokens added: Revoke-AzureADSignedInUserAllRefreshTokens and Revoke-AzureADUserAllRefreshTokens
  • Connect-AzureAD no longer requires -Force
  • Naming convention alter for cmdlets that call Microsoft Graph
  • Going frontwards, all cmdlets that call Microsoft Graph will have "MS" in their cmdlet names, as in "Become-AzureADMSGroup". The cmdlets that call Azure AD Graph will not alter, so there is besides a "Get-AzureADGroup" cmdlet.

Download link

Version 2.0.0.7 (PowerShell V2 Public Preview)

This is a public preview release of the new AzureAD PowerShell V2 cmdlets. The following changes are included in this release:

  • New cmdlets to manage Policy objects have been added
  • New cmdlets to manage Device owner and user have been added
  • More inline assistance is a added
  • Domain cmdlet parameter is inverse
  • Connect cmdlet parameter is changed
  • A Native app creation issues is fixed
  • A User cosmos/update problems fixed
  • There is improved reliability on link related cmdlets.

Download link

Version 1.1.166.0 (PowerShell V1 Full general Availability)

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
  • Fix-MsolCompanyAllowedDataLocation

The post-obit cmdlets are not available in this release.

  • Become-MSOLAllSettings, Go-MSOLSetting, New-MSOLSetting, Remove-MSOLSetting, Set-MSOLSetting
  • Get-AllSettingTemplate, Get-SettingTemplate

Please notation that the Settings cmdlets that were published in the preview release of the MSOL module are no longer available in this module. This functionality can now be found in the newer Azure AD PowerShell V2 Preview module, which can be installed from hither: https://world wide web.powershellgallery.com/packages/AzureADPreview
More information about how to use the new cmdlets for Settings can exist plant here: https://docs.microsoft.com/en-us/azure/active-directory/active-directory-accessmanagement-groups-settings-cmdlets
More than data about the Azure AD PowerShell V2 module tin can be found here: https://docs.microsoft.com/en-us/powershell/azuread/

Download link

64-flake

Version 1.1.143.0 (PowerShell V2 Public Preview)

This the public preview of the new V2 version of Azure Active Directory PowerShell cmdlets. This preview release marks a get-go step on a journey to renew the existing MSOL PowerShell cmdlets which you are and so familiar with. One of the primal features of this release is a close alignment of the PowerShell functionality with the Graph API capabilities. We are besides moving towards a faster and more than agile release process for new or updated functionality of these cmdlets.

The new PowerShell cmdlets provide more functionality in several areas, most notably for Modern Authentication and MFA, and includes direction of Applications and Certificate Authority through PowerShell.

Over time, we will fully replace the existing MSOL cmdlets. Y'all will see regular new functionality updates to this preview release until the complete replacement is bachelor.

Some changes

As yous volition notice, some things have inverse when compared to the existing MSOL library. First of all – we take updated the names of all cmdlets to adapt with the Azure PowerShell naming conventions. Since we're publishing a new module for these cmdlets, the name of the module has changed every bit well: the existing module'south name was "MSOL", the new module is phone call "AzureAD". Then where e.g. an existing cmdlet was named "New-MSOLUser", which adds a new user to the directory, the new cmdlet's proper name is "New-AzureADUser.

Secondly – the parameters for the new cmdlets sometimes changed equally well. As we are developing cmdlets in close alignment with the Graph API functionality, we're also keeping the names of objects and parameters as close as possible to what is used in Graph API.

New functionality in AzureAD PowerShell

Managing Certificate Authority using Powershell for Azure Advertizing

These are the new cmdlets that are used to manage Certificate Authorization:

  • New-AzureADTrustedCertificateAuthority - Adds a new certificate authority for the tenant
  • Get-AzureADTrustedCertificateAuthorities - Retrieves the list of document potency for the tenant
  • Remove-AzureADTrustedCertificateAuthority - Removes a certificate authority for the tenant
  • Ready-AzureADTrustedCertificateAuthority - Modifying a document authority for the tenant

Managing Applications in Azure AD using PowerShell

Several new cmdlets have been added to enable management of Applications in Azure Advert using PowerShell. There is a set of cmdlets to create, alter and remove Applications:

  • New-AzureADApplication
  • Remove-AzureADApplication
  • Ready-AzureADApplication
  • We too offer capabilities to manage Directory Extensions in PowerShell:
  • Get-AzureADApplicationExtensionProperty
  • New-AzureADApplicationExtensionProperty
  • Remove-AzureADApplicationExtensionProperty

There are new cmdlets to manage Owners for an Awarding:

  • Add-AzureADApplicationOwner
  • Get-AzureADApplicationOwner
  • Remove-AzureADApplicationOwner

And finally, we're offering new capabilities to manage credentials for Applications in PowerShell:

  • Go-AzureADApplicationKeyCredential
  • New-AzureADApplicationKeyCredential
  • Remove-AzureADApplicationKeyCredential
  • Go-AzureADApplicationPasswordCredential
  • New-AzureADApplicationPasswordCredential
  • Remove-AzureADApplicationPasswordCredential

Download link

PowerShell Gallery

↑ Back to meridian


Version 9031.1

Released 3/10/2016
New Features
  • Added new cmdlets for DirSync Features
    • Get-MsolDirSyncFeatures
    • Gear up-MsolDirSyncFeature
  • Known Issue : Requires .NET four.0

Download Link (EN)

32-Bit

64-Bit

↑ Back to top


Version 8362.1

Released 1/19/2015
New Features
  • Added new Domain Federation Settings for MFA Scenarios
Download Link (EN)

32-Chip

64-Bit

↑ Back to peak


Version 8262.two

Released 12/xv/2014
New Features
  • Added new cmdlets for Authoritative Units
  • Data near AUs can be found here
Download Link (EN)

32-Chip

64-Scrap

↑ Back to height


Version 8073.iv

Released eleven/5/2014
New Features
  • Fixed an issue where the wrong BecVersion number was being sent from PowerShell
  • Stock-still issues with publishing a 32-bit build
Download Link (EN)

32-Flake

64-Bit

↑ Back to elevation


Version 8000.119

Released 09/10/2014
New Features
  • Added new cmdlets for Email Verified User Scenarios
  • Information about EVUs can be constitute here
Download Link (EN)

32-Bit

 64-Flake

↑ Dorsum to peak


Preview Versions of MSOL PowerShell

Version 8808.1 (Public Preview v2)

Released 10/30/2015
New Features
  • Added additional Device Registration Service Management CMDLETs
    • Get-MsolDeviceRegistrationServicePolicy
    • Set-MsolDeviceRegistrationServicePolicy
Download Link (EN)

32-Bit

64-Bit

↑ Dorsum to top


Version 8806.eleven (Public Preview v1)

Released 9/25/2015
New Features
  • Removed dependency on MSOL Sign In Assistant
  • Added Modernistic Authentication with ADAL
  • Added Device Management CMDLETs

Run into blogpost here.

Download Link (EN)

32-Flake

64-Bit

↑ Back to elevation