Why unmanaged guest access is a critical risk for Australian organisations
When a project ends, does your organisation reliably remove the contractor's Azure AD guest account? In many enterprise Microsoft 365 tenants, a significant share of guest accounts go unreviewed for six months or more, quietly accumulating access long after the original engagement has ended. For Australian organisations, this is not merely a hygiene problem — it is a potential breach of the Privacy Act 1988 (OAIC — Privacy Act 1988, accessed 16 June 2026).
Australian Privacy Principle 11 (APP 11) (OAIC — Australian Privacy Principles guidelines, accessed 16 June 2026) requires entities to take reasonable steps to protect personal information from misuse, interference, and loss. The Office of the Australian Information Commissioner (OAIC) has confirmed in its guidance on data security that "reasonable steps" includes controlling who external parties are and what they can access. An unreviewed guest account belonging to a former supplier that retains read access to HR SharePoint libraries is a textbook APP 11 failure.
The Australian Cyber Security Centre (ACSC) reinforces this through the Information Security Manual (ISM) (ASD — Information Security Manual, accessed 16 June 2026). ISM Control 1611 requires that access for third parties is time-limited, formally approved, and reviewed regularly. Azure AD B2B provides the tooling to meet this control — but only when it is deliberately configured.
Where this fits: guest and external access is Pillar 3 of the broader framework in Auditing Entra ID for the Australian Privacy Act. Run the free Entra ID & Identity Assessment scorecard first to see how your guest-access controls score before you work through the steps below.
1. Understanding Azure AD B2B and where guest accounts come from
Azure AD B2B (Business-to-Business) allows your organisation to invite external users — contractors, partners, auditors, suppliers — to access resources in your Microsoft 365 tenant without requiring them to have an account in your directory. The guest signs in with their own identity (Microsoft account, Google, or another Azure AD tenant) and Azure AD issues them a guest token scoped to your tenant.
Guest accounts enter your tenant through several pathways:
- Direct admin invitation via the Entra admin centre or PowerShell
- SharePoint sharing links that auto-provision guest accounts
- Teams external access when a user is added to a channel
- Access packages provisioned through Entitlement Management
- Power Platform connectors that share data with external collaborators
According to Microsoft's Entra documentation, SharePoint-initiated guest provisioning is the most common source of ungoverned guest sprawl because it bypasses IT entirely when external sharing is enabled for all users.
2. Configuring External Collaboration Settings
The External Collaboration Settings blade in the Entra admin centre is the first control point. The ACSC recommends that organisations operating at Essential Eight Maturity Level 2 or above restrict guest invitations to administrators only.
Navigate to Entra admin centre > External Identities > External collaboration settings and apply the following baseline:
- Guest invite settings: Set to "Only users assigned to specific admin roles can invite guest users." This prevents any staff member from provisioning a guest account without approval.
- Guest user access: Set to "Guest users have limited access to properties and memberships of directory objects." This prevents guests from enumerating your full directory.
- Collaboration restrictions: Enable "Allow invitations only to the specified domains" and maintain an explicit allowlist of approved partner domains. The ACSC ISM Control 1401 requires that remote access (including external collaboration) is restricted to known and authorised sources.
These settings establish a perimeter — but they do not govern the lifecycle of guests already inside your tenant.
3. Entitlement Management for guest lifecycle governance
Microsoft Entra Entitlement Management (requires Azure AD Premium P2 or Entra ID Governance) provides the lifecycle automation that transforms guest access from ad-hoc to governed. According to Microsoft's Identity Governance documentation, access packages allow organisations to define exactly which resources a guest can access, require approval from a business owner, set a maximum access duration, and automatically trigger access reviews before expiry.
A practical guest access package for an external auditor engagement might look like:
- Resources included: Audit SharePoint site (read), Compliance Teams channel, Power BI compliance dashboard
- Approval required: Compliance Manager (single stage)
- Access duration: 90 days maximum
- Expiry behaviour: Access removed automatically; guest account disabled
This model directly satisfies ISM Control 1611 (time-limited third-party access) and produces an auditable record of who approved the access and when — the exact evidence an OAIC compliance review or Essential Eight assessment expects to see.
4. PowerShell examples for guest access auditing
Before implementing automated lifecycle controls, organisations must understand the current state of guest accounts. The following PowerShell examples use the Microsoft Graph PowerShell SDK.
Example 1: Identify inactive guest accounts
# Connect to Microsoft Graph with required scopes
Connect-MgGraph -Scopes "User.Read.All", "AuditLog.Read.All"
# Retrieve all guest users
$guests = Get-MgUser -Filter "userType eq 'Guest'" -All `
-Property "Id,DisplayName,Mail,UserPrincipalName,CreatedDateTime,SignInActivity"
# Flag guests with no sign-in in the last 90 days
$cutoff = (Get-Date).AddDays(-90)
$staleGuests = $guests | Where-Object {
$null -eq $_.SignInActivity.LastSignInDateTime -or
$_.SignInActivity.LastSignInDateTime -lt $cutoff
} | Select-Object Id, DisplayName, Mail, UserPrincipalName, CreatedDateTime,
@{N='LastSignIn'; E={ $_.SignInActivity.LastSignInDateTime }}
# Ensure the output directory exists before writing
$reportDir = "C:\Reports"
if (-not (Test-Path $reportDir)) { New-Item -Path $reportDir -ItemType Directory -Force | Out-Null }
# Export for review
$staleGuests | Export-Csv -Path "$reportDir\StaleGuests-$(Get-Date -Format yyyyMMdd).csv" `
-NoTypeInformation
Write-Host "Stale guest accounts found: $($staleGuests.Count)"
Example 2: Report guest group and Teams memberships
# For each stale guest, list their group memberships
# Note: guest UPNs are '...#EXT#@...' and Mail may be null, so query by Id
$reportDir = "C:\Reports"
if (-not (Test-Path $reportDir)) { New-Item -Path $reportDir -ItemType Directory -Force | Out-Null }
foreach ($guest in $staleGuests) {
$memberships = Get-MgUserMemberOf -UserId $guest.Id -All |
Select-Object -ExpandProperty AdditionalProperties |
Where-Object { $_.Keys -contains "displayName" } |
ForEach-Object { $_["displayName"] }
[PSCustomObject]@{
GuestDisplayName = $guest.DisplayName
GuestMail = $guest.Mail
LastSignIn = $guest.LastSignIn
GroupMemberships = ($memberships -join "; ")
}
} | Export-Csv -Path "$reportDir\GuestMemberships-$(Get-Date -Format yyyyMMdd).csv" `
-NoTypeInformation
Microsoft's Graph API documentation confirms that SignInActivity requires an Azure AD Premium P1 licence for the reporting tenant. These reports should be run monthly and the results reviewed by the identity governance team as part of the ISM Control 1404 recertification process.
5. Access reviews for external users
Microsoft Entra ID Governance access reviews allow resource owners — not IT — to periodically confirm that each guest still requires access. This is the operational mechanism that keeps Entitlement Management policies effective over time.
The ACSC ISM Control 1404 requires that user access privileges are reviewed at least annually for general accounts and quarterly for privileged accounts. For guest users with access to sensitive data, the ACSC recommends quarterly reviews.
Configure access reviews in Entra admin centre > Identity Governance > Access reviews > New access review:
- Review scope: All guest users in a specific group or all guests in the tenant
- Reviewers: Group owners (business owners know whether the relationship is still active)
- Frequency: Quarterly
- Duration: 21 days
- Upon completion: Automatically remove access for users not approved
- Apply results to: Immediately on completion
When a reviewer does not respond within the review period, the "apply results" setting determines the outcome. The ACSC recommends configuring the default decision to "Deny" — this ensures that silence revokes access rather than preserving it. Over successive review cycles, this deny-by-default posture steadily reduces the population of stale guest accounts that would otherwise persist unnoticed.
6. Conditional Access policies for guest users
Guest users present a unique Conditional Access challenge: their identity claims originate from their home tenant. A guest from a supplier organisation may present a device compliance claim, but your tenant cannot verify that claim unless you have explicitly configured Cross-Tenant Access Settings to trust the home tenant's device compliance signals.
The ACSC recommends a conservative baseline: require your own tenant's MFA satisfaction for all guests, regardless of what claims arrive from the home tenant. To make that satisfaction phishing-resistant, require a phishing-resistant method registered in your tenant — FIDO2 security keys, passkeys, certificate-based authentication, or Windows Hello for Business. Standard Microsoft Authenticator push and number-match prompts do not meet the phishing-resistant bar.
Create a dedicated Conditional Access policy for guest users:
- Users: All guest and external users (use the "Guest or external user" selector in assignments)
- Target resources: All cloud apps
- Grant controls: Require multi-factor authentication (satisfied in resource tenant), require compliant device OR require approved client app
- Session controls: Sign-in frequency set to 1 hour for guests accessing sensitive applications
For internal links to the zero-trust baseline that underpins these controls, see Azure AD Security Best Practices 2025 and Conditional Access Policies for Zero Trust.
Additionally, configure Cross-Tenant Access Settings > Outbound to restrict which of your users can be invited as guests into partner tenants, preventing accidental data exfiltration through reverse guest provisioning.
7. Blocking risky domains
The ASD Annual Cyber Threat Report 2024-25 identifies supply-chain compromise as a leading initial access vector for Australian organisations. An adversary who compromises your supplier's Azure AD tenant can use that trusted B2B relationship to deliver malicious content or move laterally into your environment.
Azure AD Cross-Tenant Access Settings provide domain-level allowlisting. Maintain an explicit list of approved partner domains and block all others. Review this list quarterly alongside your access reviews.
For high-risk scenarios, Microsoft Entra ID Protection can be configured to apply risk-based Conditional Access to guest users. When the home tenant signals indicate that the guest account is at risk (compromised credential, impossible travel), the policy can require step-up authentication or block access entirely. This requires Azure AD Premium P2 in your tenant.
8. ACSC guidance on third-party access and ISM alignment
The ACSC Information Security Manual addresses third-party access across several controls:
- ISM Control 1175: Organisations must ensure that third parties protect information assets to the same standard as the organisation itself.
- ISM Control 1401: Remote access to systems must be restricted to authorised users and devices.
- ISM Control 1404: User access to systems must be reviewed at planned intervals.
- ISM Control 1611: Access for third parties must be time-limited and subject to formal approval.
The guest access governance framework described in this article — Entitlement Management access packages with approval workflows, quarterly access reviews with deny-by-default outcomes, and dedicated Conditional Access policies for guests — maps directly to these four controls. An Essential Eight assessment conducted against Maturity Level 2 will test for evidence of each of these controls.
9. Privacy Act 1988 implications for sharing data with external partners
The Privacy Act 1988 and its Australian Privacy Principles create obligations that directly bear on guest access governance. The OAIC's "Guide to securing personal information" states that entities must consider who has access to personal information and implement controls to prevent unauthorised disclosure.
Three APPs are directly relevant:
- APP 6 (use or disclosure): Personal information must only be disclosed to third parties for the original purpose of collection or with consent. Granting a guest blanket access to SharePoint sites containing customer data without scoping the access to the specific project is a potential APP 6 breach.
- APP 11 (security of personal information): Entities must take reasonable steps to protect personal information. Documented guest governance — Entitlement Management policies, access reviews, Conditional Access — constitutes the technical "reasonable steps" evidence that would be assessed in an OAIC investigation.
- APP 8 (cross-border disclosure): If a guest user is located overseas, sharing personal information with them triggers cross-border disclosure obligations. The organisation must ensure the overseas recipient handles the information in accordance with the APPs or obtain consent.
For organisations subject to the Notifiable Data Breaches (NDB) scheme (OAIC — Notifiable Data Breaches scheme, accessed 16 June 2026), a compromised stale guest account that accesses personal information triggers notification obligations under Part IIIC of the Privacy Act. The OAIC's half-yearly Notifiable Data Breaches reporting consistently shows that malicious or criminal attacks, including account compromise, remain a leading cause of notifiable data breaches in Australia.
10. Before/After comparison
Before implementing guest access governance:
- Former contractor accounts persist in the directory for months or years after engagement ends
- SharePoint site owners have no mechanism to confirm whether guests still need access
- Guest users bypass Conditional Access policies designed for member users
- No audit trail exists to demonstrate "reasonable steps" under APP 11
- Identity teams discover stale guests reactively, during incidents or audits
After implementing guest access governance:
- Entitlement Management access packages provision guests with automatic expiry tied to contract end dates
- Quarterly access reviews notify resource owners and automatically remove unapproved guests
- A dedicated Conditional Access policy enforces phishing-resistant MFA for all guests
- PowerShell reports provide monthly visibility into guest activity and stale accounts
- Access package approval records and access review logs constitute auditable APP 11 evidence
11. Australian compliance alignment
Implementing the controls in this article positions Australian organisations across the following obligations:
ACSC Essential Eight: Essential Eight Control 5 (Restrict Administrative Privileges) and Control 7 (Multi-Factor Authentication) both apply to guest users. Maturity Level 2 requires that MFA is enforced for all users accessing internet-facing services, which explicitly includes B2B guests accessing Microsoft 365 applications.
ISM Controls: Controls 1175, 1401, 1404, and 1611 are satisfied by the combination of Entitlement Management, access reviews, and Conditional Access described above. The key evidence artefacts are: access package approval records, access review completion reports, and Conditional Access sign-in logs showing MFA enforcement for guests.
Privacy Act 1988: APP 6, APP 8, and APP 11 obligations are addressed through scoped access packages (limiting disclosure to the original purpose), Cross-Tenant Access Settings with domain allowlisting (reducing cross-border disclosure risk), and the quarterly review cycle (demonstrating reasonable steps to protect personal information).
Call to action
Unmanaged guest access is one of the most common findings in Microsoft 365 identity governance assessments of Australian organisations. The good news is that Azure AD provides all the controls required to govern it — Entitlement Management, access reviews, Cross-Tenant Access Settings, and Conditional Access — but they require deliberate configuration.
Next steps: Run the PowerShell stale guest report against your tenant today to understand the scope of the problem. Then book an Identity and Access Review to receive a structured assessment of your B2B governance posture against the ACSC ISM controls and Privacy Act 1988 obligations.
Sources referenced in this article: OAIC Privacy Act 1988, OAIC Australian Privacy Principles guidelines, OAIC Notifiable Data Breaches scheme, ASD Information Security Manual (ISM), ASD Annual Cyber Threat Report 2024-25, Microsoft Entra and Identity Governance documentation, OAIC Guide to securing personal information.


