Error on copy a page from one sharepoint site to another #319
-
Hi all, I work at a school and have a script to create sites, users and folders automatically. In the finaI steps of the script I need to copy a page from a Sharepoint to another and make it the homepage, but I can't and have been stuck... Here's what I have so far...
When run I get the error:
In the past I've used "Export-PnPClientSidePage" instead of "Export-PnPPage" and It worked. But in the last time it says:
So I change the command but it doesn't work. What am I doing wrong? Thanks a lot for your help |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Can you run the |
Beta Was this translation helpful? Give feedback.
-
The command has been renamed to |
Beta Was this translation helpful? Give feedback.
The command has been renamed to
Invoke-PnPSiteTemplate
.See CHANGELOG.md to keep up to date with any changes/improvements that we make to the module.