Skip to main content

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


Forum|alt.badge.img

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

 

Did this topic help you find an answer to your question?

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings