Azure Automation Runbook: Could not convert string to DateTimeOffset
Azure Automation Runbook: Could not convert string to DateTimeOffset I recently started getting issues with different customers in which we use Azure Automation for Update Management. We use the pre- and post runbook functionality for quite some time already, but recently we started getting these errors.. on multiple lines in the runbook output: "Could not convert string to DateTimeOffset: 1619773997. Path 'expires_on', line 1, position 2937." While researching this issue I figured out it had something to do with Az Powershell and depending on a older or newer module within one of the submodules. (which can be found here{:target="_blank"}) ...