diff --git a/changelogs/fragments/214-fix-schedule-activestartdate.yml b/changelogs/fragments/214-fix-schedule-activestartdate.yml new file mode 100644 index 00000000..c8344ab0 --- /dev/null +++ b/changelogs/fragments/214-fix-schedule-activestartdate.yml @@ -0,0 +1,2 @@ +bugfixes: + - Add ActiveStartDate to the compare properties so this item is marked accurately as changed. diff --git a/plugins/modules/agent_job_schedule.ps1 b/plugins/modules/agent_job_schedule.ps1 index b73c6b44..62b22591 100644 --- a/plugins/modules/agent_job_schedule.ps1 +++ b/plugins/modules/agent_job_schedule.ps1 @@ -113,7 +113,7 @@ try { $compareProperty = @( "ActiveEndDate" "ActiveEndTimeOfDay" - "ActiveEndTimeOfDay" + "ActiveStartDate" "ActiveStartTimeOfDay" "Description" "FrequencyInterval"