Hi,
I usually export my csv output to a local file via export-csv , but I now have the requirement to output said csv file directly into a SharePoint Online document library, and overwrite the existing file. This will be run on a schedule.
I know about the Add-PnPFile cmdlet but that still requires me to first output to a local file, and then copy it to SPO. Since I want to run this in an Azure automation job, I can’t do this.
Anybody faced similar challenge and found a workable solution?
Thanks ![]()
Welcome!
I haven’t but take a look at the Graph API.