Forum Discussion
Private Draft
Tamras1972 Maybe you can try using Content Approval settings for site pages library for creating a new version of existing site page and send it for approval and publishing:
These settings can be found at library settings > versioning settings.
Documentation: Require approval of items in a list or library
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.
ganeshsanap Thanks. I'll give it a try.
- Tamras1972Jul 12, 2023Iron Contributor
ganeshsanap I've used one of your PowerShell scripts before. Thank you! Is there a way to convert an existing site (saved as draft) into private draft in PowerShell?
I'm reading through this page but my experience with PowerShell is very minimal.
https://learn.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-powershell- ganeshsanapJul 13, 2023MVP
Tamras1972 Unfortunately, I don't think currently there is any way to move site page as private draft using either PnP PowerShell or CLI for M365.
Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.