Forum Discussion
quyendothanh200
4 months agoNew Member
dbt job fails with InternalServerError when triggered via REST API using Service Principal
We are unable to trigger a dbt job (DataBuildToolJob) via the Fabric REST API using a Service Principal (SPN). The API accepts the request (HTTP 202) but the job immediately fails with InternalServer...
- 4 months ago
please confirm the SPN has at least Contributor access in the workspace, because dbt jobs require Contributor or higher to create/manage, and dbt execution also needs read/write access to the target warehouse and linked assets.
- 4 months ago
REST API execution for Fabric dbt jobs was only recently announced (the feature was in preview from December 2025 with no API support at all as of January 2026). It's possible SPN execution specifically has a bug or is still rolling out
nilendraFabric
Super User
4 months agoplease confirm the SPN has at least Contributor access in the workspace, because dbt jobs require Contributor or higher to create/manage, and dbt execution also needs read/write access to the target warehouse and linked assets.