Azure Code Samples

Learn to interact with Azure services through code

6 code samples match your filter

WPF application signing in users with Azure Active Directory B2C and calling an API

Sample showing how a Windows Desktop .NET (WPF) application can sign in a user using Azure AD B2C, get an access token using MSAL.NET and call an API.

  • Azure Active Directory B2C
  • .NET
jmprieur by Jean-Marc Prieur,
Last updated: 8/8/2019

Universal Windows Platform (UWP) application signing in users with Azure Active Directory B2C and calling an API

Sample showing how a Windows Universal Platform (UWP) application can sign in a user using Azure AD B2C, get an access token using MSAL.NET and call an API. http://aka.ms/aadb2c

  • Azure Active Directory B2C
  • .NET
jmprieur by Jean-Marc Prieur,
Last updated: 8/8/2019

PHP Web Application with Azure AD B2C

A PHP web application that authenticates users with Azure AD B2C using OpenID Connect.

  • Azure Active Directory B2C
  • PHP
t-olhuan by t-olhuan,
Last updated: 1/15/2018

Integrate Azure AD B2C into an Objective-C iOS application using ROPC

iOS sample demonstrating how to sign into Azure AD B2C using ROPC

  • Azure Active Directory B2C
  • iOS
parakhj by Parakh Jain,
Last updated: 4/29/2018

Integrate Azure AD B2C natively into an Android application using ROPC

An Android sample that demonstrates how to use AppAuth to sign into Azure AD B2C using ROPC

  • Azure Active Directory B2C
  • Android
parakhj by Parakh Jain,
Last updated: 4/29/2018

Single-Page Application built using Angular2.4 and MSAL.js with Azure AD B2C

A single page app implemented using Angular 2.4.5 that signs up & signs in users using Azure AD B2C and calls a web API using OAuth 2.0 access tokens. http://aka.ms/aadb2c

  • Azure Active Directory B2C
  • Javascript
parakhj by Parakh Jain,
Last updated: 5/29/2018