Step 1. Register an app to use Azure Active Directory

PDF for offline use
Related Samples:

Let us know how you feel about this

Translation Quality


last updated: 2017-03

  1. Navigate to and log in with your Microsoft Account or Organization Account in the Azure Portal. If you don’t have an Azure subscription, you can get a trial from

  2. After signing in, go to the Active Directory (1) section and choose the directory where you want to register the application (2)

  3. Click Add to create new application, then select Add an application my organization is developing

  4. On the next screen, give your app a name (eg. XAM-DEMO). Make sure you select Native Client Application as the type of application.

  5. On the final screen, provide a *Redirect URI that is unique to your application as it will return to this URI when authentication is complete.

  6. Once the app is created, navigate to the Configure tab. Write down the Client ID which we’ll use in our application later. Also, on this screen you can give your mobile application access to Active Directory or add another application like Web API or Office365, which can be used by mobile application once authentication is complete.

Xamarin Workbook

If it's not already installed, install the Xamarin Workbooks app first. The workbook file should download automatically, but if it doesn't, just click to start the workbook download manually.