Visual Studio Mobile Center

Configure Microsoft Account

You will need:

  • Your Mobile Center app secret, which you can find by going to Mobile Center > your app > Getting Started > Manage app > App secret.

Register your application with Microsoft Account

  1. Navigate to the My Applications page in the Microsoft Account Developer Center, and log on with your Microsoft account, if required.

  2. Click Add an app, then type an application name, and click Create application.

  3. Make a note of the Application ID.

  4. Under Platforms, click Add Platform and select Web.

  5. Under Redirect URIs supply https://mobile-{app id}.azurewebsites.net/.auth/login/microsoftaccount/callback as the endpoint for your application, then click Save.

  6. Under Application Secrets, click Generate New Password. Make note of the value that appears. Once you leave the page, it will not be displayed again.

Configure Identity for Microsoft Account authentication

  1. In Mobile Center, go to Identity, and click on Microsoft Account.

  2. Enter the Client ID and Client Secret that you’ve collected, optionally enable any scopes your application requires, and Save.

Your configuration is now complete. You can check that your app is configured correctly by navigating to https://mobile-{app id}.azurewebsites.net/.auth/login/microsoftaccount.