Fabric connection¶
Field reference: scamander-providers-fabric. There are two
separate connection types, since they authenticate against different
Fabric/Azure resources: fabric for running items (notebooks,
pipelines), and fabric_capacity for pause/resume/scale of a capacity
resource.
Both authenticate as a service principal that needs to be created and allow-listed for Fabric API access first. See Creating a Power BI / Fabric service principal if you don’t already have one set up. The steps below assume you do, and just cover creating the Airflow connection itself.
Steps¶
In the Airflow UI, open Admin → Connections, then click + to add a new connection.
Set Connection Id (e.g.
fabric_defaultorfabric_capacity_default) and Connection Type tofabricorfabric_capacity.
Fill in Login (client ID) and Password (client secret) from the target app registration’s rotated credentials, plus Extra with the
tenantIdfield (and, for thefabrictype only, optionallyrefreshToken/scopes), then click Save.