Forum Discussion
Set-SPOListItem with multi-value people column
- Oct 07, 2016
Hi Umair Naeem
I got this to work by doing the following:
$peopleArr = @()
$peopleArr += "ben@mytenant.onmicrosoft.com"
$peopleArr += "chris@mytenant.onmicrosoft.com"
Set-SPOListItem -List "testlist" -Identity 1 -Values @{"People"=$peopleArr}I've now updated my blog post about this to include multi people columns:
https://veenstra.me.uk/2016/06/13/office-365-sharepoint-update-list-items-using-powershell/
You can try
Set-SPOListItem -List $bidDetailsList -Web $web -Values @{$key=$value} -Identity $itemCheck.Id
$value=@("David Longmuir","Conf Room Stevens")
- Oct 07, 2016
Hi Umair Naeem
I got this to work by doing the following:
$peopleArr = @()
$peopleArr += "ben@mytenant.onmicrosoft.com"
$peopleArr += "chris@mytenant.onmicrosoft.com"
Set-SPOListItem -List "testlist" -Identity 1 -Values @{"People"=$peopleArr}I've now updated my blog post about this to include multi people columns:
https://veenstra.me.uk/2016/06/13/office-365-sharepoint-update-list-items-using-powershell/