I'm trying to import a CSV into a SharePoint list that works for all the field types I need, except when the field is Person or Group and allows multiple selections. I have a person field where multiple selections are not allowed:
$ listItem["SinglePersonField"] = $ web.EnsureUser ($ csvRow.AssignedTo)
The CSV saves the user's email address.
I can format the CSV so that multiple users are in one column or several. I tried to build a string, but it does not work unless I use the user ID. Is there a way to ensure there are multiple users and add them to the multi-person field?