Creating Service Principal and New Roles Using AzureRM Powershell

I started working on a few scripts to provision new roles using Azure Resource Manager (ARM). While the documentation online is pretty complete for the Powershell I had a couple of points of consideration: running as a part of an automated action and code versus config. When I first developed the couple scripts to create the new roles…