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....
Steve Rackham
Copper Contributor
Having same issue. If I import the AzureADPreview module only the same thing occurs, so its loading the AzureAD module in the background. You should be able to run both side by side for production.
Not happy.
Doyle Spence
Jun 13, 2018Copper 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 SpenceJun 13, 2018Copper ContributorFixed 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 - Jamey SteinmannJun 14, 2018Copper ContributorUpdated to the latest AzureADPreview Module (2.0.1.11) and it worked fine for me.