Every month, Microsoft generates another version of the Graph PowerShell SDK. If you use the SDK with Azure Automation, you need to update the modules too. Because the Graph SDK has 30+ modules, updating to a new version is a pain in the rear end... unless you use PowerShell to do the job.
https://practical365.com/update-graph-sdk-azure-automation/