Creating an Azure Active Directory Application and the Service Principal - Aster Analytics on Azure

Teradata AsterĀ® Analytics on Azure Getting Started Guide

Product
Aster Analytics on Azure
Published
May 2017
Language
English (United States)
Last Update
2018-04-13
dita:mapPath
bvi1488473168476.ditamap
dita:ditavalPath
Azure.ditaval
dita:id
bvi1488473168476
lifecycle
previous
Product Category
Cloud
Before starting this procedure, do the following:
  • See the Azure Documentation Center and search Create Service Principal. You will use the Azure documentation to complete the steps in this procedure using the Azure portal, Azure PowerShell, or Azure CLI.
  • Request your Azure subscription administrator to assign the Contributor role.
You must create an Azure Active Directory application and the service principal as part of the node failure recovery process.
  1. Create the Azure Active Directory application.
  2. Create the service principal.
  3. Assign the Contributor role to the service principal.
    Login-AzureRmAccount 
    ## List all the subscriptions
    Get-AzureRmSubscription
    Select-AzureRmSubscription -SubscriptionId your_subscription_id
    $app = New-AzureRmADApplication -DisplayName "{app-name}" -HomePage "https://{your-domain}/{app-name}" -IdentifierUris "https://{your-domain}/{app-name}" -Password "{your-password}"
    New-AzureRmADServicePrincipal -ApplicationId $app.ApplicationId
    New-AzureRmRoleAssignment -RoleDefinitionName Contributor -ServicePrincipalName $app.ApplicationId.Guid
    $app.ApplicationId
    where the ApplicationID is the client ID. The password you choose is the secret key for the service principal. The tenant and subscription IDs appear in the output.