“The provided value for the template parameter is not valid” in ARM template deployments

I’ve come across this one before, but I hit it again today and I wanted to share the details of what happened. Basically the scenario is this, I have an ARM template that I want to deploy and it takes in parameters. The deployment needs to run through PowerShell using the Azure RM PowerShell cmdlets….


Running Azure Automation runbooks from IFTTT tasks

I recently had an idea (ok lets call it ‘collaboratively came up with while talking to one of the grads in our office) to look at ways that I could trigger runbooks in my Azure Automation account from my phone. The specific issue we were looking to solve in this case was “how can I…


Configuring SQL Server AlwaysOn Availability Groups in Azure RM Virtual Machines

This week on a project I came up against the need to set up some AlwaysOn Availability Groups (AG’s) for SQL Server 2014 in an Azure IaaS environment, using v2 (or Resource Manager/ARM) based VMs as opposed to the v1 (or Service Manager/ASM) based ones. I came across varying bits of documentation to do with…


Cross server DSC dependency options with Azure Resource Manager templates

One of the topics I have been discussing a little lately around the use of the DSC extension for Azure virtual machines is how to create dependencies for DSC configurations that work between servers.If you’re not familiar with how to use the DSC extension in Azure ARM templates have a read of my previous blog…


Using DSC to download from Azure file storage to an Azure VM

I’ve been exploring a lot PowerShell Desired State Configuration lately, and one of the things I’ve come up against was the need to be able to move files from a file share in an Azure storage account, to the local file system of a VM (usually to install software). Now since I’ve been trying to…


Using Windows Azure Automation Preview to manage Azure VMs

One of the great new features of Microsoft Azure that is currently in preview is the new Automation function. If you haven’t heard about it, the short version of it is that it lets you run PowerShell based workflow runbooks from the Azure datacenters. This presents a bunch of really neat ideas for how we…


Opening RDP session to an Azure VM with PowerShell

UPDATE (4 March 2015): The method described in this post is now obsolete as a new PowerShell cmdlet Get-AzureRemoteDesktopFile provides this functionality! Check out the documentation at https://msdn.microsoft.com/en-us/library/azure/dn495261.aspx One of the things I have found myself doing a lot lately is tearing down and rebuilding environments in Windows Azure (using the virtual machines functionality, which…


Managing Windows Azure VMs through PowerShell

I make no secret of the fact that I love PowerShell – all the jokes about it being a mechanism to turn IT Pro’s into developers without them realising it aside, you can do some seriously powerful stuff with it. This week I got my head around a few more things I can script up…