ADF triggers failing after migrating to new resource group in same subscriptioin

VickyD 86 Reputation points
2025-06-06T15:05:59.92+00:00

Hi Team,

I have recently migrated some basic ADF pipelines with data flow activity which has source & sinck with minimal transformation (derived column).

Migration was successful. when i debug, they runs successful. However, when i trigger manually or triggers happen on schedule, it fails with an "internal error".

Please help me with inputs if you have come across with any similar issues.

Thanks,

Vikram

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

1 answer

Sort by: Most helpful
  1. Vinodh247 34,336 Reputation points MVP Volunteer Moderator
    2025-06-08T05:30:40.37+00:00

    Hi ,

    Thanks for reaching out to Microsoft Q&A.

    Guess certain resources and metadata behind the scenes might still be referencing the old resource group context, which can cause failures during trigger execution (but not during debug mode). Some of the possible findings and fix that can help.

    1. Linked Services Authorization (IR or Credential Reference)

    Even though debug works, triggered runs use the integration runtime (IR) in a different execution context. If your linked services (especially for source/sink) are using:

    • Managed identity
    • Key vault references
    • Self-hosted IR

    ...then check the permissions again after the migration.

    Fix:

    Revalidate and re-enter credentials in linked services.

    If Key Vault is used, ensure the ADF in the new resource group still has Get/List permissions on secrets.

    If Self-hosted IR is used, ensure the integration runtime is still properly registered and visible.


    1. Triggers Lost Link to Pipeline

    Sometimes, after migration, the JSON definition of the trigger might point to an invalid pipeline reference.

    Fix:

    Delete and recreate the trigger.

    Or re-associate the trigger with the pipeline in the UI and publish again.


    1. Pipeline Parameters / Variables not Set Properly by Trigger

    If your trigger is supplying parameters, they might be malformed or empty post-migration.

    Fix:

    Manually trigger with parameters and check values.

    Validate parameter bindings in the trigger definition.


    1. Data Flow Staging Issues

    For data flows, staging (especially with blob or ADLS) may silently fail if:

    The staging folder path is hardcoded and tied to the old resource group.

    The IR used during trigger execution does not have access to blob storage.

    Fix:

    Reconfigure staging linked service.

    Use dynamic parameters for folder paths instead of hardcoded paths.


    1. ADF Internal Caching Issue

    ADF service may still be caching old resource metadata for a short time.

    Fix:

    Try stopping and starting the triggers again.

    In some rare cases, you might need to publish from your development ADF again or even redeploy via ARM/Bicep to refresh all metadata.


    1. Check Trigger Logs for Details

    Go to Monitor > Trigger Runs, click on the failed run, and check the Output tab. It often has details like:

    Could not resolve linked service

    Access denied to a dataset

    IR not found

    This can give very specific insight.

    Please 'Upvote'(Thumbs-up) and 'Accept' as answer if the reply was helpful. This will be benefitting other community members who face the same issue.

    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.