Hi @sns ,
Please try to use following PnP PowerShell commands:
Connect-PnPOnline -Url "https://domain.sharepoint.com/sites/site1" -Interactive
Note: By default it will use the PnP Management Shell multi-tenant application behind the scenes, so make sure to run
If you still get this error:
1.Please check your computer time and date, ensure your computer time is correct.
2.Reset your IE settings.
For Reference: Connect-PnPOnline
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.