PowerShell Module AzureADPreview 2.0.2.134 has been released

PowerShell Module AzureADPreview 2.0.2.134 has been released

Hi All,

I was very surprised to see that there is new AzureADPreview PowerShell Module in the PowerShell Gallery. The Module was last updated over a year ago.

PowerShell Gallery AzureADPreview

Due the retirement of AzureAD and MSOL PowerShell Modules i was not expecting to see any updates anymore

https://aka.ms/entrachanges

Let’s install the AzureADPreview PowerShell Module side by side with the old Module by using the -Force Parameter

Get-InstalledModule AzureADPreview -AllVersions
Find-Module AzureADPreview
Install-Module AzureADPreview -Force
Get-InstalledModule AzureADPreview -AllVersions

Let’s check the count of the Commands in the old Module

Import-Module AzureADPreview -RequiredVersion 2.0.2.149
(Get-Command -Module AzureADPreview).Count

Let’s check the count of the Commands in the new Module

Remove-Module AzureADPreview
Import-Module AzureADPreview -RequiredVersion 2.0.2.181
(Get-Command -Module AzureADPreview).Count

Except the Warning i didn’t notice anything new

Connect-AzureAD
Get-AzureADUser -SearchString <UPN>

To be honest i am surprised. I was expecting the new Module to have less commands. It’s a mistery to me why Microsoft has released a new Version of this Module.

Regards
Andres Bohren

PowerShell Logo