403 Forbidden error for ADF job

J Rollins 1 Reputation point Microsoft Employee
2023-06-27T12:48:12.7966667+00:00

After running an ADF job, we see an error:

Operation on target InvoiceUnbilledAgingJob failed: Error While Downloading Script. Details: The remote server returned an error: (403) Forbidden.

Run ID: 2a66b34b-804b-4cf5-bdec-0650f9f744e4

Recently, the cluster (cp.prod.activityreports.c15.json) that the job is reading required PME credentials. I updated the adla two account to use PME credentials. I am seeking more information to debug this error.

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

1 answer

Sort by: Most helpful
  1. AnnuKumari-MSFT 34,561 Reputation points Microsoft Employee Moderator
    2023-06-28T17:08:27.1333333+00:00

    Hi J Rollins ,

    Welcome to Microsoft Q&A platform and thanks for posting your question here.

    It seems that you are getting 403 forbidden error while running an ADF pipeline. Could you please provide more details of what the pipeline is actually doing? It says "Error While Downloading Script"- do you know which script it is referring to in your pipeline?

    This might have occurred in case your IR is in same region as your blob storage/adls account and it is not allowing all networks to have the access permission.

    You could try to create the IR in different region than your blob storage and make sure to whitelist the IPs of that region.

    For more details, kindly watchout this video: The remote server returned an error 403 Forbidden SAS URI Azure Blob Storage Azure Data Factory

    More information here:

    Discover service tags by using downloadable JSON files

    Download Azure IP range for different regions of Azure public cloud

    Hope it helps. Please let us know how it goes. Thankyou


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.