Hi @Kishan Bhise ,
Save the content generated in runbook to a CSV file in temp location as shown in below command. Note that below command has assumption of storing content in $report variable and then exporting it to CSV file.
$report | Export-CSV ($env:TEMP+"xxxxxxxxxxxx.csv") -Notype
Then, upload csv file storage account as shown in below command.
$Context = New-AzStorageContext -StorageAccountName "storagename" -StorageAccountKey "storagekey"
Set-AzStorageBlobContent -Context $Context -Container "container1" -File ($env:TEMP+"xxxxxxxxxxxx.csv") -Blob "xxxxxxxxxxxx.csv" -Force
Note: For the above commands to work in a runbook, make sure the cmdlets related modules are imported as explained here.
Let me know if you have any further questions.
Reference:
https://learn.microsoft.com/en-us/answers/questions/1189680/