High severitypermissions
Power BI Refresh Error:
SYNAPSE_SQL_0003
What does this error mean?
The Synapse SQL pool user lacks permission to query external data sources (ADLS Gen2, Blob storage).
Common causes
- 1The Synapse managed identity has not been granted Storage Blob Data Reader on the storage account
- 2External table's DATA_SOURCE references a credential that the user cannot use
- 3The database-scoped credential is not accessible to the current user
How to fix it
- 1Step 1: Grant Storage Blob Data Reader to the Synapse managed identity on the ADLS Gen2 account.
- 2Step 2: Ensure the database-scoped credential is created and the user has REFERENCES permission.
- 3Step 3: Test with: `SELECT TOP 10 * FROM OPENROWSET(BULK '...', ...) AS r;`
- 4Step 4: Check if hierarchical namespace is enabled on the storage account (required for Synapse).
Frequently asked questions
Official documentation: https://learn.microsoft.com/en-us/azure/synapse-analytics/sql/troubleshoot-synapse-studio