Forum Discussion
gzygadlo
Aug 19, 2021Brass Contributor
AzureAD Powershell 7
Wondering if any version of PowerShell 7 will work with the AzureAD or AzureADPreview modules. When I try to connect I get an error "One or more errors occurred" I'm trying to move my environmen...
- Aug 19, 2021
gzygadlo The recommended approach, until those modules are fully compatible with newer versions of PowerShell, would be to import them with the -UseWindowsPowerShell option in your PowerShell 7 session. This will load the module in the version of PowerShell included with Windows, but using implicit remoting you can use it as if it were loaded in PowerShell 7.
This is described on this webpage.
Wolfgang_Bures_SV
May 14, 2024Copper Contributor
pvanberlo is there any timeline when this will be fixed? (Or AZ be a 100% replacement?)
pvanberlo
May 14, 2024MCT
Wolfgang_Bures_SV Have you considered moving to the Microsoft Graph PowerShell modules as the recommended replacement of the Azure AD module? In general I find the Graph PS modules to be of very good quality and can be used in most circumstances.