Replies: 1 comment 1 reply
-
I think this is a known issue. It seems to work on lists but not on document libraries. I added a Group field that allowed multiple values, and if i use Set-PnPListItem on a doclib it always only add the first item (no matter if i define an array in a variable or directly typing the values. If i do the exact same process on a List it works fine...
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
For some reason, I cannot update a list item with multiple values with a variable.
I have columns with Person or Group types; for groups, it contains Allow selection of Groups.
It works as expected manually but not with the PnP module.
Trying to use an array variable with groups where a user is a member:
Getting the error: Set-PnPListItem: The specified user could not be found.
PS tried to create New-PnPGroup for each.
When I'm using copy/paste data from the variable and put it into the value, everything works.
Any suggestions will be appreciated.
Beta Was this translation helpful? Give feedback.
All reactions