How can I trigger an Azure Storage Mover on a schedule?

0
10
Asked By TechSavvy42 On

I'm trying to figure out a way to trigger an Azure Storage Mover from another Azure service so that it executes every hour. I've been experimenting with Azure Data Factory and using a Web activity to send a POST request to start the job, but I keep getting a generic 500 error. Interestingly, I can run a GET request that successfully reaches the Job Definition. I also have a PowerShell command that works in the CLI to start the job, but when I tried to integrate it into an Azure runbook, things went wrong. Has anyone found a reliable way to automate this process?

2 Answers

Answered By CloudNinja88 On

Have you tried running your PowerShell script from a Virtual Machine? Sometimes it works better in that environment.

Answered By ScriptMaster101 On

Yeah, I've encountered issues when executing scripts through runbooks before. It's worth testing to see if your PowerShell runs smoothly directly from a VM.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.