I have seen dozens of questions like this and every one of them is answered with how to UPLOAD a file to SharePoint Online from within PowerShell. That is NOT the same thing and is not the question that I am asking.
I am trying to develop a script that will generate a simple csv and store it in a SharePoint Online library. Eventually I want to move this to utilize Azure Automation and schedule this activity.
Thus the output file from the PowerShell script cannot be stored locally, it must be generated directly into SharePoint Online.
Can this be accomplished with PowerShell?