Secure delegation and approval lets help desk staff, junior admins, and business users run defined IT tasks without holding the rights those tasks need. When an employee calls the help desk about a locked account, a help desk agent can sign in with their standard help desk account and unlock it using a form. A separate service identity holds the permission to unlock the account in Active Directory.
The same approach can work for a request that spans Active Directory, Entra ID, Exchange, and Microsoft 365. The decision for your IT team is which tasks the help desk, junior admins, or business users should be able to take on, and which of those tasks should wait for approval.
What Is Secure Delegation and Approval?
Secure delegation and approval means letting people run defined IT tasks without holding the rights those tasks need. Each task runs under its own protected identity. Roles determine who can request, approve, and start the task. If the task requires approval, the system waits for it before running anything.
This applies the principle of least privilege. Control AC-6 in NIST SP 800-53, Revision 5 limits users and the processes acting on their behalf to the access they need for their assigned tasks. A task running under a service identity is one way to apply that principle.
An account unlock as an example illustrates the five parts of a delegated task.
- Requester. The employee with the locked account asks for help.
- Task initiator. The help desk agent starts the unlock through a form or portal. In self-service, the requester can also be the initiator.
- Approver. For a task that requires approval, this person reviews the request and authorizes that run.
- Task identity. The task uses this account and its credential to unlock the employee’s account on the target system.
- Record. The record identifies the requester, the agent, and the task identity. It also shows what ran, which inputs it used, and who approved it if approval was required.
How Does Delegating a Task Differ From Granting Rights?
Both approaches use role-based access control (RBAC). With native RBAC, you can grant someone permissions in a system such as Active Directory or Exchange. Microsoft’s guidance on Entra roles recommends “a specific set of permissions, over a specific scope, for a specific period of time.” Its example is a regional help desk admin whose custom role allows password resets only for users in that region. An administrative unit defines the boundary.
Task delegation adds a second layer. Native RBAC limits what the task identity can do on each target system. The delegation layer determines who can start the task and whose approval it needs. Secure delegation and RBAC-controlled PowerShell automation describes two teams that used both layers.
Where Does Delegation by Rights Break Down?
People accumulate broad rights
In its Active Directory guidance, Microsoft says its assessments routinely find more accounts with elevated permissions than day-to-day work requires. In large installations, the most privileged groups may contain “hundreds or even thousands” of accounts. Microsoft describes granting broad privileges as “the path of least resistance.” One example is a help desk whose staff can reset passwords across a large set of accounts.
The New South Wales (NSW) Auditor-General found weaknesses in user access management in an August 2026 review of the state’s 26 largest agencies. The report says these weaknesses “expose 1 in 4 agencies to a heightened risk of cyber-attacks or fraud.” Among the findings were cases where agencies granted access without documenting the required approval.
Routine requests still reach the expert
At Hirslanden, a Swiss hospital group with 18 clinics, the on-duty help desk couldn’t handle some requests on its own. Staff called the SQL engineer at night and on weekends, according to ScriptRunner’s customer story.
Giving staff a self-service option doesn’t guarantee they’ll use it. For its State of Microsoft Automation 2026 benchmark, ScriptRunner surveyed 180 IT managers and senior system engineers at enterprises with at least 1,000 employees between October and December 2025 (State of Microsoft Automation 2026 key findings). Of those surveyed, 47% said their organizations had self-service automation that people weren’t actively using. Another 27% said most issues still went through the service desk.
Password issues alone can account for a sizable share of the queue. A January 2023 audit by the US Department of Housing and Urban Development’s inspector general examined 55,291 help desk tickets from March through June 2020. About one in five concerned passwords.
The system can run a task before anyone approves it
If approval is granted via a ticket or an email, the tool that runs the task needs to check that approval record. Otherwise, an agent could start the task before anyone signs off. An October 2024 NSW audit covering 26 agencies describes what happened at one department. Its service desk restored a user’s full system access “without seeking the required approval” from senior management. The auditor recommended refresher training for the service desk and found no evidence of wrongdoing by the user.
Shared accounts obscure who did the work
The 2024 NSW audit found deficiencies in privileged-account management at 35% of the agencies. One example was “generic accounts with full system access.” When several people use one account, its name in a log tells you little about which person performed an action. NIST control AC-2(9) asks organizations to consider that loss of accountability before permitting shared or group accounts.
Delegation can still leave staff with a privileged console
Handing someone a privileged account and a PowerShell console so they can run one script works against control ISM-1491 in Australia’s June 2026 Information Security Manual. The control calls for organizations to prevent unprivileged users from running script execution engines, including PowerShell.
Broad reset rights make the help desk a target
A joint advisory from the FBI, CISA, and their Australian, Canadian, and UK counterparts, updated in July 2025, describes how the criminal group Scattered Spider targets large companies and their contracted IT help desks. Its members impersonate employees to get passwords reset and move multifactor authentication (MFA) to devices they control. The broader an agent’s reset permissions, the more accounts a caller could try to take over.
In the UK, the independent Cyber Monitoring Centre examined possible abuse of help desk processes in the M&S and Co-op incidents. Its June 2025 assessment said initial access “is believed to involve social engineering, with reports suggesting compromised credentials and potential abuse of IT helpdesk processes.” It classified the two incidents together as a Category 2 systemic event and estimated their financial impact across affected parties at £270 million to £440 million.
What Changes When You Delegate the Task?
- Rights: each task runs under its own identity, scoped with native RBAC to what the task needs, and the person gets access to the task.
- Routine requests: help desk staff can complete a routine request without calling an expert. With self-service, the employee who raises the request can complete it as well. At Hirslanden, for example, HR staff can now manage MFA phone numbers for an HR application themselves.
- Approvals: a sensitive task waits until an approver releases it.
- Attribution: the run record can name the person who started the run and, where an approval is set, as well as the approver.
- Input: the help desk enters values in a form that checks them against the script’s rules.
- Misuse: if the help desk account has no other admin rights, someone who misuses it is limited to its delegated tasks and the inputs those forms allow. The help desk still needs a separate way to verify the caller’s identity.
How can help desk staff run PowerShell tasks without admin rights?
The agent can sign in as a standard domain user and supply the values a form asks for. The form checks those values against the script’s rules, an application of the input validation described in NIST control SI-10. The task identity holds the credential and the permissions on the target systems.
Microsoft’s Just Enough Administration (JEA) illustrates how this works on one machine. A virtual account or group-managed service account can “perform privileged actions on behalf of regular users.” Delegating PowerShell to non-IT teams safely compares three ways to hand a script to a team outside IT.
Which tasks need approval, and what does the approver authorize?
Set approvals on the tasks that need them. For a sensitive change, the approver authorizes one run with the inputs the requester supplied. The system that executes the task enforces the decision and can record who started and approved the run.
The US Government Accountability Office’s Federal Information System Controls Audit Manual (FISCAM), June 2026, for example, lists “initiating and approving transactions” as incompatible duties and calls for the system to enforce their separation. A per-run approval applies that principle to delegated IT work. Australia’s Information Security Manual likewise calls for organizations to validate requests for privileged access when first made and record who authorized the access. An effective means of implementing this involves establishing built-in approval gates for sensitive automations that hold a sensitive action until an approver releases it.
How do you separate requesting, approving, and running a task?
NIST control AC-5 asks organizations to identify and document which duties need to be separate. For a sensitive task, a second person approves the request that the requester submits. The task identity holds the rights needed to carry it out. Separating duties this way reduces the risk that one person acting alone can misuse those rights.
Small teams can’t always assign incompatible duties to different people. In those cases, FISCAM describes alternatives such as supervisory review of the work or later review of the relevant audit records.
Common Questions About Secure Delegation
Native tools let you delegate by role within each system. Microsoft’s Active Directory guidance acknowledges that manually created role-based controls “can be challenging to implement and maintain.” Its JEA documentation gives a specific example. When DNS runs on an Active Directory domain controller, giving DNS admins the administrative rights to fix the server can mean adding them to Domain Admins.
Isn’t JEA enough?
For a task on one machine, yes. You configure a JEA endpoint on that machine, restrict the commands a user can run, and use a virtual account or group-managed service account (gMSA) to run them. Microsoft’s JEA security guidance explains that JEA cannot restrict users who already have administrator privileges. With a gMSA, the actions of everyone using the endpoint appear under the same account. Only the session transcript traces an action back to an individual.
For a task that spans Active Directory and Exchange Online, you can manage delegation above the individual machine. The delegation layer can still call JEA endpoints on remote systems, as JEA least-privilege delegation with ScriptRunner shows.
Don’t Entra roles and PIM already cover the help desk?
Entra roles govern which permissions an agent can use in Entra ID. Those permissions can have consequences beyond the immediate task. Microsoft’s Helpdesk Administrator permissions reference points out that resetting someone’s password may allow the agent to assume that person’s identity and permissions.
Privileged Identity Management (PIM) can require approval before an eligible user activates an Entra role. Administrators can set the maximum activation time between one and 24 hours. That approval covers the role for a period of time. An onboarding request might need rights in Active Directory, Entra ID, Exchange, and Microsoft 365. You can keep the underlying roles and require one task-level approval for that onboarding run across all four systems.
Isn’t a service account a bigger target?
Yes. A task identity concentrates rights. A 2023 joint advisory from the NSA and CISA, based on red team, blue team, and incident response work in large organizations, identifies service accounts as attractive targets because they often hold elevated domain permissions. Limit each task identity’s rights with native RBAC. Use a gMSA where the target supports it, and keep credentials in a vault outside the scripts.
Won’t approvals slow everything down?
You can set approval per task. An account unlock or password reset usually needs no approval and can run as soon as the agent verifies the caller. For changes to privileged access, the wait for approval takes the place of an escalation to an expert.
Can we keep our existing scripts?
Yes. Most scripts can stay as they are. The delegation layer supplies the form, credentials, target, and access rules around each script. If a script contains hardcoded credentials or connection details, move those into the platform first.
What Does a Secure Delegation Model Need?
- Task-level roles. Assign roles through directory groups to control who can start each task and who can approve it.
- Task definitions. Bind each script to its parameters, credential, and target.
- Validated input forms. Build forms from the script’s parameters so the fields enforce its validation rules, as safe guided forms for delegated script execution do. Dropdowns can show only the choices a user is allowed to make. With cascading queries that scope delegated inputs, a choice in one field narrows the options in the next.
- Approval gates. For a task that needs approval, enforce it before execution and keep the decision in the run record.
- Protected identities. Run tasks under gMSAs or use credentials from a vault or password server.
- A record of each run. Capture who started the task, why, what it targeted, the parameters it used, and the result.
- IT service management (ITSM) integration. An ITSM system can start the task and receive its status.
How ScriptRunner fits
ScriptRunner helps Microsoft-centric IT Operations teams move from scattered scripts and manual execution toward centralized, policy-driven automation that can be governed, delegated, audited, and scaled across the organization. For delegated tasks in Microsoft IT, ScriptRunner acts as the control layer between the people who request a task and the systems it changes. Its unit of delegation is an Action, which brings together a script, its parameters, a credential, and a target. Teams assign roles and require approval for each Action through ScriptRunner delegation and approval.
ScriptRunner assigns four roles (main admin, admin, help desk, and end user) through access groups in Active Directory, Entra ID, or an OpenID Connect (OIDC) provider. Delegated users can keep standard domain accounts without admin rights on the targets. For Actions that need a second person’s approval, including workflow actions, ScriptRunner records the approval in the run report. It keeps reports for 365 days by default.
Credentials can come from the Windows Credential Store, Azure Key Vault, or a password server connector. ScriptRunner also supports gMSAs and JEA session configurations on remote targets. At Brose, for instance, an automotive supplier with 32,000 employees at about 70 locations, local IT admins use a dropdown that shows only the DNS records each person is allowed to see and edit.
What Do IT Teams Gain?
For admins and architects, the immediate benefit can be fewer calls for work the help desk or the requester can handle themselves. When someone asks about a change, the admin can check one record for the person who started it, the target, the inputs, and the result.
For IT leaders, the question is how much staff time that frees up. Brose reported saving about 4,000 hours in a year and a half, counting only the Actions it tracks. ScriptRunner’s Bechtle customer story reports 30% time savings for second- and third-level support at the IT services group, which has 70 IT system houses. The story gives no baseline for that figure. As Hirslanden’s head of ICT operations put it, “we must achieve more without adding people to the team.”
Delegation can also reduce the number of people with standing admin rights, leaving fewer privileged accounts to protect and review. Self-service delegation without privilege sprawl makes the case for scaling support without adding staff.
Common Use Cases in Microsoft IT
How Delegation Fits With Other Automation Work
Delegated tasks need a central place to run, with a shared script store, managed credentials, and defined targets. If your scripts still live on file shares and admin workstations, start with enterprise PowerShell automation for Microsoft IT. Once tasks are running centrally, automation governance and compliance for Microsoft IT can provide the evidence auditors need to see whether runs followed policy.
When several tasks need to run in order, IT orchestration and automation workflows for Microsoft IT connect them. Onboarding, for example, can start with an HR record and end with a mailbox. Each scheduler or automation tool also has its own access model. Automation tool consolidation for Microsoft IT reduces the number of places where you need to maintain delegation rules.
How to Introduce Self-Service Without Spreading Admin Rights
- List the routine requests that still reach your experts. Identify who holds admin rights solely to handle them.
- Start with tasks that have well-defined inputs, such as account unlocks, group membership changes, or mailbox permissions.
- Give each task its own identity. Use native RBAC to limit that identity to the rights the task needs.
- Decide who can start each task and which tasks need a separate approver. Set an approval gate on the sensitive ones.
- Give the help desk access first, then open suitable tasks to requesters through self-service.
- Remove the broad rights those tasks replace. Australia’s Information Security Manual calls for revalidating remaining privileged access at least every 12 months for government systems.
Adapt the sequence to your environment. After the first tasks go live, count how many requests people can now resolve without calling an expert and how many broad permissions you’ve removed. If your platform records how long each task takes by hand, you can also estimate the hours saved. Find out more on how ScriptRunner can help with delegation and approval here.

