Share via

ADF Trigger Schedules

M, Pratibha 0 Reputation points
2026-06-17T11:27:24.01+00:00

Can we schedule the trigger for once in last working day of the month?

Azure Data Factory
Azure Data Factory

An Azure service for ingesting, preparing, and transforming data at scale.

0 comments No comments

Answer accepted by question author

Pilladi Padma Sai Manisha 10,110 Reputation points Microsoft External Staff Moderator
2026-06-18T06:40:37.89+00:00

Hi @M, Pratibha
Azure Data Factory does not natively support scheduling a trigger on the "last working day of the month". A Schedule Trigger can only be configured for the last calendar day of the month using monthDays: [-1].

If your requirement is the last working day (excluding weekends and/or holidays), a common approach is to:

  • Schedule the trigger to run on the last few days of the month (for example, 28–31), or on the last calendar day using monthDays: [-1].
  • Add logic within the pipeline to determine whether the current date is the last working day.
  • If holidays must also be considered, maintain a holiday calendar (for example, in a table or file) and validate against it before proceeding.

Therefore, this requirement cannot be achieved using an ADF Schedule Trigger configuration alone; additional pipeline logic is required.

Was this answer helpful?

2 people found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. Senthil kumar 685 Reputation points
    2026-06-17T11:39:07.1833333+00:00

    Hi @M, Pratibha

    In ADF Studio having option to trigger your pipelines. attached screenshot for your reference.

    User's image

    Thanks.

    Was this answer helpful?

    0 comments No comments

  2. AI answer

    2026-06-17T11:27:35.6933333+00:00

    Yes, but not directly as “last working day of the month” in one setting.

    Schedule triggers in Azure Data Factory support:

    • monthDays with negative values, for example:
        {"minutes":[0], "hours":[6], "monthDays":[-1]}
      
      This runs at 6:00 AM on the last calendar day of each month.
    • monthlyOccurrences for patterns like “last Friday of the month”, for example:
        {"monthlyOccurrences":[{"day":"friday", "occurrence":-1}]}
      
      This runs on the last Friday of every month at the specified start time.

    To approximate “last working day of the month”, configure a monthly schedule that matches the business rule, for example:

    • Last Friday of the month → use monthlyOccurrences with {"day":"friday", "occurrence":-1}.
    • Last calendar day of the month → use monthDays:[-1] and handle weekends/holidays inside the pipeline logic if needed.

    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.