ActiveDirectory
module supports native PowerShell 7 support when using the 1.0.1.0 version. When using the 1.0.0.0 version, the Windows Compatibility layer is used when running the commands in PowerShell 7 and the Integrated environment. This can cause problems within PowerShell Universal. Our guidance for this module is as follows. ActiveDirectory
module to version 1.0.1.0 which has PowerShell Core support-SkipEditionCheck
parameter with Import-Module when importing the ActiveDirectory module