Az copy available for Automation account runbook

WinTechie 281 Reputation points


I want to leverage Automation account runbook to initiate sync between two storage account file shares, for which I would be using Az copy.

Is AzCopy available to use in Automation account runbooks? OR will I have to deploy a windows based VM with AzCopy installed and execute my powershell script from there instead using automation account?

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,186 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,143 questions
{count} votes

1 answer

Sort by: Most helpful
  1. TP 79,056 Reputation points


    Runbooks that run in Azure sandbox don't support calling exes (like azcopy). One potential approach to get around this limitation would be to use Hybrid Runbook worker with a VM.

    Automation Hybrid Runbook Worker overview

    For reference, below link details sandbox limitation:

    If the above is helpful please click Accept Answer.