Questions on Microsoft SystemOrchestrator 2022 Evaluation

Richard Johnston 0 Reputation points
2024-07-31T10:17:30.9566667+00:00

Good day everyone.

Please could you give me some advice on Microsoft System Orchestrator 2022 on a particular runbook.

  1. I have a File Monitor Run book which is pushing the logs to a Database and this is working fine but the log does not show the UserName of the user or System making the change. Is there any way of getting this info ? Can't see this in Event viewer as well.
  2. Then with this run book, it does not allow me to Run it with a Network share path or mapped drive root - Keeps reporting invalid syntax issues - Can this monitor network shares or only local data ? Have check around the manual and can't find much detail on this.

Our goal is to monitor our Network share for users who have been misplacing files in error and then the event gets lost after we found out what's happened.

Any guidance would be appreciated

Thanks

System Center Orchestrator
System Center Orchestrator
A family of System Center products that provide an automation platform for orchestrating and integrating both Microsoft and non-Microsoft IT tools.
229 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. XinGuo-MSFT 18,311 Reputation points
    2024-08-01T07:32:05.6233333+00:00

    Hi,

    Can't see this in Event viewer as well.

    Please try to Enable the System Event Audit Log

    To capture the username or system making changes, you might need to enhance your runbook to include additional activities that can fetch this information. Unfortunately, the default File Monitor activity does not capture user details.

    You can consider using PowerShell scripts within your runbook to query the file system for user information.

    Here’s a basic example of how you might do this:

    $path = "C:\path\to\your\file"
    $events = Get-WinEvent -FilterHashtable @{LogName='Security';ID=4663} | Where-Object { $_.Properties[6].Value -eq $path }
    foreach ($event in $events) {
        $user = $event.Properties[5].Value
        Write-Output "User: $user"
    }
    
    

    For your second issue with running the runbook using a Network share path or mapped drive root, it appears that the File Monitor activity in Orchestrator is designed to work with local paths. The example runbook for monitoring a folder specifies using local paths in the configuration. This might be why you are encountering syntax issues when trying to use network shares.

    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.