Scope activity in ADF not able to access the ADLS shares path?

2021-03-11T12:38:04.693+00:00

I am utilizing ADF scope activity to submit scope script in ADLA account. Scope script consume/references few .dll(s) or views from other ADLS account which I am accessing through ADLA shares path but after job submission I am getting error, below is screenshot of error.

In order to verify that I have access to other ALDS account which I am accessing through shares path, I have submitted another script and that was running fine. Also I am working corp.microsoft.com network.

Can you please help me to know the reason and resolution of job failure while accessing dlls / views through other ADLS account?

Error scrrenshots:

76723-image.png

76764-image.png

Regards
Kulbhushan

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

2 answers

Sort by: Most helpful
  1. 2022-07-05T07:19:46.08+00:00

    This issue got resolved almost 7 months ago, now we are able to access shares path, views, dlls in ADLS.

    Steps:

    1. Enable ADFScopeSupport global parameter to true to start with Scope activity.
    2. Establish the linked services for ADLA and ADLS using service principal in ADF and make sure this service principals have all required ACLs permissions in ADLA and ALDS to access desired file and submit job in ADLA.
    3. When you try to pass any date parameter with "-" included in value, then Scope won't recognize it and throws error. To
      fix this make sure to replace "-" with "," in data parameter value.
      Example: start_date = "2022-05-07" // This won't work here. Probably, product team will provide fix soon.
      start_date = "2022,05,07" //This will work fine.
    4. Do not pass double slash in ADLS path.
      Example: /local/folder1**//**folder2/test.txt //This won't work here
      /local/folder1/folder2/test.txt //This will work fine
    1 person found this answer helpful.
    0 comments No comments

  2. MartinJaffer-MSFT 26,036 Reputation points
    2021-03-11T21:48:22.613+00:00

    @Kulbhushan Katoch (Tata Consultancy Services Ltd) Scope is an internal-only feature, so I cannot provide support here. I will message you on teams.

    0 comments No comments