Medium severitydata source
Power BI Refresh Error:
DF-SQLDW-InvalidGen2StagingConfiguration
What does this error mean?
The ADLS Gen2 staging configuration for the Synapse Analytics connector is invalid. A property of the Gen2 staging linked service — account name, endpoint, or Hierarchical Namespace setting — is wrong or inaccessible.
Common causes
- 1The staging ADLS Gen2 linked service references an account that does not have Hierarchical Namespace (HNS) enabled — it is a regular Blob account being used as Gen2
- 2The account name or endpoint in the Gen2 staging linked service is incorrect
- 3The staging storage account was deleted or moved after the configuration was set up
- 4The pipeline was migrated from a different environment and the Gen2 staging linked service was not updated
How to fix it
- 1In ADF Studio, open the ADLS Gen2 staging linked service used by the Synapse connector.
- 2Verify the storage account name and confirm the endpoint is https://<accountname>.dfs.core.windows.net (note: DFS endpoint, not blob).
- 3In the Azure portal, open the storage account and check Settings > Properties > Hierarchical namespace — it must show 'Enabled' for ADLS Gen2.
- 4If HNS is disabled, switch the staging to an Azure Blob Storage linked service instead (using the .blob.core.windows.net endpoint).
- 5Click Test connection on the staging linked service to verify it works, then save and retry the pipeline.
Frequently asked questions
Official documentation: https://learn.microsoft.com/en-us/azure/data-factory/data-flow-troubleshoot-guide