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
As there is no option to set a default column value for a person field in SharePoint we're using PnP Powershell to perform this action. We have users following a procedure on a weekly basis to add a default column value to a person field on a folder. In short the procedure is as follows:
Get the ID of the list
Get the folder name in that list
Clear the default column value of the person field on that folder
Set a new default column value for this person field on that specific folder
Expected behavior
Normally this works as expected and the user is set as value in the person field.
Actual behavior
In a document library containing multiple folders (Just as all the other ones we have) we now receive the error "Error applying default column values" when using the cmdlet "Clear-PnpDefaultColumnValues
Steps to reproduce behavior
See image ->
What is the version of the Cmdlet module you are running?
Hello Antti,
Thank you for your quick reply!
We noticed it last week since a user reported this issue to us. They don't have this for each document library. On most of them, we don't get this error. Me as a SharePoint admin tested this as well and got the same error.
Not all of the users have the same PnP Powershell version.
Kind regards,
[cid:14062ff0-07d8-46a7-a4c9-5010bf3944c4]
Siebe Stuyck
M365 Consultant, AmeXio
T: +32 16 44 25 10 | M: +32 472 07 56 97
Gaston Geenslaan 10 | 3001 Heverlee | Belgium
http://www.amexio.fr<http://www.amexio.fr/en/home>
Context
As there is no option to set a default column value for a person field in SharePoint we're using PnP Powershell to perform this action. We have users following a procedure on a weekly basis to add a default column value to a person field on a folder. In short the procedure is as follows:
Expected behavior
Normally this works as expected and the user is set as value in the person field.
Actual behavior
In a document library containing multiple folders (Just as all the other ones we have) we now receive the error "Error applying default column values" when using the cmdlet "Clear-PnpDefaultColumnValues
Steps to reproduce behavior
See image ->
What is the version of the Cmdlet module you are running?
Version 2.10.0 that was last updated 2 months ago. https://www.powershellgallery.com/packages/PnP.PowerShell/2.10.0
Which operating system/environment are you running PnP PowerShell on?
The text was updated successfully, but these errors were encountered: