The Azure Rest API, or Rather Resource Management API

Let’s start with a simple bingle search. Head over to duckduckgo.com and type in “Azure REST API” and hit quack… The top hit is already leading you astray! It takes us to the Azure Service Management API (ASM). “Ian, why is that not right?”, you ask? Well to be fair it’s not wrong… but wait we…


Deploy to Azure Resource Groups using the SDK

  Authentication Start by adding the ADAL nuget package. Install-Package Microsoft.IdentityModel.Clients.ActiveDirectory Then add this file to your project: The first line of code in your app will be… string token = AuthHelper.GetAuthorizationHeader(); That’s it for authentication!     Setup the Resource Management Client Start by adding the Azure Resource Management NuGet package. Install-Package Microsoft.Azure.Management.Resources Then…


Troubleshooting Azure Resource Manager Failed Messages

So you’re in the new portal and trying to deploy something? It runs for a while and then fails! The message returned isn’t great and looks something like: The operation name is: Microsoft.ClassicCompute/virtualMachines/extensions/write The status is: Failed Well, it happens… A good way to start to troubleshoot that is using PowerShell. Go setup PowerShell if you…