Knowledge Base
How-To Create an Azure Active Directory Application for Cloudockit Authentication
This is a 2 step procedure:
- Step 1: Create the AAD Application
- Step 2: Give the AAD Application the appropriate permissions
Step 1: Create the AAD Application
Navigate to https://portal.azure.com and select the Azure Active Directory blade:
![](https://www.cloudockit.com/wp-content/uploads/2021/06/2021-06-18_08h32_23.png)
Select App Registration
![](https://www.cloudockit.com/wp-content/uploads/2021/06/2021-06-18_08h36_35.png)
Click New Registration
- Name: App Registration Name of your choice
- Supported account types: Accounts in this organizational directory only
Once the application has been created, take note of the following values:
- Directory (tenant) ID
- Application (client) ID
![](https://www.cloudockit.com/wp-content/uploads/2021/06/2021-06-18_08h41_19.png)
Click register
![](https://www.cloudockit.com/wp-content/uploads/2021/06/2021-06-18_08h58_22.png)
Click Certificates & secrets
Click New client secret
![](https://www.cloudockit.com/wp-content/uploads/2021/06/2021-06-18_09h05_23-1024x561.png)
Fill in the following fields
Description: Enter the description of your choice
Expires: Choose the expiration of your choice
Click Add
![](https://www.cloudockit.com/wp-content/uploads/2021/06/2021-06-18_09h26_13.png)
Copy and paste the value. Keep it with the Directory ID and Application ID.
Note: This value is only visible right after its creation. You will have to create a new one if you have not saved it.
![](https://www.cloudockit.com/wp-content/uploads/2021/06/2021-06-18_11h02_36-1024x555.png)
Step 2: Give the AAD Application the appropriate permissions
From the Azure Portal go to subscriptions.
Select the subscription of your choice.
![](https://www.cloudockit.com/wp-content/uploads/2021/06/2021-06-18_11h07_00.png)
Select Access Control (IAM)
Add
Add role assignment
![](https://www.cloudockit.com/wp-content/uploads/2021/06/2021-06-18_11h07_59.png)
Fill in the following fields
Role: Reader
Select: Enter the name of the app registration, select it from the list below until it is added to the selected members section.
Click Save
![](https://www.cloudockit.com/wp-content/uploads/2021/06/2021-06-18_11h09_55.png)