error code 24200 details ADLS Gen2 operation failed for storage

Snv, Sudhir K 40 Reputation points
2023-10-23T17:56:03.2666667+00:00

LS in adf to adls Gen2 store.

Error code 24200 Details ADLS Gen2 operation failed for. Storage operation " on container "testconnection' get failed with 'Operation returned an invalid status code 'Forbidden".

Possible root causes: (1). It's possible because some IP address ranges of Azure Data Factory are not allowed by your Azure Storage firewall settings. Azure Data Factory IP ranges please refer https://learn.microsoft.com/en-us/azure/data-factory/azure-integration-runtime-ip-addresses.

 

I found few similier threads regarding on the same issue but here im not using managed identity for authentication. Please help me to resolve this issue?

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,651 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Bhargava-MSFT 31,261 Reputation points Microsoft Employee Moderator
    2023-10-25T19:47:03.3833333+00:00

    Thank you, Luis Arias

    In addition to Luis comment

    Snv, Sudhir K,

    To resolve the error, please create a new IR in a different region and whitelist the IPs

    also, enable the "allow trusted Microsoft services" option on the storage account firewall.

    I hope this helps. Please let us know if you have any further questions.

    1 person found this answer helpful.
    0 comments No comments

  2. Luis Arias 8,621 Reputation points Volunteer Moderator
    2023-10-23T20:22:31.65+00:00

    Hi Sudhir, Can you set up your storage firewall to "Enable for all networks" if this not solve the error It isn't a network problem.

    User's image

    Let me know.

    Cheers,

    Luis Arias


    If the information helped address your question, please Accept the answer.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.