Category Archives: Azure

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 »