Tuesday, December 8, 2015

Group Managed Service Accounts, Scheduled Tasks, Monthly Schedules



Not sure if this is a weird bug, or intended feature in windows….
 
You can automate the creation of non PowerShell defined scheduled task triggers (i.e. the first day or every month) with an XML file and register the task with that...however this scheduled task cannot run as a group managed service account.

You can only run scheduled tasks, as a group managed service account, with trigger parameters that are defined in PowerShell only..as a work around, run the task daily, and modify the PowerShell to check to see if it is the 1st of the month, and if not, to abort.