Can I replace SQL Jobs by Azure Scheduler?


Staff member
Currently there are 3 different ways SQL jobs are getting created in my on-premise instance.

<li>SQL Jobs - Which will use SSIS Packages (Created Manually)</li>
<li>SQL Jobs - Which runs the SPs (Created Manually)</li>
<li>Automated Jobs created by SSRS subscriptions</li>

I am trying to migrate on-premise SQL Server to Azure VM (IaaS) and I found something called Azure Scheduler. Now I am wondering how can I migrate above 3 type of Jobs!

Based on MSDN Forum by one of MVP

The right and recommended way is with Azure
Scheduler. Scheduler can be used with success to replace the classical
SQL Jobs.
Another option is to use Azure Automation to trigger or even run
different action on SQL Azure -
<a href="" rel="nofollow noreferrer"></a>.

But SSRS Subscriptions are dynamically generating SQL Jobs! How can I tell SSRS subscriptions not to create SQL Jobs rather to create Azure Scheduler?

Here is screenshot of SQL Jobs created by SSRS. As you see below its created dynamically!

<a href=" " rel="nofollow noreferrer"><img src=" " alt="enter image description here"></a>

Now how can I change or use azure scheduler here!

I have downloaded Image from blog post <a href="" rel="nofollow noreferrer"></a>


Since we have <strong>Always On</strong> setup in Azure, there will be two nodes having same SQL jobs. I want only SQL Jobs from Active node to be executed/run.
So can I use Azure Scheduler to monitor the active node and run only SQL Jobs in that node?

<strong>Keeping Azure aside</strong>

I would like to make my question more simple.
How can we handle SQL Jobs in SQLServers which are configured in <strong>Always On</strong>.
As per my understanding always on will have 2 nodes so how we can find active node in this setup? because since both servers are active, jobs of both the servers will run and end up in many issues

My current investigation says SQL Scheduler is not right candidate for replacement of SQL Agents which runs on <strong>always ON</strong> configuration

Here are links which will provide in-dept details on finding PRIMARY nodes in Always ON and setting up SQL Agents

<a href="" rel="nofollow noreferrer"></a>

<a href="" rel="nofollow noreferrer"></a>