Integration
...
Collectors
Azure Data Factory

Create and collect credentials

10min
The Azure Data Factory collector uses the Azure SDK to retrieve information, and needs a token for authorization purpose.

To do this, we need to register an application and allow it to have access to data factories, which is what is explained in the below steps.

1. From the Azure Portal, navigate to the App Registrations tool https://portal.azure.com/#view/Microsoft_AAD_RegisteredApps/ApplicationsListBlade

2. Click New registration.

Document image


3. Type an id for the application, for instance kensu-collector-application

4. Click Register.

Document image


5. Click "Certificates & secrets"

Document image


6. Click New client secret.

Document image


7. Click the "Description" field.

Document image


8. Type a name for the secret, for instance kensu collector token

9. Click "Add"

Document image


10. Click "Home"

Document image


11. Go to "Data Factories" (you can search for the resource if not available in Home)

Document image


12. Got to the data factory(ies) you want to make data observable

Document image


13. Click "Access control (IAM)"

Document image


14. Click "Role assignments".

Document image


15. Click "Add".

Document image


16. Click "Add role assignment"

Document image


17. Click the "Search box" field.

Document image


18. Search for "Data Factory Contributor" (or "Reader")

19. Click "Data Factory Contributor"

Document image


20. Click "next".

Document image


21. Click "Select members"

Document image


22. Type the name of the application created at the beginning (e.g., kensu-collector-application)

23. Select it.

Document image


24. Click "Select"

Document image


25. Click Next.

Document image


26. Click "Review + assign"

Document image




27. We need several information available on Azure Portal to create the connection between Data Factory and Kensu. You will need:

  • Application (Client) ID
  • Directory (Tenant) ID
  • Secret
  • Subcription ID

28. Let's fetch the "Client ID" field. In Azure Portal [application page] - Click "Overview"

Document image


29. Click the copy icon next to "Application (client) ID"

Document image


30. Azure Portal [application page] - Click the copy icon next to "Directory (tenant) ID"

Document image


31. Azure Portal [application page] - Click "Certificates & secrets"

Document image


32. Click the copy button next to the created secret above.

Document image


33. Azure Portal [application page] - Click "Home"

Document image


34. Click "Subscriptions" (or Search for it)

Document image


35. Click on your subscription

Document image


36. Click the copy icon next to the "Subscription ID"

Document image


37. Once your credentials are collected, follow the instructions on Register Azure Data Factory Connection.