Choosing between Azure Automation and Function Apps

Azure Automation and Function Apps offer server-less script execution.

This post explains key differences between Azure Automation and Function Apps, concludes with an opinion on the preferred choice for a Scheduled Task replacement.

Comparing site by site

Usage / Use cases

Both allow the execution of scheduled jobs which themselves are based on scripts. PowerShell is supported on both options.

Audience

Manageability

Complexity Level

Various Differences

Conclusion

In my opinion is Azure Automation the best fit to be the better alternative to tradition Scheduled Task. Version Control, Change-Tracking, Security, Monitoring, Redundancy options and much more are reason for it.

Evolve from Scheduled Tasks to Azure Automation or Function Apps

Scheduled Tasks have been around since the early days of Windows Server. The task scheduler is the inbuilt component used to plan and execute jobs. Typically, System administrators use them to automate reoccurring activities which are defined in scripts.

While Scheduled Tasks are robust and easy to use, they have a couple of shortcomings.

This blog explains the advantages of Azure Automation or Function App over Scheduled tasks.

Looking on Scheduled Tasks and their opponents in Azure

Storage / Location

Execution


Redundancy

Change Tracking / Versioning

Monitoring

Security

Costs

Round Up

To conclude, Azure Runbooks and Function Apps outperform the traditional Scheduled Tasks in many aspects.