Skip to main content

Symptoms

When using ODX Server with an Azure Data Lake Gen2 storage (ADLS) and an Azure Data Factory (ADF) data source, ADF execution consistently fails with this error:

ADLS Gen2 operation failed for: Operation returned an invalid status code 'Forbidden'

Cause 

Firewall is blocking ADF from reading or writing files in the Data Lake.

Resolution

1. In the ADLS storage account networking options, allow access from "All networks"

 

OR

2.  Modify firewall settings on storage account (ADLS Gen2) to allow access from ADF.

Notes

Configure Azure Storage firewalls and virtual networks | Microsoft Docs

 

Be the first to reply!

Reply