Trying to use the cmdlet New-ADMSGroup (Module version v2.0.2.130) and this cmdlet isn't working.
My Code:
*New-AzureADMSGroup -DisplayName "TestGroup" ` -Description "My Test Group " ` -MailEnabled $False ` -MailNickName "NotSet" ` -SecurityEnabled $True ` -GroupTypes "DynamicMembership" ` -membershipRule "(device.devicePhysicalIds -any _ -eq ""[OrderID]:Test"")" ` -MembershipRuleProcessingState "On"*
Throws
New-AzureADMSGroup : A parameter cannot be found that matches parameter name 'membershipRule'. At line:7 char:20 + -membershipRule "(device.devicePhysicalIds -any _ ... + ~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (:) [New-AzureADMSGroup], ParameterBindingException + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.Open.MSGraphV10.PowerShell.NewMSGroup
If I take out the membership rule param I get
New-AzureADMSGroup : Error occurred while executing NewMSGroup Code: Request_BadRequest Message: A value is required for property 'membershipRule'. InnerError: RequestId: 53b2fe10-c047-4d6e-adbb-be8559503be0 DateTimeStamp: Wed, 24 Mar 2021 08:48:03 GMT HttpStatusCode: BadRequest HttpStatusDescription: Bad Request HttpResponseStatus: Completed At line:2 char:1 + New-AzureADMSGroup -DisplayName "TestGroup" ` + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [New-AzureADMSGroup], ApiException + FullyQualifiedErrorId : Microsoft.Open.MSGraphV10.Client.ApiException,Microsoft.Open.MSGraphV10.PowerShell.NewMSGroup
Is this broken? Tried on a couple of tenants and a different laptop so problem is following the module, unless my code is wrong.

