Replies: 1 comment 2 replies
-
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.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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