Tag Archives: Azure

Continuous Deployment of Azure ARM Based Environments using VSTS

 Overview With ARM comes the ability to define your infrastructure as code, in a JSON template file.  This means that your environment can effectively be source controlled and release managed, and can become a standard part of your application lifecycle, just as source code and applications are. Put simply, you can enable continuous deployment of your dev/test environments, ensuring they’re… Read more »

Using Azure Resource Manager with Azure Automation and Service Principal

A step by step guide to setting up your Azure environment to support Automation for Resource Manager Powershell scripts, using Service Principal authentication. Getting set up so that you can run Azure Resource Manager Powershell scripts in your Automation account isn’t quite as easy as perhaps it should be.  I thought it was worthwhile documenting the steps you need to… Read more »

Powershell DSC 101 – Part 3 – Implementation

In the two previous posts, I introduced PowerShell Desired State Configuration (DSC) and the kinds of use cases that its suited to. Post #2 covered setup and configuration of the DSC Server and how target nodes retrieve their configuration. This post will now cover the nuts and bolts of the actual Powershell configuration file (script) that defines the Desired State…. Read more »

PowerShell DSC 101 – Getting Started

Authoring, Configuring and deploying PowerShell DSC DSC: Desired State Configuration   In the previous post, I introduced PowerShell DSC at a high level and explained how it works, what it can be used for, and the options for setting up servers.  In this post I’m going to cover the first part of implementation, which includes setting up the environment for… Read more »

PowerShell DSC 101 – What’s it all about?

What is PowerShell DSC, and what can I use it for? DSC: Desired State Configuration DSC is a Powershell technology that enables a set of server’s configuration states to be described in a Powershell configuration object.  Each part of the configuration for a server (or Node) is described using a Powershell DSC Resource.  There are some “built in” resources, such… Read more »

MVC Role based authorization with Azure Active Directory (AAD)

[Using Visual Studio 2015] If you’re struggling to get the [Authorize(Roles=””)] attribute working on your controllers or actions, hopefully this blog will fill in the gaps for you. Without a few extra pieces of configuration and code, changing the Authorize attributes anywhere to include the Roles parameter will result in your web app looping when trying to authorize. The out… Read more »