An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
The failure occurs because the Azure Data Factory (ADF) trigger runs the Synapse Spark job under ADF’s managed identity, which differs from the identity used when running the pipeline directly in Synapse Studio. This causes missing runtime context (linked service / Spark config / parameter values) and results in a Spark NullPointerException.
Try below Fix Steps:
- Ensure the ADF managed identity has:
- Synapse Administrator or all required roles plus explicit permissions on:
- The Spark pool
- Linked services used by the pipeline
- Access to all storage paths referenced at runtime (input, output, temp).
- Verify the pipeline does not rely on Studio-only defaults (parameters, Spark config) and explicitly pass all required values when triggered from ADF.