Hi @Samyak ,
Thanks for posting query in Microsoft Q&A Platform.
You can use custom activity to do same. Click here to see documentation of same.
Kindly check below video also that gives better idea.
Azure Data Factory - Execute Python script from ADF
You can use copy activity directly in Azure data factory to perform your task. No need to python code actually. We need to create datasets for Source and sink locations and use them in copy activity. Please check below Copy activity documentation to get better idea.
https://learn.microsoft.com/en-us/azure/data-factory/copy-activity-overview
Hope this helps. Please let me know if any further queries.
-------
Please consider hitting Accept Answer
and Up-Vote
. Accepted answers help community as well.