Connect-PnPonline 404 Not Found Issue

Just Learning 0 Reputation points
2025-01-09T03:29:54.5966667+00:00

I used connect-pnponline -url https://tenant.sharepoint.com/sites/contoso -Interactive -ClientId "XXX-XXXX-XXXXX-XXXXXX-XXXXX -Verbose

It shows that I'm connected, but I get this error message. Get-PnPSite: The remote server returned an error: (404) Not Found. I have allsites.fullcontrol api permission and it has been granted admin consent.

Windows for business | Windows Server | User experience | PowerShell
0 comments No comments
{count} votes

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.