Let's assume an auditor asks who changed the offboarding script three weeks ago. You can pull up the job that disabled a former employee’s account, that's easy. But can you find the edit that changed how the job worked?
If your team runs automation across Active Directory, Entra ID, Exchange, or Microsoft 365, start with the change history. A file’s last-modified date tells you when someone last saved it. On its own, however, that date can’t tell you who made the edit three weeks ago or what they changed.
Why does accountability get harder as automation scales?
A scheduled job usually leaves a trace in a job history, an event log, or a ticket. The script it ran may live on a file share, while the scheduler holds the target list and the account settings. As more people maintain those pieces, it gets harder for an engineer or admin to explain why a job behaved differently on a given day.
In its State of Microsoft Automation 2026 benchmark, ScriptRunner surveyed 180 IT professionals, mainly IT managers and senior system engineers at enterprises with at least 1,000 employees. Between October and December 2025, 72% reported that their organizations applied only some governance controls or had none in place. That figure measures governance overall. It leaves open how many teams could reconstruct a script change.
Florida’s Division of Retirement faced that question for application code. A January 2026 audit found that staff could change production code outside the normal release process, and that the servers kept only the latest change date for each file. The division couldn’t produce a system-generated list of all the code changes in the audit period. The Auditor General had reported a similar finding in September 2022.
The same gap can open up in a script folder. If someone edits a production script after its release, a ticket for the approved version tells you little about the copy that ran the next morning.
What does accountable automation look like?
Capture the run when the job executes and the change when someone edits the script or its settings. A run record should identify the script, who or what started it, the target, and the result. A change record should tell you who changed what and when.
Suppose an administrator switched the offboarding job to a different service account three weeks ago. The change entry should name the administrator, show the previous and new accounts, and give the time. The report for the next run should show who started the job and which target system it reached. Together, the two records show which account the job used from that day on. Account names are enough to trace the switch, so the record needs no passwords or tokens.
Germany’s Federal Office for Information Security (BSI) makes a similar distinction in its 2022 IT-Grundschutz Compendium. Its IT administration module says an organization must be able to establish which administrator performed a given activity. It also recommends documenting what changed, when, who made the change, and why.
Those records can also help teams show how they manage changes under NIS2 or ISO/IEC 27001. The EU implementing regulation covers specified providers, including cloud and managed service providers. It calls for logging access or changes to critical configuration and backup files where appropriate. In its June 2025 guidance, the EU Agency for Cybersecurity (ENISA) gives a practical example of evidence for each relevant change: a record of the steps taken and the result. For teams using ISO/IEC 27001:2022, Annex A control 8.32 addresses change management.
The last requirement is oversight. A record that only the script's owner can read doesn't help the security analyst who investigates an unexpected account change. Both records should reach the tools that operations and security already use, so that automation doesn't need a separate monitoring process. The same ENISA guidance lists security information and event management (SIEM) systems among its examples of evidence for monitoring and logging.
How should you test whether your automation is accountable?
Pick one production job that touches Active Directory or Exchange. Give someone on your team a few minutes to answer these questions from system records. Don’t call the person who wrote the script.
If your co-worker finds yesterday’s run but draws a blank on the edit from three weeks ago, you’ve learned where to look next. Check how an administrator can change the live script or its settings and whether that path leaves a record.
Where ScriptRunner fits
ScriptRunner runs PowerShell scripts as Actions. An Action links a script and its parameters to a target. The target settings specify the credential used for execution. ScriptRunner’s execution reports show who started a run, which target and parameters it used, its status, and its console output.
To investigate the edit from three weeks ago, start with the change history. ScriptRunner 8.2 tracks changes to Actions, targets, credentials, scripts, and queries. The history shows when an object changed and which settings were affected. Check the entry for the account that made the change.
The same records support oversight outside the operations team. With the SIEM & Observability Connector, main administrators can review executions, configuration changes, and access-related events in one chronological activity stream. ScriptRunner also sends those events via OpenTelemetry, an open standard, to an OpenTelemetry Collector that you run. The Collector forwards them to the SIEM you already use, such as Microsoft Sentinel, Splunk, or Elastic.
Your security team can then look up the offboarding run, and the change before it, next to the account activity it already investigates. That is the first step in giving your SIEM automation context, and it means automation doesn't need a separate monitoring process.
Where should you start?
Run the test this week on an offboarding job. If an entry from three weeks ago is missing, find out whether the system ever recorded the change. Then have a colleague retrieve the next subsequent change and the first run that followed it. Ask your security team whether the same run and change appear in the SIEM. Once they do, use these five PowerShell audit questions to check the rest of your automation. To see how ScriptRunner events reach your SIEM, visit the SIEM & Observability Connector page.

