Page transformation using PnP Modernization script not working

Rajesh Lohar 21 Reputation points
2022-04-19T09:43:16.583+00:00

Hello,

We are migrating SharePoint 2016 on-premises to SharePoint Online. We are following below script for page transformation.

https://github.com/pnp/modernization/blob/dev/Scripts/PageTransformation/Convert-OnPremisesPublishingPages.ps1

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.

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,300 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,810 questions
0 comments No comments
{count} votes

1 additional answer

Sort by: Most helpful
  1. Rajesh Lohar 21 Reputation points
    2022-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,