ADF generic error during copy activity from on prem .txt file to adls gen2

AzeemK 516 Reputation points

I am getting this pretty generic error during copy activy of .txt file from on prem file share to ADLS raw folder
not sure where to begin with this error

Error details
Error code
Troubleshooting guide
Failure type
User configuration issue
The property 'userid' in the payload cannot be null or empty.

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

Accepted answer
  1. KranthiPakala-MSFT 46,442 Reputation points Microsoft Employee

    Hi @AzeemK ,

    Thanks for using Microsoft Q&A forum and posting your query.

    By looking at the error message, the issue seems to be a configuration related issue. Could you please confirm if you were able to test your both linked service test connections successful?

    The error message says useid cannot be null or empty, by this I suspect that your userName value is not passed to FileServer linked service.

    Just in case if you have parameterized your linked service, please try to test it by hardcoded value to make sure configuration is correct and once the test is successful, then you can try parameterizing the properties as needed and do a final test to make sure parameterization configuration is correct and all the parameter values are being passed correctly.


    Here is an old thread where a similar error was discussed - ADF V2 creating a Generic Linked Service framework

    Hope this info helps. Do let us know how it goes or if you have further query.


    • Please don't forget to click on 130616-image.png and upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators
    0 comments No comments

0 additional answers

Sort by: Most helpful