Forum Discussion

ellan1537's avatar
ellan1537
Iron Contributor
Dec 13, 2023
Solved

Get-PnPList : The remote server returned an error: (403) Forbidden

If I connect to the OneDrive site using "connect-pnponline" command and try to do the "Get-PnpList" then I get the "Get-PnPList : The remote server returned an error: (403) Forbidden" error.   But ...
  • ellan1537's avatar
    ellan1537
    Dec 14, 2023
    Although my account has full access to OneDrive and SharePoint sites, my account has been blocked from running Pnp Powershell for OneDrive. With the help of internal teams, my issue has been resolved.