Jan 30 2018
- last edited on
Jul 31 2018
I want to deploy an Azure File (Storage Account) and use it as a Shared Folder in my Windows 10, up here all right. I´ve created a Runbook to launch shares snapshot automatically everyday (PowerShell). The code used is:
The Runbook ends with de next error:
Method invocation failed because [Microsoft.WindowsAzure.Storage.File.CloudFileShare] does not contain a method named 'Snapshot'.
This error is the same when trying these code in "Windows PowerShell ISE" client, but doesn´t appear in Cloud Shell (Azure Portal).
Please, somebody could help me?
Thanks in advance.
Mar 09 2018
Try importing or updating Azure.Storage module in the automation account, that worked for me. I'm running something similar to schedule snapshots