title: Get all the related datasets, LS, pipelines, and resources related to a pipeline in Azure Data Factory
body: <p>I am trying to migrate a pipeline from a data factory with pipelines/ds/ls related to other pipelines. To do this, I want to find all the related ds/ls/resources to the pipeline that I want to migrate to a different data factory(differnet env). What would be the way to do so? Secondly, how would you do it using ARM Template in release pipelines?</p>