Host and run your PowerShell scripts in Azure


Few days ago, I was working with one of my customer. I advised him to host his O365 scripts in Azure instead using a local server. In this post, I would like to share why I recommended this to my customer and what solutions we've identified for hosting PowerShell script in Azure.

Why in my opinion, Azure is the best companion for executing O365 PowerShell scripts (or code)?

First, Azure services SLAs guarantee that your script will run 99.9xxx% of times. Usually, it's hard to provide such level of services on a local server. It may require a big investment for few scripts execution time mostly without any SLA and without service guarantee. You may also need,  to open some ports, to configure a proxy, to harden your server security, to configure some antivirus, and to maintain your local server. In Azure, most services allow you to only focus on your PowerShell script because all the infrastructure, the SLAs and security is taken care by Microsoft. You only pay for what you consume in Azure. Some services presented below might be less expensive than running a local server which is consuming power supply all day long. To finish, when hosting your scripts in Azure may rely on all other Azure services (SQL, Big Data, Data Factory etc) and get some flexibility for any scripts improvements or complexity.

Services in Azure for hosting and executing PowerShell

Comments (0)

Skip to main content