I have a powershell script that gathers some data and looks to upload that data to SharePoint. Im uploading the data via 2 methods, as an excel spreadsheet, and as a list item in a custom list.
When I run the script manually (as me), all works well. When I run the script through Windows Task Scheduler, the excel spreadsheet gets uploaded to the appropriate document library, and the existing list items get deleted, but the new list items do not get created.
Any thoughts what the issue could be? Im curious if its a permissions issue for the user that is scheduled to run this job, but I added their username as a site owner, AND they have the permission to upload a file\delete a list item.
Any help is appreciated, thx!