Adding an Azure cloud credential

Add an Azure cloud credential by entering the client ID, client secret, and tenant ID of an app registration and selecting the subscription and location.

  1. Open the Add Cloud Credentials drawer and click the AZURE tile. For the steps, see Starting a new cloud credential.
  2. In Cloud Name, enter a name for the credential.
  3. In Organization, select the organization that owns the credential.
  4. In Azure Client ID, enter the application (client) ID.
  5. In Azure Client Secret, enter the client secret value.
  6. In Azure Tenant ID, enter the directory (tenant) ID.
  7. In Subscription, select the subscription.
  8. In Location, select the Azure region.
  9. In Azure Zone Count, select the number of availability zones.
  10. In IP Mode, click IPv4 or DualStack.
  11. To use an existing virtual network, turn on VNet Import and complete the fields that appear:
    1. Select the resource group that contains the VNet.
    2. Select the VNet.
    3. Select at least one subnet.
    4. Optional: turn on File Share and select the Azure Files share.
  12. Optional: turn on Enable Custom Kubernetes Image and select an image.
  13. Click Add Cloud Credentials.
Figure 1. Add Cloud Credentials form for Azure

Add Cloud Credentials form for Azure
Figure 2. Subscription list before the login is complete

Subscription list before the login is complete
Figure 3. Azure Zone Count list before the fields are complete

Azure Zone Count list before the fields are complete
Figure 4. IP Mode set to DualStack

IP Mode set to DualStack
Figure 5. Image list before the credentials are complete

Image list before the credentials are complete

If the virtual machine flavors do not load after you add the credential, check the following:

  • The role assignment of the service principal covers the selected subscription.
  • The client ID, the tenant ID, and the value of the client secret are correct.
  • The client secret has not expired.
  • You entered valid values in Azure Client ID, Azure Client Secret, Azure Tenant ID, Subscription, and Location. Cloudera Cloud Factory lists the available virtual networks only after all of these values are valid.