Fixing "Forbidden" Error for Azure Data Factory Linked Service to Data Lake

Smaran Thoomu 33,180 Reputation points Microsoft External Staff Moderator
2024-07-31T10:51:30.36+00:00

What steps can I take to resolve a "Forbidden" error when my Azure Data Factory linked service fails to create a file in Azure Data Lake Storage?

PS - Based on common issues that we have seen from customers and other sources, we are posting these questions to help the Azure community.

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Smaran Thoomu 33,180 Reputation points Microsoft External Staff Moderator
    2024-07-31T11:00:23.8733333+00:00

    Greetings! The "Forbidden" error indicates permission or network access issues. The following steps can help resolve the issue: 

    1. Grant Permissions: The service principal or managed identity used by Azure Data Factory may lack the required permissions. Assign the Storage Blob Data Contributor role to the identity in your access control settings to grant the necessary permissions.
    2. Allow IP Addresses: Check that the IP addresses of your self-hosted integration runtime machines are allowed by your Azure Storage firewall settings. If using a proxy server, ensure that the proxy server's IP address is also allowed.
      User's image
    3. Configure Firewall Settings: Ensure your Azure Storage firewall settings are configured to permit access from the necessary IP addresses.

    For more detailed instructions on setting up permissions and configuring network settings, refer to the following documentation:

     Resources:

    Hope this helps. If you have any follow-up questions, please let me know. I would be happy to help.

    Please do not forget to "up-vote" wherever the information provided helps you, as this can be beneficial to other community members.

    0 comments No comments

Your answer

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