Forum Discussion
MichalZiemba
Jan 14, 2021MCT
missing MembershipRule in Get-AzureADMSGroup
I am using AzureAD module in version 2.0.2.118 and when I execute the command get-azureadmsgroup -Id 34298b62-bdb4-489b-9569-d3ad90af5d53|fl I got only the following parameters: Id ...
VasilMichev
Jan 14, 2021MVP
You need to use the AzureADPREVIEW module for this.
- Bernhard_KoeckSep 19, 2022Copper Contributor
- MichalZiembaJan 14, 2021MCT
VasilMichev Thank you Vasil,
Can someone from Microsoft tell, why it is on the official documentation page which refers to AzureAD Powershell 2.0 cmdlet?
- PlasmatikSteakJan 26, 2021Copper ContributorI have the same problem, even with AzureADPreview
2.0.2.128 AzureAD
2.0.2.129 AzureADPreview- SigarProcJun 24, 2021Copper Contributor
If you have both modules installed it will default to the first one in the list being AzureAD.
Your options are:
1. Uninstall-Module AzureAD
2. Prefix the Module Name to the command. AzureADPreview\Set-AzureADMSGroup