Category Archives: Azure Active Directory

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 »

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 »