I'm using AzureFileCopy task in Azure DevOps for copying a file to a blob storage. However, during execution, the task fails, and the logged error is about AzureRM module not being present.
`Starting: Copying file to blob storage
Task : Azure file copy Description : Copy files to Azure Blob Storage or virtual machines Version : 4.210.3 Author : Microsoft Corporation Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/deploy/azure-file-copy
##[error]Could not find the modules: 'AzureRM' with Version: 'Any version'. If the module was recently installed, retry after restarting the Azure Pipelines task agent. Finishing: Copying file to blob storage`
I tried to create a PowerShell task which was supposed to install this module, but couldn't make it to work.
Any suggestions?
Thanks.