MetricSign
EN|NLRequest Access
Medium severitydata source

Power BI Refresh Error:
DF-GEN2-InvalidAccountConfiguration

What does this error mean?

The ADLS Gen2 linked service in ADF is misconfigured — the storage account name is wrong, the hierarchical namespace is not enabled on the account, or the endpoint URL uses the Blob endpoint instead of the required Gen2 DFS endpoint.

Common causes

  • 1The storage account has hierarchical namespace disabled — standard Blob Storage does not support the ADLS Gen2 connector
  • 2The endpoint URL in the linked service uses blob.core.windows.net instead of the required dfs.core.windows.net for Gen2 operations
  • 3The storage account name is misspelled or the account is in a different Azure subscription

How to fix it

  1. 1In the Azure portal, confirm the target storage account has 'Hierarchical namespace' enabled under Settings > Configuration.
  2. 2Open the ADLS Gen2 linked service in ADF Studio and verify the storage account name is correct.
  3. 3Confirm the endpoint URL format is https://<accountname>.dfs.core.windows.net, not the blob endpoint.
  4. 4Test connection the linked service — a failed test confirms the config issue before you run the pipeline.
  5. 5If using a sovereign cloud (China, Government), verify the endpoint suffix matches the cloud environment.

Frequently asked questions

What is the difference between ADLS Gen2 and standard Azure Blob Storage?

ADLS Gen2 requires 'Hierarchical namespace' to be enabled on the storage account. Without it, the Gen2 connector fails — standard Blob Storage does not support the DFS endpoint.

How do I check if my storage account has hierarchical namespace enabled?

In the Azure portal, go to the storage account Overview. 'Hierarchical namespace' should show 'Enabled'. If disabled, you cannot use the ADLS Gen2 connector.

Can I use the standard Blob Storage linked service instead of Gen2?

Yes — if hierarchical namespace is not enabled, use the Azure Blob Storage linked service instead of ADLS Gen2. The connector and endpoint format differ between the two.

Official documentation: https://learn.microsoft.com/en-us/azure/data-factory/data-flow-troubleshoot-guide

Other data source errors