I am trying to send a $context.logmessage from a condition script in a Scheduled Task but I get nothing in the log.
Is this not possible?
Morten A. Steien
It is possible to use the $Context.LogMessage method in conditions of a Scheduled Task. However, the message output by the method will not be present in the execution log of any action executed by the Scheduled Task. To see the message in the logs, you need to enable logging of the Execute scheduled task operation which is disabled by default, run the task and then check corresponding log records in the General log (log records for the Execute scheduled task operation are not displayed in the Activity History).
Thank you! That fixed my problem.
I have an ADP Sync scheduled task that modifies and creates users from a csv file. I also have reports that show new users created and management history for user ... ADP Sync scheduled task so that they only run after the ADP Sync task is complete?
I have a scheduled task that runs a Powershell script against an AD group, "Group 1". I need to get all of the members of Group 1, and add them to Group 2. The ... identity in the error message start with 'user;'? What is the correct way to accomplish this?
Is it possible to disable then re-enable a Business Rule from a Scheduled Task? For example, when the Scheduled tasks starts, it disables a Business Rule, runs the Task(s), then re-enables the Business Rule when done.
Hello, I have my OUs structured so each department we're working with has an OU for their service accounts under their department OU. e.g. OU=Service Accounts,OU=Sales,OU= ... add each new OU to the scheduled task but I was hoping for something more hands off.
We have an inactive user task which runs daily that disables accounts after 30 days of inactivity. We had an example yesterday of a user account which had been disabled ... Are you able to provide any explanation of how this could have happened? Regards Andy