metadata-ingestion/docs/sources/azure-data-factory/azure-data-factory_pre.md
The azure-data-factory module ingests metadata from Azure Data Factory into DataHub. It is intended for production ingestion workflows and module-specific capabilities are documented below.
The connector only performs read operations. Grant one of the following:
Option 1: Built-in Reader Role (recommended)
Assign the Reader role at subscription, resource group, or Data Factory level.
Option 2: Custom Role with Minimal Permissions
Download datahub-adf-reader-role.json, update the {subscription-id}, then:
# Create custom role
az role definition create --role-definition datahub-adf-reader-role.json
# Assign to service principal
az role assignment create \
--assignee <service-principal-id> \
--role "DataHub ADF Reader" \
--scope /subscriptions/{subscription-id}
For detailed instructions, see Azure custom roles.
This section intentionally complements (and does not duplicate) the generated Starter Recipe section.