05-23-2025 06:12 AM
2 weeks ago
Hey @lezwon
# databricks.yml (or included resource file)
resources:
pipelines:
dlt_pipeline:
name: dlt_pipeline
# … your existing pipeline settings …
permissions:
- user_name: louis.frolio@databricks.com
level: CAN_MANAGE # or CAN_RUN / CAN_VIEW
# Alternatively, at target level to apply across resources:
targets:
dev:
resources:
pipelines:
dlt_pipeline:
permissions:
- user_name: louis.frolio@databricks.com
level: CAN_MANAGE
```
Redeploy with `databricks bundle deploy`. This approach is documented and supported for pipelines in Asset Bundles.
Notes:
* If you prefer to keep edit rights limited, use **CAN_VIEW** to see the pipeline and **CAN_RUN** to trigger updates; use **CAN_MANAGE** to also edit settings.
#### Option B — share from the UI
If you can log in as a workspace admin or the service principal owner, open Jobs & Pipelines → pipeline → Share, then add your user or group with the appropriate permission level and Save.
### Why the job task says “Pipeline ID not found”
* The job edit/run page uses your identity in the UI. If you don’t have CAN_VIEW on the pipeline, the UI can’t resolve the referenced pipeline ID and shows the “Pipeline ID not found” message even though the pipeline exists and the service principal can see it.
### Additional checks and tips
* Confirm the pipeline ownership and permissions (as the service principal or an admin), then grant your user or a group the needed level. Pipelines updates always run as the owner’s identity—keeping the owner as the service principal is the recommended pattern.
* Ensure the job’s pipeline task targets a **triggered** pipeline (not continuous). Pipeline tasks in Jobs only support triggered pipelines selected from the “Pipeline” dropdown.
* If non‑admins need to view driver logs for Unity Catalog‑enabled pipelines, add this to the pipeline config to allow logs for CAN_VIEW/CAN_RUN/CAN_MANAGE users:
```json
{
"configuration": {
"spark.databricks.acl.needAdminPermissionToViewLogs": "false"
}
}
2 weeks ago
Hey @lezwon
# databricks.yml (or included resource file)
resources:
pipelines:
dlt_pipeline:
name: dlt_pipeline
# … your existing pipeline settings …
permissions:
- user_name: louis.frolio@databricks.com
level: CAN_MANAGE # or CAN_RUN / CAN_VIEW
# Alternatively, at target level to apply across resources:
targets:
dev:
resources:
pipelines:
dlt_pipeline:
permissions:
- user_name: louis.frolio@databricks.com
level: CAN_MANAGE
```
Redeploy with `databricks bundle deploy`. This approach is documented and supported for pipelines in Asset Bundles.
Notes:
* If you prefer to keep edit rights limited, use **CAN_VIEW** to see the pipeline and **CAN_RUN** to trigger updates; use **CAN_MANAGE** to also edit settings.
#### Option B — share from the UI
If you can log in as a workspace admin or the service principal owner, open Jobs & Pipelines → pipeline → Share, then add your user or group with the appropriate permission level and Save.
### Why the job task says “Pipeline ID not found”
* The job edit/run page uses your identity in the UI. If you don’t have CAN_VIEW on the pipeline, the UI can’t resolve the referenced pipeline ID and shows the “Pipeline ID not found” message even though the pipeline exists and the service principal can see it.
### Additional checks and tips
* Confirm the pipeline ownership and permissions (as the service principal or an admin), then grant your user or a group the needed level. Pipelines updates always run as the owner’s identity—keeping the owner as the service principal is the recommended pattern.
* Ensure the job’s pipeline task targets a **triggered** pipeline (not continuous). Pipeline tasks in Jobs only support triggered pipelines selected from the “Pipeline” dropdown.
* If non‑admins need to view driver logs for Unity Catalog‑enabled pipelines, add this to the pipeline config to allow logs for CAN_VIEW/CAN_RUN/CAN_MANAGE users:
```json
{
"configuration": {
"spark.databricks.acl.needAdminPermissionToViewLogs": "false"
}
}
Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!
Sign Up Now