Setting up an Application and Tenant for Azure Resource Manager


An application is a specific cloud service associated with your Azure account, and the tenant is a client or organization that manages an instance of the cloud service. The application and tenant are associated with your subscription through Azure Active Directory, which provides identity and access management for the Azure cloud.

To create an Azure SQL app, you need to set up an application and tenant for the Azure Resource Manager.

To complete the setup of Azure, you will need the following Azure information:

  • Application name

  • Application ID

  • Subscription ID

  • Tenant ID (Directory ID)

  • Application key

Before You Begin

You must have the following information for your Azure account:

  • The Subscription ID for the Azure account

  • The user credentials that have Service Administrator capabilities, for logging in to your Azure account.


  1. Log on to the public Azure portal with service administrator credentials.

  2. On the App Registration tab, do the following:

    1. From the Azure Active Directory menu, select the App registrations tab, click New Registration, and then enter the following information:

      • Name: The name of the application to be created on Azure Active Directory.

      • Register URI: Select the type of app—Web or Public Client/Native—and then enter the URL for your application.

        Use http://app_name (URL including the application name you specify). For example: MyWebApp and https://MyWebtApp.

    2. Click Create.

      After you create the app, it is listed on the App Registration tab.

    3. Record the Application ID.

      Click Save.

  3. On the Access Control (IAM) tab within the resource group settings, add the SQL Server Contributor role to the application.

  4. To obtain the Tenant ID from the public Azure cloud select Azure Active Directory > Properties > Directory ID.

    The Directory ID is also the Tenant ID.