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....
VasilMichev
MVP
Which version of the Preview module you have, works fine here with 2.0.0.127. Make sure you are actually loading the correct module, as when you have matching cmdlets between both (Connect-AzureAD is the same for AzureADPreview and AzureADPreview). For example, open a fresh PowerShell window, do a Import-Module AzureADPreview, connect and then try running Get-AzureADPolicy.
rshah25
Mar 22, 2021Copper Contributor
Hi Vasil,
when i am setting up for mapping policy on my Machin,
Somehow after all install module below is still not working - i am using with 2.0.2.129 AzureADPreview
Get-AzureADPolicy is not recognized as the nameof a cmdlet.........