Medium severityconfiguration
Power BI Refresh Error:
DF-Executor-PartitionDirectoryError
What does this error mean?
The data flow source encountered an error reading partition directories from the storage layer. The partition folder structure does not match the configured pattern, a required partition directory is missing, or the identity lacks read permissions on a subdirectory.
Common causes
- 1The source dataset uses Hive-style partitioning (year=2024/month=01/) but a required partition directory does not exist yet for the current date range
- 2A wildcard path in the source dataset does not correctly match the actual folder hierarchy — e.g., `*/data/*.parquet` when the actual path is `year=2024/month=01/data.parquet`
- 3The managed identity or service principal has RBAC access at the container level but not on specific partition subdirectories created by a different process
- 4An upstream pipeline wrote partition directories with an inconsistent naming convention, breaking the pattern the data flow source expects
How to fix it
- 1Check the ADF activity run output for the specific partition directory path that caused the error.
- 2Verify the source partition directory structure matches the pattern configured in the source dataset — for example, if using Hive-style partitioning (col=value), the folder names must match exactly.
- 3Ensure the service principal or managed identity has read permissions on the partition directories, not the root container.
- 4If using wildcard paths in the source dataset, confirm the wildcard pattern correctly matches the partition directory structure.
- 5Enable debug mode and preview the source with a specific partition filter to validate that the partition directories are accessible and correctly structured.
Frequently asked questions
Official documentation: https://learn.microsoft.com/en-us/azure/data-factory/data-flow-troubleshoot-guide