Create an Azure AD App Registration - splunk/splunk-add-on-microsoft-azure GitHub Wiki

In order to consume data from Microsoft Azure, some sort of authentication needs to happen. This is typically done via an Azure AD Application Registration. An Azure AD App Registration is similar to a username and password, except an Azure AD App Registration has a client ID and client secret.

Register an application

  1. Login to the Azure Portal

  2. Type azure active directory in the search bar and click the Azure Active Directory service.

![width=500px](https://raw.githubusercontent.com/wiki/splunk/splunk-add-on-microsoft-azureimages/Search Azure AD.png)

  1. Select App registrations.

![width=500px](https://raw.githubusercontent.com/wiki/splunk/splunk-add-on-microsoft-azureimages/Azure AD app registration.png)

  1. Click the New registration button.

![width=500px](https://raw.githubusercontent.com/wiki/splunk/splunk-add-on-microsoft-azureimages/Azure AD new app registration.png)

  1. Give the application registration a name, choose Single-tenant as the account type, and click the Register button.

Note: the Redirect URI is not needed.

![width=500px](https://raw.githubusercontent.com/wiki/splunk/splunk-add-on-microsoft-azureimages/Azure AD app registration register.png)

  1. After the application is registered, an overview screen will appear. Copy the Application (client) ID and Directory (tenant) ID.

![width=500px](https://raw.githubusercontent.com/wiki/splunk/splunk-add-on-microsoft-azureimages/Azure AD app and tenant ID.png)

Add credentials

  1. Click Certificates & secrets as shown in the screenshot in step 5, above. Then click the New client secret button.

![width=500px](https://raw.githubusercontent.com/wiki/splunk/splunk-add-on-microsoft-azureimages/Azure AD New Client Secret.png)

  1. Provide a description and expiration date, and then click the Add button.

  2. After the secret is created, the value will be displayed in the Azure portal. This is the only time you will see the value in plain text, so make a copy of it now as you will need it later. If you lose this value, you will need to create a new secret.

Note: the Secret ID is not used.

![width=500px](https://raw.githubusercontent.com/wiki/splunk/splunk-add-on-microsoft-azureimages/Azure AD secret value.png)

Next Step