Here is a video guide which I created for the Patch My PC report which covers the steps outlined below.
Import Modules
If you wish to export data to an Azure storage account, you will need a couple of PowerShell modules added to the automation account for the runbook to use.
In the Azure portal in the automation account, go to the Modules gallery pane
Search for and import the following modules:
Az.Accounts
Az.Storage
Create a Runbook
Click on the Runbooks pane and choose Create a runbook
Enter a name for the runbook, select PowerShell for the runbook type and click Create