This sample shows how to build an Windows Phone application that calls a web API that requires Azure AD for authentication. This sample uses the Active Directory authentication library for Windows Phone to do the OAuth 2.0 authorization code flow with public client.