You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that even with -Batch parameter for Add-PnpListitem (and Set-PnpListITem) it validates it can lookup the user prior to adding it to the batch. This ultimately means it saves little, to no time.
In an example, updating a list of 26k items it took over 2hrs to even build the batch prior to invoking it. Leaving off the people/user column took 4 minutes to build the batch. Example to test below. I suggest having an invalid UPN as you will see it throws an error that the specified user could not be found prior to the Invoke-Batch execution.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
It seems that even with -Batch parameter for Add-PnpListitem (and Set-PnpListITem) it validates it can lookup the user prior to adding it to the batch. This ultimately means it saves little, to no time.
In an example, updating a list of 26k items it took over 2hrs to even build the batch prior to invoking it. Leaving off the people/user column took 4 minutes to build the batch. Example to test below. I suggest having an invalid UPN as you will see it throws an error that the specified user could not be found prior to the Invoke-Batch execution.
Beta Was this translation helpful? Give feedback.
All reactions