ADF Pipeline runs successfully but data doesn't show up

Rishabh Srivastava 60 Reputation points Microsoft Employee
2024-05-16T17:50:19.24+00:00

Hi team

Using Azure Data Factory pipeline using two web activity Source web is reading data from log analytics workspace w1 table t1 and I am passing the result of source web activity as request body of destination web activity then my destination web is writing aggregated data to log analytics workspace w1 table t2.

User's image

When I run debug its working fine and I can see data reading from source and writing to destination by running query in destination log analytics workspace however when I schedule the trigger on this pipeline to run every 15 mins to write aggregated data from source to destination pipeline run is successful as shown below
User's image

but response is empty from source web activity as shown below

User's image

Please help in resolving this.

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

1 answer

Sort by: Most helpful
  1. hossein jalilian 10,825 Reputation points Volunteer Moderator
    2024-05-16T18:03:45.96+00:00

    Hello Rishabh Srivastava,

    Thanks for posting your question in the Microsoft Q&A forum.

    it seems that the issue you're facing is related to the authentication or authorization of the Azure Data Factory pipeline when running on a scheduled trigger. when you run the pipeline in debug mode, the authentication and authorization context is likely different from when the pipeline runs on a scheduled trigger.

    • To ensure a successful connection to the Log Analytics workspace from the Source Web Activity, verify the authentication method being used. If you're using a managed identity, make sure it has the necessary permissions to read data from the Log Analytics workspace. For service principals or other authentication methods, confirm that the credentials or access tokens are valid and have the required permissions.
    • Grant the necessary permissions to the managed identity or service principal used by the Data Factory pipeline to read data from the Log Analytics workspace.
    • Ensure that the linked service is configured correctly with the appropriate authentication method and credentials.

    Please don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful

    1 person found this answer 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.