I was working on an Azure Automation Runbook for a customer when I ran into this issue. All the Runbook does is run a PowerShell script to clean up old log files. Seems like a very straight forward process right? I tested everything in PowerShell first, and everything worked great. When I went to test