azure-activedirectory-powershell
azure-activedirectory-powershell copied to clipboard
Broken with PowerShell 6.2.3
The AzureAD PowerShell module does not work on PowerShell version 6.2.3:
PS C:\Users\alex> Import-Module AzureAD
Import-Module : Could not load file or assembly 'System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'. The system cannot find the file specified.
At line:1 char:1
+ Import-Module AzureAD
+ ~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Import-Module], FileNotFoundException
+ FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.PowerShell.Commands.ImportModuleCommand
PS C:\Users\alex> Get-Host | Select-Object Version
Version
-------
6.2.3