Forum Discussion
dbt job fails with InternalServerError when triggered via REST API using Service Principal
- 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
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
- deborshi_nag4 months agoSuper User
Microsoft docs doesn't explicitly mention SPN support for DBT job runs, it does say the item is in Preview. If you can successfully run it manually from Fabric UI, but not using REST API, it is quite possible that feature has not been rolled out yet!
- v-aatheeque4 months agoCommunity Support
Hi quyendothanh200
Following up to confirm if the earlier responses addressed your query. If not, please share your questions and we’ll assist further.- v-aatheeque4 months agoCommunity Support
Hi quyendothanh200
Have you had a chance to look through the responses shared earlier? If anything is still unclear, we’ll be happy to provide additional support.