Register a new application for the Data Collector
Azure requires a new Application be registered before you can interact with it.
To register a new Application for the Data Collector
You must be logged into your account within Azure Windows PowerShell. The following steps are performed at the Microsoft Azure PowerShell prompt.
- Set the context using your Tenant ID and Subscription ID by entering:
Set-AzureRMContext -SubscriptionId <SUBSCRIPTIONID> -TenantId <TENANTID>
- Set the Password in a SecureString:
$securePwd = ConvertTo-SecureString "<PASSWORD>" -AsPlainText -Force
- Revise the DisplayName, Hostname, and Azure Default Directory. Copy/paste the following at the prompt:
Note:
Azure Default Directory can be found in your Azure account under Subscription>Overview.
$azureAdApplication = New-AzureRmADApplication -DisplayName "<DISPLAYNAME>" -HomePage "https://<HOSTNAME>.<AZURE-DEFAULT-DIRECTORY>" -IdentifierUris "https://<HOSTNAME>.<AZURE-DEFAULT-DIRECTORY>" -Password $securePwd -AvailableToOtherTenants $true
- Enter the following to display your application parameters:
$azureAdApplication
- Write down the Subscription ID, Tenant ID, Application ID, and the Password you chose. The Application ID is displayed in the output. The Data Collector requires those four parameters.