Tutorial: Register an application with the Microsoft identity platform

To interact with the Microsoft identity platform, Microsoft Entra ID must be made aware of the application you create. This tutorial shows you how to register an application in a tenant on the Azure portal.

In this tutorial:

  • Register a web application in a tenant
  • Record the web application's unique identifiers

Prerequisites

  • An Azure account with an active subscription. Create an account for free.
  • This Azure account must have permissions to manage applications. Use any of the following roles needed to register the application:
    • Application administrator
    • Application developer
    • Cloud application administrator

Register the application and record identifiers

Tip

Steps in this article may vary slightly based on the portal you start from.

To complete registration, provide the application a name and specify the supported account types. Once registered, the application Overview page will display the identifiers needed in the application source code.

  1. Sign in to the Microsoft Entra admin center as at least an Application Developer.

  2. If access to multiple tenants is available, use the Directories + subscriptions filter in the top menu to switch to the tenant in which you want to register the application.

  3. Browse to Identity > Applications > Application registrations.

  4. Select New registration.

  5. Enter a Name for the application, such as NewWebApp1.

  6. For Supported account types, select Accounts in this organizational directory only. For information on different account types, select the Help me choose option.

    • The Redirect URI (optional) will be configured at a later stage.
  7. Select Register.

    Screenshot of process to enter a name and select the account type.

  8. The application's Overview pane is displayed when registration is complete. Record the Directory (tenant) ID and the Application (client) ID to be used in your application source code.

    Screenshot of recording the identifier values on the overview page.

Note

The Supported account types can be changed by referring to Modify the accounts supported by an application.

Next steps