Medium severitydata flow
Power BI Refresh Error:
DF-Hive-InvalidGen2StagingConfiguration
What does this error mean?
The ADF Mapping Data Flow Hive connector is configured to use ADLS Gen2 as its staging area, but the Gen2 linked service is missing, the container or path doesn't exist, or the ADF managed identity lacks the necessary Gen2 permissions. ADLS Gen2 staging is an alternative to standard Blob staging and requires hierarchical namespace support.
Common causes
- 1No ADLS Gen2 linked service is configured in the Hive linked service staging settings
- 2The ADLS Gen2 storage account does not have hierarchical namespace (HNS) enabled
- 3The ADF managed identity or service principal lacks Storage Blob Data Contributor on the Gen2 container
- 4The staging path (file system and folder) in the Gen2 linked service does not exist
How to fix it
- 1Open the Hive linked service in ADF Studio and find the 'Staging storage' section — confirm an ADLS Gen2 linked service is selected.
- 2In the Azure portal, verify the storage account has 'Hierarchical namespace' enabled (Settings > Properties > Hierarchical namespace).
- 3In the storage account, go to Containers (file systems) and confirm the staging container and folder path exist.
- 4Under Access Control (IAM) for the container, grant the ADF managed identity the Storage Blob Data Contributor role.
- 5Test connection the Hive linked service, then re-publish and run a debug data flow to verify.
Frequently asked questions
Official documentation: https://learn.microsoft.com/en-us/azure/data-factory/data-flow-troubleshoot-guide