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:
Tenant ID (Directory ID)
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.
Log on to the public Azure portal with service administrator credentials.
On the App Registration tab, do the following:
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.
After you create the app, it is listed on the App Registration tab.
Record the Application ID.
On the Access Control (IAM) tab within the resource group settings, add the SQL Server Contributor role to the application.
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.