How to get count of activities in an ADF pipeline

Jha Priya Vijay Mamta (g) 21 Reputation points
2021-08-30T09:51:05.263+00:00

I have a use case wherein we need to identify the number of activities per pipeline.
We have more than 20 ADFs and within each ADF, we have more than 8 pipelines and currently we are having to check the count of activities manually as there was no REST API to get the Count of activities based on the below MSFT Docs.
https://learn.microsoft.com/en-us/powershell/module/az.datafactory/get-azdatafactory?view=azps-6.3.0.

So is manual verification the only way or are we missing something?

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

Accepted answer
  1. Nandan Hegde 36,146 Reputation points MVP Volunteer Moderator
    2021-08-30T12:19:23.443+00:00

    Hey,
    There is a custom powershell Module :
    Install-Module -Name AzDataFactoryV2Activities

    The below Blog :
    https://datasharkx.wordpress.com/2021/08/17/identifying-the-count-of-activities-within-a-pipeline-in-an-azure-data-factory/
    explains the scenario

    There is a parallel thread :
    https://stackoverflow.com/questions/68982130/how-to-get-count-of-activities-in-an-adf-pipeline

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

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.