Get-PnPFile: user cannot be found

Occasional Visitor

When I attempt to download a file from a sharepoint online site using Get-PnPFile in an azure automation powershell runbook, I get the error "User cannot be found".


When running locally, the file is downloaded without any problems. Any idea what causes this in the runbook environment? AUthentication does not seem to be the issue, I can connect without any problems.


I have installed the latest module of the PnP framework in the runbook

0 Replies