The docs mention this method of creating AAD role assignable groups here https://docs.microsoft.com/en-us/azure/active-directory/roles/groups-create-eligible and https://docs.microsoft.com/en-us/powershell/module/azuread/new-azureadmsgroup?view=azureadps-2.0
This was tested on Azure CloudShell utilizing PSVersion 7.2.1.
Global admin was also used.
I've created a PowerShell script in order to deploy groups consistently utilizing the Microsoft Documentation. I am able to create new groups that are not assignable to Azure AD roles through the "New-AzureADMSGroup":
$analystGroup = New-AzureADMSGroup -DisplayName $analystGroupName -Description $analystGroupDescription -MailEnabled $false -MailNickname $analystGroupMailNickname -SecurityEnabled $true
Returns a successfully created group, however if I attempt to add the parameter to enable AAD role assignment "IsAssignableToRole":
$analystGroup = New-AzureADMSGroup -DisplayName $analystGroupName -Description $analystGroupDescription -MailEnabled $false -MailNickname $analystGroupMailNickname -SecurityEnabled $true -IsAssignableToRole $false
I am met with the error :
"A parameter cannot be found that matches parameter name 'IsAssignableToRole' ".
To me this indicates that the cmdlet has been updated so it is not possible to create AAD role assignable groups through PowerShell anymore. Thus, I attempted to use older versions of the AzureAD module and the AzureADPreview module. In both cases, I was still left with the same error.
Is there a way to circumvent this error or another way to create AAD role assignable groups through PowerShell?

