ID details in ADF Pipeline Logs

Nandan Hegde 35,191 Reputation points MVP Moderator
2023-10-06T06:58:19.7833333+00:00

Hello All,

Good day!

The Get Pipeline run REST API : https://learn.microsoft.com/en-us/rest/api/datafactory/pipeline-runs/get?tabs=HTTP

output has an ID value as seen below for invokvedby :

User's image

What does this ID refer to?

Based on MSFT docs:

User's image

But does it mean the ID of the user within the Azure AD or Object ID etc?

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

2 answers

Sort by: Most helpful
  1. Amira Bedhiafi 31,421 Reputation points Moderator
    2023-10-06T12:43:47.9733333+00:00

    I think but I am not sure in the context of "invokedby," it often relates to the identity of the entity that triggered or invoked the pipeline run, so it may be referring to the unique identifier associated with the entity. So logically, if the pipeline was triggered by a user, this ID would typically refer to that user's Object ID within Azure AD.

    0 comments No comments

  2. QuantumCache 20,356 Reputation points Moderator
    2023-10-09T22:39:30.2233333+00:00

    Hello @Nandan Hegde

    Your observation is correct, this InvokedBy ID changes for every run.

    As we track and identify each Pipeline run with it's unique RunID, simialrly we can track every Trigger Type with their own Run ID (Nothing but InvokedBy ID)

    Every Pipeline run has a unique Run ID, similarly every Trigger type has a unique Run ID, which we see inside the InvokedBy Object in the Response.

    This InvokedBy ID is not related to the user or the object in the tenant's AD! This ID is very specific to the Trigger Type.

    User's image

    As Said, The Tigger Runs history shows it's own RunID which is what we see in the InvokedBy object.

    User's image

    If we want to know which user has executed the Pipeline , then we have to look at the Activity Logs for that particular ADF. We saw the similar discussion in the past, hope you remember!

    I hope this clarifies your initial query. Let me know for further queries so that we can close this thread.

    0 comments No comments

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.