B BROCENT Get a quote
Cybersecurity

Entra ID Security Audit: Privileged Roles, Stale Accounts and Guest Users

Entra ID security audit in three passes: privileged roles and Global Admin count, stale accounts by last sign-in, and guest user settings. Checked 11 Nov 2026.

Four office professionals standing together in a meeting room
The short version: An Entra ID security audit checks three things that drift in every Microsoft 365 tenant: who holds privileged roles (Microsoft recommends fewer than five Global Administrators and fewer than ten privileged role assignments), which accounts have not signed in for 90 to 180 days, and what guest users can see and who can invite them. You can run all three passes yourself in the Entra admin centre in an afternoon; the findings tell you what to remove, not what to buy.

Entra ID (formerly Azure Active Directory) is the front door of a Microsoft 365 tenant. Every mailbox, SharePoint site and Teams chat sits behind it, so the people and accounts it trusts matter more than almost any other setting. The trouble is that identity drifts quietly. A consultant gets Global Administrator for a migration and keeps it. A leaver's account is blocked but never removed from a role. A supplier invited to one Teams channel in 2023 still has a guest account today.

This guide is the step-by-step version of our explainer on Microsoft 365 and Entra ID security audits. It walks through the three passes we run on every tenant, with the thresholds Microsoft itself publishes. If you would rather have an independent reviewer do this as part of a full CIS Benchmark review, the fixed prices are on the Microsoft 365 Security Audit pricing page.

The Microsoft Learn pages cited below were read on 11 November 2026. Menu names in the Entra admin centre change from time to time; where they do, the setting names usually stay the same.

What does an Entra ID security audit check?

A focused Entra ID audit answers three questions:

  1. Privileged roles. Who can change the tenant, and do they need to? This covers Global Administrator and the other roles Microsoft labels PRIVILEGED.
  2. Stale accounts. Which enabled accounts have not been used for months, and why do they still exist?
  3. Guest users. Which outside people have accounts in your directory, what can they see, and who in your organisation can invite more?

A full tenant audit adds sign-in protection (MFA coverage, Conditional Access, legacy authentication), app consent and device controls. Those are separate passes with their own guides, such as our MFA gap report and the Conditional Access baseline policies. This article stays with the three identity questions above because they are where small tenants most often carry risk they did not know they had.

What you need before you start

  • An account with a read role. Global Reader sees almost everything in this guide without being able to change it. Reports Reader is the least privileged role Microsoft lists for reading sign-in activity.
  • Your licence level. Some answers need Microsoft Entra ID P1 or P2; we say where. Check which Entra tier your Microsoft 365 plan includes before you start.
  • A list of current staff from HR or payroll. Every finding in the stale-account pass ends with a comparison against that list.

How many Global Administrators should a tenant have?

Fewer than five. Microsoft's page "Best practices for Microsoft Entra roles" (dated 1 June 2026) says it recommends assigning Global Administrator to "fewer than five" people, and the Entra Overview page shows a Global Administrators alert card when there are five or more. The same page recommends two cloud-only emergency access accounts permanently assigned the role. Our guide to break-glass emergency access accounts covers how those should be set up and tested.

In practice, a 20-person firm needs two or three named Global Administrators plus the two emergency accounts. Anything above that is a finding, and the usual causes are easy to spot: the person who first signed up for Microsoft 365, a former IT provider, a finance manager who needed to buy licences once, and service accounts created by migration tools.

Privileged role assignments: the fewer-than-ten rule

Global Administrator is not the only role that can take over a tenant. Other roles, such as Privileged Role Administrator and Privileged Authentication Administrator, include permissions that can lead to elevation of privilege, for example the ability to update credentials. Microsoft marks these with a PRIVILEGED label and recommends keeping privileged role assignments to "fewer than 10"; above that, a warning appears on the Roles and administrators page.

How do you review privileged roles in Entra ID?

Work through the roles in this order:

  1. In the Entra admin centre, open Entra ID > Roles & admins > All roles and sort or filter for roles with the PRIVILEGED label.
  2. For each role with members, list the assignments. Note whether each is a user, a group or a service principal, and whether it is active or eligible (eligible assignments exist only if you use Privileged Identity Management).
  3. For every named person, write down why they need the role. "They might need it one day" is not a reason. Microsoft's least-privilege guidance and its "Least privileged role by task" page help you find a narrower role: a person who only resets staff passwords needs a helpdesk-level role, not Global Administrator.
  4. Check that privileged accounts are cloud-only. Microsoft's best-practice page says to avoid on-premises synchronised accounts for Entra role assignments, because a compromised on-premises account would then compromise the cloud tenant too.
  5. Check how each privileged account signs in. Every one should be covered by phishing-resistant MFA. Our cyber insurance MFA requirements guide explains what insurers usually ask about MFA.
  6. Look for service principals and app registrations holding directory roles. Migration and backup tools sometimes keep Global Administrator long after the project ends. Our article on read-only Graph app permissions shows what a narrowly scoped app looks like by comparison.

Should you use Privileged Identity Management?

If your licence includes it, yes. Privileged Identity Management (PIM) makes a role eligible instead of permanently active: the administrator activates it for a limited time when needed, optionally with approval and a notification. Microsoft recommends PIM, and its best-practice page notes that PIM requires Microsoft Entra ID P2 or Microsoft Entra ID Governance. Many small tenants have P1 rather than P2, so the realistic control there is fewer standing assignments and a documented review every quarter.

Access reviews, which automate that periodic check, require Microsoft Entra ID Governance or Microsoft Entra Suite according to the same page (some capabilities work with P2). Without them, a spreadsheet review signed off by the business owner is a perfectly acceptable substitute.

How do you find stale accounts in Microsoft 365?

There is no built-in "inactive users" report. Microsoft's page "How to manage inactive user accounts" says so plainly and gives two methods: a column in the users list, or a Microsoft Graph query on the sign-in activity property.

In the admin centre:

  1. Sign in as at least Reports Reader and open Entra ID > Users.
  2. Choose Manage view > Edit columns, add Last interactive sign-in time and save.
  3. Add a filter on that column with the operator less than or equal to and a date 90 days ago.

With Microsoft Graph: the signInActivity property on each user holds lastSignInDateTime (last interactive attempt, including failures), lastNonInteractiveSignInDateTime and lastSuccessfulSignInDateTime. Microsoft notes that reading lastSuccessfulSignInDateTime through Graph needs an Entra ID P1 or P2 licence, and that the property is not returned unless you select or filter on it. The last sign-in value can take up to 24 hours to update.

What counts as stale?

Microsoft's page says that "in many organizations, a reasonable window for inactive user accounts is between 90 and 180 days". We use 90 days for members and privileged accounts and 180 days as the outer limit for anything else. Two cautions:

  • A blank value does not always mean "never used". Microsoft says it can be blank if the last sign-in was before April 2020 or if the account was never used to sign in.
  • Shared mailboxes, room mailboxes and some service accounts never sign in interactively. Check lastNonInteractiveSignInDateTime before you disable something an application relies on.

What to do with each stale account

Sort the results into four groups and act on each:

  • Leavers. Match against the HR list. Remove licences and roles, convert the mailbox if it must be kept, then delete. Our offboarding and access revocation story shows the order of steps.
  • Long-term absence. Block sign-in and note a review date.
  • Service accounts. Name an owner, check whether they need a role at all, and exclude them from future stale reports only once documented.
  • Unknown. Block sign-in for two weeks. If nobody complains, delete.

A stale account that still holds a privileged role is the most serious finding in this pass. It combines broad power with nobody watching.

How do you audit guest users in Entra ID?

Guest accounts are created whenever someone shares a file, a Team or a SharePoint site with a person outside the organisation. They are useful, and they accumulate. A guest audit has three parts.

Step 1: List the guests and their last activity

In Entra ID > Users, filter on User type = Guest, add the last sign-in column as above and export. Microsoft points to a separate page, "Monitor and clean up stale guest accounts", for the guest version of this exercise. For each guest, record who invited them, which Teams or sites they belong to, and when they last signed in. Guests who have not signed in for 90 days, or whose project has ended, are candidates for removal.

Step 2: Check what guests can see

Under Entra ID > External Identities > External collaboration settings, the Guest user access setting has three options, according to Microsoft's page on configuring external collaboration (dated 24 April 2026):

  • Guest users have the same access as members (most inclusive).
  • Guest users have limited access to properties and memberships of directory objects, which is the default. Guests cannot enumerate users and groups, but they can see the membership of all non-hidden groups.
  • Guest user access is restricted to properties and memberships of their own directory objects (most restrictive). Guests can see only their own profile.

If the setting is on "same access as members", that is a finding. Most small firms can move to the most restrictive option without anyone noticing.

Step 3: Check who can invite guests

The Guest invite settings offer four levels, from "anyone in the organization can invite guest users including guests and non-admins (most inclusive)" down to "no one in the organization can invite guest users including admins (most restrictive)". Microsoft states that by default all users, including B2B guests, can invite external users. For a small firm, "member users and users assigned to specific admin roles" is a sensible middle setting: staff can still collaborate, but guests cannot invite other guests. The Collaboration restrictions setting on the same page lets you allow or block invitations to named domains, and cross-tenant access settings control collaboration with other Microsoft Entra organisations.

Guest settings in Entra only cover the directory side. Sharing links in SharePoint and OneDrive have their own controls, which a full audit checks separately. If you are preparing for Copilot, our post on Copilot oversharing readiness explains why that matters now.

Entra ID audit checklist: privileged roles vs stale accounts vs guests

The three passes differ in where you look and what a finding means:

  • Privileged roles: look in Roles & admins. Threshold: fewer than five Global Administrators, fewer than ten privileged assignments, all cloud-only, all on strong MFA. A finding means too much standing power.
  • Stale accounts: look at last sign-in in the users list or Graph. Threshold: 90 to 180 days, adjusted for service accounts. A finding means an unused door that still opens.
  • Guest users: look in External Identities and the guest list. Threshold: restrictive guest access, limited inviters, guests removed when the work ends. A finding means outsiders who can see more, or for longer, than intended.

Run the passes in that order. Fixing roles first means the riskiest accounts are dealt with before the slower clean-up of stale members and guests.

What does a good result look like?

A tenant that passes all three checks usually looks like this: two or three named Global Administrators plus two emergency access accounts; everyone else on the narrowest role that fits their job; no on-premises synchronised account in any privileged role; no enabled member account without a sign-in in the last 180 days that nobody can explain; guest access on the restrictive setting; guest invitations limited to members; and a dated record of the last review. None of this needs a new licence. It needs an afternoon and someone who will make the decisions.

How does this fit into a full Microsoft 365 security audit?

The three passes above are a subset of the identity section of the CIS Microsoft 365 Foundations Benchmark. Brocent's Microsoft 365 CIS Benchmark Audit covers Level 1 and Level 2, including the manual controls, across Entra ID, Defender, Purview, Exchange, SharePoint and Teams. It reads configuration through a read-only Microsoft Graph app that a Global Administrator consents to once (about 15 minutes, removable in Entra ID); it never reads mail or document content. The report gives a prioritised roadmap with effort estimates and is designed to be used as evidence for common cyber-insurance questionnaire and Cyber Essentials questions on user access. It is delivered remotely, 5 to 7 business days after read-only access is granted, followed by a debrief call.

You can see how identity findings are laid out in the sample report walkthrough, and the full list of areas on the Microsoft 365 security audit service page. For a wider list of tenant checks, start with the Microsoft 365 security audit checklist.

Frequently asked questions

What is an Entra ID security audit?

A review of who and what your Microsoft Entra ID tenant trusts: privileged role holders, inactive accounts, guest users and the settings that govern them. It is usually one section of a wider Microsoft 365 security audit.

How many Global Administrators does Microsoft recommend?

Fewer than five, according to Microsoft's best-practice page for Entra roles (1 June 2026), plus two cloud-only emergency access accounts. The Entra Overview page shows an alert card at five or more.

How long before an account counts as stale?

Microsoft suggests a window of 90 to 180 days for many organisations. Check non-interactive sign-ins before disabling service accounts or shared mailboxes.

Do I need Entra ID P2 for this audit?

No. Every check in this guide works on the free or P1 tier, although reading the last successful sign-in through Microsoft Graph needs P1 or P2. P2 or Entra ID Governance adds Privileged Identity Management and access reviews, which help you keep the result, not find the problem.

Should guest users be deleted after a project?

Yes, once the work ends and nobody owns the relationship. Removing the guest also removes their access to the Teams and sites they were added to.

Does Brocent's audit change anything in my tenant?

No. The audit is read-only. The Graph app reads configuration, and you or your IT provider make the changes the roadmap recommends. A re-audit after fixes is included when Brocent did the remediation; after in-house fixes it is charged at the band price.

How much does an Entra ID audit cost with Brocent?

It is part of the Microsoft 365 CIS Benchmark Audit, priced by headcount, one-time, in US dollars and excluding tax: US$450 for 1 to 10 users, US$990 for 11 to 25, US$1,800 for 26 to 75 and US$2,900 for 76 to 150. Above 150 users is quoted.

Next steps

Open the Entra admin centre with a Global Reader account and run the three passes in order: roles, stale accounts, guests. Write each finding down with an owner and a date. If you would like an independent review of identity and the rest of the tenant, see the fixed prices and scope on the Microsoft 365 Security Audit pricing page and our guide to what a Microsoft 365 security audit costs. To ask a question first, contact us.

Share:

Ready to take action?

Turn these insights into a roadmap for your business.

Book a 15-minute no-obligation consultation with our APAC IT experts. We'll review your current setup and provide a tailored IT roadmap within 24 hours.

Explore all services
📋

Free Checklist

10 Critical Checks Before Expanding IT to Greater China

PIPL compliance, network segmentation, bilingual helpdesk setup, and more — everything your IT team needs before Day 1 in China.

Request the checklist →