Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] #4477

Open
SiebeAmexio opened this issue Oct 25, 2024 · 2 comments
Open

[BUG] #4477

SiebeAmexio opened this issue Oct 25, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@SiebeAmexio
Copy link

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:

  1. Get the ID of the list
  2. Get the folder name in that list
  3. Clear the default column value of the person field on that folder
  4. 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 ->
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?

  • Windows
@SiebeAmexio SiebeAmexio added the bug Something isn't working label Oct 25, 2024
@koskila
Copy link
Contributor

koskila commented Oct 28, 2024

Heya and thanks for the bug report! Tried reproducing this but couldn't. When did it start happening? With 2.10.0?

@SiebeAmexio
Copy link
Author

SiebeAmexio commented Oct 28, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants