Month: January 2015

Authenticating an AngularJS Single Page Application with Azure AD

I’ve been spending a lot of time in Angular JS of late with Web API serving up the data. Generally I’ve been authenticating with what Microsoft call “individual accounts” – usernames and passwords stored by the web service or through common logins such as Microsoft Accounts, Facebook etc.

However recently I had the need to authenticate such a pairing against Azure AD.

I must admit I expected a day or two of pain followed by a lengthy blog post but to my very pleasant surprise Microsoft have recently released a preview version of a JavaScript library and AngularJS module for doing just this.

The steps to take in Angular and AD are well documented on the GitHub page that you can find here.


  • If you're looking for help with C#, .NET, Azure, Architecture, or would simply value an independent opinion then please get in touch here or over on Twitter.

Recent Posts

Recent Tweets

  • Overheard while walking in town just now: “He called her a dodo” “What’s a dodo?” “A kind of fish”
  • I feel like I’m living in some sort of dimension of chaos. The news is full of the ongoing Brexit omnishambles. M…
  • A @GoZwift session today. It’s very cool and a useful training aid for interval / power training that takes a littl…

Recent Comments




GiottoPress by Enrique Chavez