Forum Discussion
missing MembershipRule in Get-AzureADMSGroup
You need to use the AzureADPREVIEW module for this.
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
- gwgastonSep 09, 2021Copper Contributor
This was working... but now it is not.
AzureAD\Get-AzureADMSGroup or AZureADPreview\Get-AzureADMSGroup
With latest modules for either AzureAD (2.0.2.140) or AZureADPreview (2.0.2.138) for Dynamic Groups we once again (it was there in some previous builds) no longer see the following in the out:
MembershipRule
MembershipRuleProcessingState