Make sure you are not behind a firewall. This will block your script.
Page transformation using PnP Modernization script not working
Rajesh Lohar
21
Reputation points
Hello,
We are migrating SharePoint 2016 on-premises to SharePoint Online. We are following below script for page transformation.
We are able to connect SharePoint 2016, but it is throwing error as "The Remote Server returned an error (401) Unauthorized"
Please help if we are missing something.
Microsoft 365 and Office | SharePoint | Development
Microsoft 365 and Office | SharePoint | Development
The process of building custom applications and tools that interact with Microsoft SharePoint, including SharePoint Online in Microsoft 365.
Microsoft 365 and Office | SharePoint | For business | Windows
Microsoft 365 and Office | SharePoint | For business | Windows
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
Answer accepted by question author
1 additional answer
Sort by: Most helpful
-
Rajesh Lohar 21 Reputation points2022-04-19T13:45:20.573+00:00 Hi,
It is fixed, but now getting another error as below:
"ConvertTo-PnPClientSidePage: Cannot bind positional parameters because no names were given"
Anyone know what is missing here?
Thanks,