I have a blob storage for storing online files. After I uploaded the excel document I need to extract data from the excel sheet. Is it possible to get access to the blob storage with an automation account from a runbook? I need the data then to create SharePoint Sites and attributes. I haven't figured out how I can access the blob storage.
Thanks for the help!
Best regards
Matthias
I tried the below PowerShell script in the Automation runbook to extract the Excel/CSV file data from the Azure Storage.
Powershell script :
To read the blob data from the Storage, you need to assign the Storage Blob Data Reader role in the Storage account.
Output :
Below is the output for extracting the Excel file data from the storage.
Note :- To extract the CSV file data, you should replace it with the below code.
Below is the output for extracting the CSV file data from the storage.