I’m trying to copy all users in a Microsoft 365 group to a Distribution Group as manual work is taking me ages to complete the job. What i’ve got:<\/p>\n
Now, it gives me an error back. I’ve tried to select the user alias or primairyemail but thats giving me the exact same error back. Any suggestions?<\/p>\n
Error without the ‘| Select’ part:<\/p>\n
Cannot process argument transformation on parameter 'Member'. Cannot convert the \"**FIRST AND LAST NAME USER**\" value of type \"Deserialized.Microsoft.E\nxchange.Data.Directory.Management.ReducedRecipient\" to type \"Microsoft.Exchange.Configuration.Tasks.RecipientWithAdUserGroupIdParameter`1[Microsoft.E\nxchange.Configuration.Tasks.RecipientIdParameter]\".\n + CategoryInfo : InvalidData: (:) [Add-DistributionGroupMember], ParameterBindin...mationException\n + FullyQualifiedErrorId : ParameterArgumentTransformationError,Add-DistributionGroupMember\n + PSComputerName : outlook.office365.com\n<\/code><\/pre>\n