title: Azure: Store the result of powershell into storage account
body: <p>I'm trying to write simple script to save the output of first command in CSV format into azure storage account, this is part from automation process.</p>
  
  <pre><code>Search-AzureRmGraph -Query "project name, type, location | order by name asc"-0| Export-Csv AutomationFile.csv 
  
  Set-AzureStorageBlobContent -Container resourcegraphcontainer -File AutomationFile.csv -Blob SavedFile.csv
  </code></pre>
  
  <p>The issue that I'm receiving the following error, I checked and I can extract the file to my local machine but the idea of saving the output into storage account does not work</p>