Compliance & risk

How to Use Microsoft 365 Security Audit Tools (Step by Step)

Your Microsoft 365 tenant already contains the tools for a full security audit — most teams just never open them. Here is how to use each one, in order.

Cysoro Security TeamPublished · 8 min read
Secure Score 72% MFA enforcedDoneLegacy auth blockedFix nowAudit log onDoneDMARC p=rejectFix now 4 actions left COMPLIANCE & RISK Microsoft 365 security audit Tools you already own, step by step
Quick answer

To audit Microsoft 365 security, start with Secure Score in the Defender portal for a prioritized list of gaps, then search the Purview audit log for who did what, review Entra sign-in logs for risky logins and legacy authentication, check Defender email policies with the configuration analyzer, and validate everything against the CISA ScubaGear baselines. Audit (Standard) keeps records for 180 days; Audit (Premium) keeps them for a year.

Key takeaways

  • Secure Score gives you the fastest prioritized list of gaps in your Microsoft 365 tenant.
  • Purview Audit (Standard) keeps records for 180 days, while Audit (Premium) extends retention to one year.
  • CISA's free ScubaGear tool checks your tenant against published government baselines in minutes.

Your Microsoft 365 tenant already contains the tools for a full security audit — most teams just never open them. Secure Score, the Purview audit log, Entra sign-in logs and the Defender configuration analyzer are all included in licenses you already pay for, and CISA's free ScubaGear tool checks your settings against government baselines.

What is a Microsoft 365 security audit?

A Microsoft 365 security audit is a structured review of identity, email, data sharing, devices, licensing and monitoring across your tenant, checking whether the settings match recommended baselines and compliance requirements such as SOC 2, HIPAA and GDPR.

It answers three questions: who can get in, what can they reach, and would you know if something went wrong? The audit looks at configuration — MFA, admin roles, sharing settings — and at activity — sign-ins, mailbox changes, file sharing and admin actions recorded in the audit log.

You do not need to buy anything to start. The five free tools below cover most of the ground, and the first four are already in your tenant. The audit also matters for insurance and compliance: auditors and cyber insurers increasingly ask for evidence that these exact controls are in place.

Which Microsoft 365 security audit tools are there?

Five tools cover the audit, and each one answers a different question. Use them together rather than relying on any single score or log.

ToolWhat it checksWhere to find itCost
Microsoft Secure ScoreRecommended actions across identity, apps, data and devicesMicrosoft Defender portalIncluded
Purview audit log searchWho did what, and whenMicrosoft Purview portal, AuditIncluded (Standard)
Entra sign-in logsWhere and how people sign in, including legacy clientsMicrosoft Entra admin centerIncluded
Defender configuration analyzerEmail threat policies vs Standard and Strict settings, plus SPF and DKIMDefender portal, Threat policiesIncluded
CISA ScubaGearEntra ID, Defender, Exchange, SharePoint, Teams and Power Platform settings vs CISA baselinesFree PowerShell module from CISAFree

Secure Score tells you what to fix, the audit log tells you what happened, sign-in logs tell you how attackers try to get in, and ScubaGear tells you whether your settings match an independent baseline. For the identity side specifically, our guide to how to know if your phone is hacked covers the device signals that often accompany a compromised account.

A Microsoft 365 security audit in six steps1. Secure Scorebaseline your posture2. Audit log onconfirm logging is enabled3. Identity reviewMFA, admins, sign-ins4. Email & datapolicies, sharing, DLP5. Run ScubaGearcheck against CISA baselines6. Fix & reportprioritize, remediate, repeatA full audit takes a few hours for a small tenant; repeat it quarterly.
The audit workflow: measure first, investigate second, fix third. Illustration by Cysoro.

How do you use Microsoft Secure Score?

Microsoft Secure Score is a percentage-based measurement, found in the Microsoft Defender portal, of how many of Microsoft's recommended security controls your organization has configured across Microsoft 365, Azure and connected apps.

Open the Defender portal, go to Secure Score, and work through the recommended actions grouped by Identity, Apps, Data and Device. Each action shows its score impact, so you can prioritize the fixes that move the number most — usually enabling MFA, blocking legacy authentication and tightening admin roles.

Treat the score as a guide, not a grade. A tenant can score well and still have a risky sharing setting that Secure Score weights lightly, so use it to prioritize rather than as proof of security. Record the score at the start of each audit so you can show improvement over time, which auditors and insurers both like to see.

How do you search the Microsoft Purview audit log?

The Purview audit log is the record of who did what in your tenant: admin changes, mailbox access, file sharing, sign-ins and policy edits. Audit (Standard) is enabled by default for most Microsoft 365 organizations, and you only need the right permissions to search it.

First, confirm the unified audit log is on, since an admin can switch it off — if it is off, you have no history to search. Then sign in to the Microsoft Purview portal, select the Audit solution, and search by date range, user, service and activity type. The default view covers the last seven days, and the maximum date range you can specify is 180 days.

Retention is the detail that catches teams out. Audit (Standard) retains records for 180 days by default. Audit (Premium) retains Exchange, SharePoint, OneDrive and Microsoft Entra records for one year by default, and lets you create custom retention policies for up to 10 years. If a dispute or incident surfaces months later, a 180-day window may already have expired — export important logs before they age out.

Start every investigation with the same five searches: mailbox forwarding rules created, admin role changes, password resets by admins, external sharing of sensitive files, and sign-ins from unfamiliar locations. These cover the most common attack paths, including spear phishing follow-through inside a compromised mailbox.

How do you audit sign-ins with Microsoft Entra logs?

Entra sign-in logs show every authentication attempt: who signed in, from where, on which device, and whether MFA succeeded. They are the fastest way to spot credential attacks against your tenant.

Open the Microsoft Entra admin center and filter for failed sign-ins first — a burst of failures against one account suggests password spraying, while failures across many accounts suggest a broader attack. Then filter for successful sign-ins from unfamiliar countries, legacy authentication clients such as old mail protocols, and sign-ins without MFA.

Legacy authentication is a top finding in most audits. Old protocols cannot do MFA, so a single stolen password is enough. Block legacy authentication with a Conditional Access policy and the finding disappears. Also check for accounts with MFA disabled or using only SMS codes, and for guest accounts that still have access long after their project ended.

How do you check Defender email and sharing settings?

Email is still the main way attackers reach your staff, so the audit must cover Defender for Office 365 policies. In the Defender portal, open Threat policies and run the configuration analyzer, which compares your anti-phishing, Safe Links and Safe Attachments settings against Microsoft's Standard and Strict presets.

Confirm that anti-phishing and Safe Links are switched on for all users, not just some, and that impersonation protection covers your executives and key domains. Then check SPF and DKIM for your domains — the configuration analyzer flags missing records. You can verify your own domain in seconds with our free DMARC checker.

Next, review sharing. In SharePoint and OneDrive, check for links shared with "anyone", external sharing on sensitive sites, and guest access that was never revoked. In Teams, check whether external guests can join meetings and share files more freely than your policy intends. For the email side in depth, see our guide to business email compromise protection.

How do you run CISA ScubaGear?

CISA ScubaGear is a free, open-source PowerShell module from the US Cybersecurity and Infrastructure Security Agency. It checks your tenant against CISA's published secure cloud baselines for Entra ID, Defender, Exchange, SharePoint, Teams, Power Platform and Power BI, and produces HTML, JSON and CSV reports.

Install the module, connect it to your tenant with an admin account, and run it against the products you use. The HTML report lists each baseline check as a pass or fail with the setting that needs changing, which makes it easy to hand to the person who owns each area.

ScubaGear's value is independence: it checks your settings against a government baseline rather than Microsoft's own scoring. Run it after your Secure Score review and compare the two — gaps that appear in both lists are your top priorities. Microsoft's own Purview auditing documentation explains which log capabilities each license includes.

What about the Microsoft Graph API for audit data?

The Microsoft Graph API gives you programmatic access to security data — alerts, incidents, Secure Score metrics and compliance status — through standardized REST endpoints. It is the right tool when you audit several tenants or want to feed Microsoft 365 data into a SIEM.

Note that Microsoft retired the legacy security alerts endpoint in 2026 in favor of the alerts and incidents API, which correlates identity, endpoint, email and cloud signals into incidents rather than isolated alerts. If you have old scripts calling the retired endpoint, update them before your next audit cycle.

For most small teams the portal is enough. Use the Graph API when you need scheduled exports, cross-tenant comparison, or automated reporting — for example, a monthly Secure Score trend pulled into your compliance tracker.

How long do Microsoft 365 audit logs last?Audit (Standard)180 daysAudit (Premium)1 year (default)Premium, customup to 10 yearsStandard logs generated before 17 Oct 2023 were kept for 90 days.Premium default of one year covers Entra ID, Exchange, SharePoint and OneDrive.
Audit log retention by license — export logs before they age out. Illustration by Cysoro.

What are the most common audit findings?

Most Microsoft 365 audits find the same handful of issues, and all of them are cheap to fix. Global admins are the first: tenants often have more global admins than they need, including old IT staff and vendor accounts. Keep the count small and require phishing-resistant MFA for every admin.

Next is MFA coverage. It is common to find MFA enforced for office staff but not for service accounts, shared mailboxes or executives. Attackers look for exactly those exceptions, so cover every account or document the exception and its compensating control.

Then come sharing and email settings: "anyone" links on SharePoint, external forwarding allowed, Safe Links off for some users, and DMARC missing or stuck at p=none. Finally, audit logging itself is sometimes disabled, or no one has exported logs before the 180-day window expired — which means the audit has no history to work with.

How do you report the audit and track fixes?

Write the report for two audiences: the person who fixes things and the person who needs assurance. For each finding, record what you checked, what you found, the risk in plain language, and the fix with an owner and a date.

Group findings by severity, not by tool. A disabled audit log and a global admin without MFA are both critical; a missing SPF record on a rarely used subdomain is not. Re-check Secure Score after the fixes land — a rising score over successive audits is the clearest evidence of improvement for SOC 2, HIPAA or cyber-insurance reviews.

Keep the evidence. Export the ScubaGear HTML report, save screenshots of the Secure Score page, and store audit log exports for the retention period your compliance framework requires. Store them outside the tenant itself, so they survive even if the tenant is compromised.

The bottom line

A Microsoft 365 security audit is mostly a matter of opening the tools you already own: Secure Score for priorities, the Purview audit log for history, Entra sign-in logs for attack attempts, the Defender configuration analyzer for email, and ScubaGear for an independent check.

Run the full audit quarterly and review Secure Score monthly. If you want a broader starting point, our small business cybersecurity checklist covers these controls alongside backups and device security.

You can check your domain's email authentication any time with the free DMARC checker, and Microsoft's audit log search guide walks through your first search step by step.

Frequently asked questions

What is the best Microsoft 365 security audit tool?

Microsoft Secure Score is the best starting point because it scores your tenant against Microsoft's recommended controls and ranks the fixes. For investigations, the Purview audit log is the key tool, and CISA ScubaGear is the best free independent check against government baselines.

How long does Microsoft 365 keep audit logs?

Audit (Standard) retains records for 180 days by default. Audit (Premium) retains Exchange, SharePoint, OneDrive and Microsoft Entra records for one year by default, and lets you create custom retention policies of up to 10 years.

Is Microsoft Secure Score free?

Yes. Secure Score is included in Microsoft 365 and visible in the Microsoft Defender portal. It measures how many of Microsoft's recommended security controls you have configured, expressed as a percentage.

How do I check who logged in to my Microsoft 365 tenant?

Open the Microsoft Entra admin center and review sign-in logs, which show who signed in, from where, with which device and whether MFA succeeded. Filter for failed sign-ins, unfamiliar locations and legacy authentication clients.

What is CISA ScubaGear?

ScubaGear is a free, open-source PowerShell tool from the US Cybersecurity and Infrastructure Security Agency. It checks Microsoft 365 settings against CISA's published secure cloud business application baselines and produces HTML, JSON and CSV reports.

Do I need Audit (Premium) for a Microsoft 365 security audit?

Not for a basic audit. Audit (Standard) covers the core activity search with 180 days of retention. Premium is worth it when you need a one-year look-back, custom retention policies, or high-value event alerts for compliance frameworks such as SOC 2 or HIPAA.

How often should I audit Microsoft 365 security?

Review Secure Score and sign-in logs monthly, run a full audit quarterly, and repeat the full audit after any major change such as a new admin, a merger, a license change or a security incident.

Sources

  1. Microsoft Learn — Get started with auditing solutions (Microsoft Purview)
  2. Microsoft Learn — Search the audit log (Microsoft Purview)
  3. Microsoft Learn — Learn about auditing solutions in Microsoft Purview
  4. NinjaOne — How to Prepare for a Microsoft 365 Security Audit
  5. Wintive — Office 365 Security Audit: 7-Domain 2026 Checklist
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against Microsoft Learn documentation for Purview Audit and Secure Score, and 2026 audit checklists from NinjaOne and Wintive.

How we write and fact-check →

Free tools for this topic

No account needed.

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free