-
Notifications
You must be signed in to change notification settings - Fork 394
Description
Notice
Many bugs reported are actually related to the PnP Framework which is used behind the scenes. Consider carefully where to report an issue:
- We are migrating files to new sites, and want to re-generate DocIds.
- This command works for DOCUMENTS - using the new setting for the destination site
- BUT - this doesn't appear to work for Doc-Sets themselves (aka- superFolders)
- Have tried with the specific URL for the DocSet - and also using the Content Type approach - neither works
Reporting an Issue or Missing Feature
Reset-PnPDocumentId -File /sites/dest/library/File.Docx ✅
Reset-PnPDocumentId -File /sites/dest/library/DocSet ❌
Reset-PnPDocumentId -Library $libraryName -ContentType (Get-PnPContentType -List $libraryName | Where-Object Name -eq 'DocSetCT') ❌
Expected behavior
Newly generated DocumentId - for the Document Set
Actual behavior
No change - old DocumentId remains in place
Steps to reproduce behavior
Reset-PnPDocumentId -File /sites/dest/library/File.Docx ✅
Reset-PnPDocumentId -File /sites/dest/library/DocSet ❌
Reset-PnPDocumentId -Library $libraryName -ContentType (Get-PnPContentType -List $libraryName | Where-Object Name -eq 'DocSetCT') ❌
What is the version of the Cmdlet module you are running?
3.1.0 (thanks for all the updates !)
Which operating system/environment are you running PnP PowerShell on?
- [ X ] Windows
- Linux
- MacOS
- Azure Cloud Shell
- Azure Functions
- Other : please specify