Forum Discussion
Han Valk
Jul 14, 2017Copper Contributor
Azure AD PowerShell v2 cmdlets not working, e.g. Get-AzureADPolicy
Sorry if I posted this twice, to me it seems that the first post did not succeed. Installed PowerShellGet using the MSI. Installed the Azure AD PowerShell v2 GA module using Install-Module AzureAD....
Doyle Spence
Copper Contributor
I have the same issue. The AzureADPreview module was working fine with 2.0.0.9 (I think that was the version) but updated to 2.0.11 I get the same experience. If I run Install-Module AzureADPreview, then run Connect-AzureAD, it loads AzureAD module and the Preview cmdlets can't be found... I can't run Preview cmdlets anymore.
Doyle Spence
Jun 13, 2018Copper Contributor
Fixed it by uninstalling all AzureAD and preview modules, then installing the AzureADPreview version 2.0.0.7 like this:
Install-Module -Name AzureADPreview -RequiredVersion 2.0.0.7
Install-Module -Name AzureADPreview -RequiredVersion 2.0.0.7