Home→Blog→Azure AD Privileged Identity Management: Just-In-T...
Azure Security

Azure AD Privileged Identity Management: Just-In-Time Admin Access for Australian Organisations

Learn how Azure AD PIM eliminates standing admin privileges with Just-In-Time access, approval workflows, and time-bound elevation aligned to ACSC Essential Eight Control 5.

Alpesh Nakar
Aug 7, 2026
8 min read
🇦🇺 Australian Context
📜 ACSC Essential Eight, ISM, PSPF

⚡TL;DR

  • •Standing admin privileges are the leading cause of privilege escalation attacks: replace them with Azure AD PIM Just-In-Time access immediately.
  • •PIM supports time-bound elevation — Microsoft permits activations up to a technical maximum of 24 hours, while organisations should select a shorter risk-based window — alongside configurable MFA, business justification and approval workflows.
  • •PIM can support the ACSC Essential Eight Restrict Administrative Privileges mitigation by reducing standing access and recording privileged activations; the maturity model does not mandate PIM or JIT access.
  • •Break-glass accounts must be excluded from all PIM policies but monitored continuously — the ACSC ISM mandates audit logging for all privileged account activity.
  • •Privileged Access Workstations (PAWs) combined with PIM provide a stronger administrative workflow and evidence for an Essential Eight assessment.

⚠️Technical guidance — please read

The PowerShell scripts and configuration samples in this article are provided as sample guidance only and were correct as at the date of publication (Aug 7, 2026). Microsoft frequently updates its products, services, cmdlets and interfaces, so verify current behaviour against official Microsoft documentation before relying on anything here. Always test in a non-production environment before deploying to production. EDUC4TE provides this guidance "as is", without warranty of any kind, and accepts no liability for any loss, damage or disruption arising from its use.

Why standing admin privileges are an unacceptable risk for Australian organisations

Standing administrative privileges create a high-impact attack path because a compromised active administrator role can be abused immediately. When an attacker obtains a Global Administrator session or credentials and satisfies the remaining sign-in controls, they can gain extensive control of the Microsoft 365 environment.

Microsoft's Digital Defence Report 2025 highlights that just-in-time (JIT) privileged access markedly reduces the exposure window for privilege abuse compared with permanent admin assignments, because elevated rights exist only for the brief period they are actively needed. Azure Active Directory (now Microsoft Entra ID) Privileged Identity Management (PIM) is the primary control that delivers this outcome for Microsoft environments.

For Australian organisations applying the ACSC Essential Eight, ISM controls or PSPF obligations, PIM is one Microsoft control that can reduce standing privilege and provide activation evidence. Whether it is required depends on the organisation's architecture, risk treatment and applicable control set.

Where this fits: PIM is Pillar 1 of the wider identity audit framework in Auditing Entra ID for the Australian Privacy Act. To benchmark your current privileged-access posture in five minutes, run the free Entra ID & Identity Assessment scorecard before you start.

1. Understanding Azure AD PIM and how Just-In-Time access works

Azure AD Privileged Identity Management is a service within Microsoft Entra ID that manages, controls, and monitors access to important resources. Rather than assigning roles permanently (standing access), PIM introduces the concept of eligible assignments: a user is eligible for a role but must explicitly activate it each time they need to perform administrative tasks.

According to Microsoft's PIM deployment documentation, the activation workflow operates as follows:

  • The user navigates to the Entra ID portal or Microsoft Entra admin centre and requests role activation
  • PIM enforces configured requirements before granting access — which may include MFA verification, a written business justification, a ticket number, and approval by a designated approver
  • Once approved (or auto-approved for lower-sensitivity roles), the role activates for a defined period — typically 1 to 8 hours
  • At expiry, the role automatically deactivates; the user holds no lingering privileges
  • All activation requests, approvals, denials, and deactivations are written to the Microsoft Entra audit log

This architecture means that even if an attacker compromises the credentials of a privileged user, they cannot exploit admin rights without also defeating the MFA and approval controls configured in PIM.

2. Choosing a risk-based activation window

Microsoft PIM permits activations of up to 24 hours (Microsoft Learn — Configure Microsoft Entra role settings in Privileged Identity Management, accessed 28 October 2026). The current ACSC Essential Eight maturity model and ISM do not prescribe an eight-hour PIM window. Organisations should choose and document the shortest practical duration for each role after considering the task, risk, approval delay and recovery process. ISM-1175 concerns preventing privileged user accounts from accessing internet, email and web services; it is not a session-duration control.

Australian government and regulated-sector organisations should configure the following maximum durations as a baseline:

  • Global Administrator: 4 hours maximum
  • Privileged Role Administrator: 4 hours maximum
  • Exchange Administrator: 4 hours maximum
  • SharePoint Administrator: 8 hours maximum
  • Security Administrator: 8 hours maximum
  • Service Desk roles: 8 hours maximum

Restricting duration to 8 hours or fewer ensures that a session compromised late in its lifecycle expires rapidly and cannot be sustained beyond a business working day, limiting the blast radius of any credential compromise.

3. Configuring PIM role settings: approval, MFA, and justification

The PIM role settings page is where organisations define the controls that govern activation for each role. According to Microsoft's PIM deployment planning guide, security teams should configure the following settings for all sensitive Entra ID roles.

Activation controls to enforce:

  • Require Azure MFA on activation (mandatory for all roles)
  • Require justification on activation — the user must supply a business reason
  • Require ticket information for high-sensitivity roles (Global Administrator, Privileged Role Administrator)
  • Set maximum activation duration to 4–8 hours depending on role sensitivity
  • Enable approval for activation of Global Administrator, Privileged Role Administrator, and any role that can modify security policies

Assignment controls:

  • Allow permanent eligibility for IT staff who regularly need privileged access, but never allow permanent active assignments
  • Set eligibility expiry to 12 months, requiring annual review via Microsoft Entra access reviews

Notification controls:

  • Configure email alerts to the security team for every Global Administrator activation
  • Alert on activations outside business hours

4. PowerShell configuration examples

The following PowerShell examples use the Microsoft Graph PowerShell SDK to configure PIM programmatically — essential for organisations that need to deploy consistent settings across multiple tenants or automate configuration as code.

Example 1: Assign a user as eligible for Global Administrator via PIM

# Connect to Microsoft Graph with required scopes
Connect-MgGraph -Scopes "RoleManagement.ReadWrite.Directory", "Directory.ReadWrite.All"

# Get the Global Administrator role definition ID
$globalAdminRole = Get-MgRoleManagementDirectoryRoleDefinition |
    Where-Object { $_.DisplayName -eq "Global Administrator" }

# Assign eligible role to a user (replace with actual object IDs)
$params = @{
    action            = "adminAssign"
    justification     = "Assigning eligible Global Admin role per PIM deployment plan"
    principalId       = "<user-object-id>"
    roleDefinitionId  = $globalAdminRole.Id
    directoryScopeId  = "/"
    scheduleInfo      = @{
        startDateTime = (Get-Date).ToUniversalTime().ToString("o")
        expiration    = @{
            type = "afterDateTime"
            # Eligible for 12 months, then requires access review renewal
            endDateTime = (Get-Date).AddDays(365).ToUniversalTime().ToString("o")
        }
    }
}

New-MgRoleManagementDirectoryRoleEligibilityScheduleRequest -BodyParameter $params
Write-Host "Eligible assignment created successfully."

Example 2: User self-activates an eligible role with justification and ticket

# User activates their eligible Global Administrator role for 4 hours
$activationParams = @{
    action           = "SelfActivate"
    principalId      = "<user-object-id>"
    roleDefinitionId = "<global-admin-role-definition-id>"
    directoryScopeId = "/"
    justification    = "Emergency configuration change: Ticket INC-20260428-001"
    scheduleInfo     = @{
        startDateTime = (Get-Date).ToUniversalTime().ToString("o")
        expiration    = @{
            type     = "AfterDuration"
            duration = "PT4H"    # 4-hour maximum activation
        }
    }
    ticketInfo       = @{
        ticketNumber = "INC-20260428-001"
        ticketSystem = "ServiceNow"
    }
}

New-MgRoleManagementDirectoryRoleAssignmentScheduleRequest -BodyParameter $activationParams |
    Format-List Id, Status, Action, RoleDefinitionId, PrincipalId, CompletedDateTime

Example 3: Update PIM role policy to enforce MFA and justification on activation

# Retrieve the policy ID for Global Administrator
$policyAssignment = Get-MgPolicyRoleManagementPolicyAssignment -Filter `
    "scopeId eq '/' and scopeType eq 'DirectoryRole' and roleDefinitionId eq '<global-admin-role-id>'"

$policyId = $policyAssignment.PolicyId

# Update the enablement rule to require MFA, justification, and ticketing on activation
$enablementRuleParams = @{
    "@odata.type" = "#microsoft.graph.unifiedRoleManagementPolicyEnablementRule"
    id            = "Enablement_EndUser_Assignment"
    enabledRules  = @(
        "MultiFactorAuthentication"
        "Justification"
        "Ticketing"
    )
    target = @{
        "@odata.type"        = "microsoft.graph.unifiedRoleManagementPolicyRuleTarget"
        caller               = "EndUser"
        operations           = @("All")
        level                = "Assignment"
        inheritableSettings  = @()
        enforcedSettings     = @()
    }
}

Update-MgPolicyRoleManagementPolicyRule `
    -UnifiedRoleManagementPolicyId $policyId `
    -UnifiedRoleManagementPolicyRuleId "Enablement_EndUser_Assignment" `
    -BodyParameter $enablementRuleParams

Write-Host "PIM policy updated: MFA, Justification, and Ticketing required for activation."

Example 4: Export PIM activation audit log for ACSC evidence collection

# Export last 90 days of PIM activation events for evidence collection
$startDate = (Get-Date).AddDays(-90).ToUniversalTime().ToString("o")

$auditLogs = Get-MgAuditLogDirectoryAudit -Filter `
    "activityDisplayName eq 'Add member to role completed (PIM activation)' and activityDateTime ge $startDate" `
    -All

$auditLogs | Select-Object ActivityDateTime, InitiatedBy, TargetResources, Result |
    Export-Csv -Path "PIM-Activations-$(Get-Date -Format yyyyMMdd).csv" -NoTypeInformation

Write-Host "Exported $($auditLogs.Count) PIM activation events to CSV."

5. Break-glass accounts: the essential safety net

Break-glass accounts (also called emergency access accounts) are a critical complement to PIM. Microsoft recommends emergency access accounts that minimise dependencies on the normal identity and authentication path. ISM-1175 is about preventing privileged user accounts from accessing internet, email and web services; it does not define emergency-access procedures.

Break-glass accounts must be configured as follows:

  • Assigned permanent active Global Administrator rights — not eligible PIM assignments
  • Excluded from Conditional Access policies that could block emergency access, with compensating strong authentication and monitoring designed for the emergency path
  • Never enrolled in PIM eligibility
  • Protected by a strong authentication method whose dependencies differ from the normal administrator path, with recovery material handled under the organisation's credential policy
  • Monitored with an alert rule that fires immediately on any sign-in

Microsoft recommends maintaining at least two cloud-only emergency access accounts and monitoring every sign-in. Their authentication methods and operational dependencies should be reviewed against the failure scenarios the accounts are intended to survive.

The Identity and Access Review assessment offered by Educ4te includes a dedicated break-glass account validation step that checks exclusion policies, sign-in activity, and password age.

6. Privileged Access Workstations (PAWs) for Maturity Level 3

Privileged Access Workstations are dedicated, hardened devices used exclusively for administrative tasks. According to Microsoft's security documentation, PAWs protect against credential theft attacks (including pass-the-hash and pass-the-ticket) that target administrators working from general-purpose workstations.

For ACSC Essential Eight Maturity Level 3 under Control 5, organisations must ensure that:

  • Privileged accounts are only used from approved, hardened devices
  • General-purpose browsing, email, and productivity tasks are performed on separate standard user devices
  • PAWs are enrolled in Microsoft Intune with a hardened compliance policy that enforces BitLocker, UEFI Secure Boot, and endpoint detection

Combining PAW enforcement with PIM creates a two-layer control: the user must be on an approved device (PAW compliance policy via Conditional Access) and must complete the PIM activation workflow before any admin role is active. This dual requirement aligns with the ACSC's Maturity Level 3 expectation that privileged access to systems be performed only from a secured privileged access workstation.

7. ACSC Essential Eight Control 5 alignment across maturity levels

The Essential Eight Restrict Administrative Privileges mitigation covers more than role activation. The following implementation pattern shows where PIM can contribute; it is not a compliance mapping or a substitute for assessing the full maturity model.

Foundation:

  • Limit the number of active privileged accounts by converting standing assignments to eligible assignments in PIM
  • Disable or remove administrative rights for accounts that do not require them
  • Ensure all privileged accounts are separate from standard user accounts

Stronger activation governance:

  • Enable PIM Just-In-Time activation with MFA enforcement for all Entra ID roles
  • Require business justification on every activation
  • Configure approval workflows for Global Administrator and Privileged Role Administrator
  • Maintain PIM audit logs and review them monthly
  • Conduct quarterly access reviews using Microsoft Entra Access Reviews

Hardened privileged administration:

  • Deploy Privileged Access Workstations and enforce PAW compliance via Conditional Access
  • Require phishing-resistant MFA (FIDO2 hardware security keys) for all privileged activations
  • Implement time-bound eligibility with annual review (no permanent eligibility)
  • Enable PIM for Azure resource roles (not just Entra ID roles) to cover subscription-level permissions
  • Integrate PIM activation alerts with a SIEM for real-time anomaly detection

The ACSC guidance is technology-neutral and does not explicitly require Microsoft Entra PIM. An assessor may examine PIM role settings, activation logs and access-review records where an organisation uses PIM as part of its implementation.

8. Collecting evidence for ACSC assessments

Evidence should show that the organisation's privileged-access controls operate as designed, not merely that PIM is configured. The following artefacts are useful inputs for an Essential Eight assessment; the assessor determines whether they are sufficient against the applicable criteria.

Artefact 1 — PIM Role Settings screenshots Export or screenshot the role settings for each sensitive role (Global Administrator, Privileged Role Administrator, Security Administrator) showing: maximum activation duration, MFA requirement, justification requirement, and approval configuration.

Artefact 2 — PIM activation audit log export A 90-day export of PIM activation events in CSV or JSON format, showing that activations are occurring (i.e., the control is in use) rather than just configured. Use the PowerShell example in Section 4 above to generate this export.

Artefact 3 — Eligible versus active assignment register A current export of all Entra ID role assignments distinguishing between permanent active assignments (should be break-glass accounts only) and eligible assignments (all other privileged accounts). This register demonstrates that no standing privileges exist beyond the break-glass accounts.

Artefact 4 — Access review completion records Microsoft Entra Access Reviews generate completion reports showing which accounts were reviewed, by whom, and what action was taken (confirmed, denied, or expired). Set the review frequency from the organisation's control requirements and risk treatment; a quarterly cycle is a practical baseline rather than a universal ISM requirement.

Artefact 5 — Break-glass account monitoring alert configuration Export of the alert rule (Microsoft Sentinel or Azure Monitor) that fires on any break-glass account sign-in, demonstrating that emergency account use is detected immediately.

9. Before and after: standing privileges vs PIM Just-In-Time access

Before PIM (standing privileges):

  • 15 accounts permanently hold Global Administrator rights across the Microsoft 365 tenant
  • An attacker who compromises any one credential immediately gains full tenant control
  • There is no record of when admin rights were actually used versus when they were merely assigned
  • Audit logs show admin accounts making changes but cannot confirm the changes were authorised
  • Quarterly access reviews are manual spreadsheet exercises with low completion rates

After PIM (Just-In-Time access):

  • Zero accounts hold standing Global Administrator rights (except two monitored break-glass accounts)
  • Every activation requires MFA and a business justification, with high-sensitivity roles requiring explicit approver sign-off
  • Audit logs capture each activation request, the justification provided, the approver decision, and the exact duration of elevated access
  • Time-bound access ensures admin rights expire within 4 to 8 hours, eliminating persistent privilege windows
  • Microsoft Entra Access Reviews automate the quarterly review process, with completion reports generated automatically

Reducing standing privileged access and using just-in-time elevation shrinks the period in which compromised administrator credentials carry an active role. For Australian organisations undergoing ACSC assessments, PIM can be a valuable part of the Microsoft identity control set when it is combined with the other required administrative restrictions.

Call to action

Azure AD Privileged Identity Management can reduce standing administrative access and provide useful evidence within a broader Essential Eight implementation. Organisations should map PIM, separate privileged accounts, secured administrative devices, authentication, access restrictions and logging to the current maturity model and any PSPF obligations that apply to them.

The practical steps are clear: audit your current privileged role assignments using the PowerShell examples above, convert standing assignments to PIM-eligible assignments, configure approval and MFA controls, deploy break-glass accounts, and collect the evidence artefacts your assessors will require.

For a structured review of your current identity and access posture — including PIM configuration, conditional access alignment, and break-glass account validation — book an Identity and Access Review with Educ4te. Our assessors follow the ACSC Essential Eight Assessment Process Guide and deliver a prioritised remediation plan mapped to your current maturity level.

Enrol in the Microsoft 365 Security Training course to build your team's capability to manage PIM, Conditional Access, and the broader Microsoft identity security stack — essential knowledge for Australian organisations progressing through the Essential Eight maturity levels.

Sources referenced in this article: ACSC Essential Eight Maturity Model, ACSC Essential Eight Assessment Process Guide, ACSC Information Security Manual (ISM), ASD Annual Cyber Threat Report 2024-25, Microsoft Digital Defence Report 2025, Microsoft Learn — Configure Microsoft Entra role settings in Privileged Identity Management, Microsoft PIM deployment documentation, Microsoft security documentation on Privileged Access Workstations.

Assess Your Maturity

Understand where your organisation stands on the Essential Eight maturity model and identify priority controls.

Train Your Team

Hands-on Essential Eight fundamentals course for security teams, architects, and IT leaders.

Frequently Asked Questions

Questions security teams commonly ask about Essential Eight implementation.

Ready to Move from Level 1 to Level 2+?

Start your 12-month Essential Eight maturity journey with expert guidance and practical roadmaps.

Read Next

Continue exploring security insights and best practices

Azure Security
Aug 14, 2026
8 min read

Unmanaged guest access is a leading cause of data exposure in Microsoft 365. This guide covers configuring external collaboration settings, Entitlement Management, access reviews, and Conditional Access for B2B guests in Australia.

ACSC Essential Eight
Jun 25, 2026
11 min read

A practical step-by-step guide for Australian organisations to align Microsoft 365 Copilot deployments with the ACSC Essential Eight controls and achieve demonstrable compliance.

ACSC Essential Eight
May 20, 2026
9 min read

Learn how to implement the Active Directory Tier Model to meet ACSC Essential Eight ML2 requirements, with practical steps for Australian organisations.