Create an app-based credential
Follow these steps to create an app-based credential for Azure. This can be done from the CDP web interface or CDP CLI.
- These steps need to be performed by someone who has the Owner built-in Azure role and the Application Developer role in Azure Active Directory.
- You must have your Azure Subscription ID available. To obtain it, on your
Azure Portal, browse to Subscriptions and copy the Subscription
ID:
- You must have your Azure Tenant ID available. To obtain the Tenant ID
(also known as Directory Id), on your Azure Portal, browse to Azure Active
Directory > Properties and copy the Directory Id:
- Alternatively, you can obtain both the Subscription ID and Tenant ID
from Azure CLI by using the following Azure CLI
command:
az account list|jq '.[]|{"subscriptionId": .id, "tenantId": .tenantId, "state": .state}'