To check security defaults in Microsoft Entra ID, read the security defaults policy and its isEnabled value, or open Manage security defaults in the tenant's properties. A tenant that uses Conditional Access policies in their place must turn security defaults off, so off is right when the policies do the same job. Tenants created on or after 22 October 2019 may have them on already.
| Method | Best fit |
|---|---|
| PowerShell | A CSV with the setting and when you checked it, for a dated record. |
| Admin centre | A quick look at 1 tenant you already have open. |
| Altivane | Recommended for recurring reviews, with the setting beside the tenant's other directory settings. |
Before you start
Use an account in the Global Reader role, which can read everything a Global Administrator can and change nothing. Turning security defaults on or off needs at least Conditional Access Administrator. The PowerShell example requests Policy.; your organisation may require administrator consent.
Know what the setting covers. Security defaults make every user register for MFA, require MFA for administrators and for other users when Microsoft judges it necessary, block legacy authentication and device code flow, and protect Azure management. They need no licence. The examples read the setting; they don't change it.
Option 1
Check security defaults with PowerShell
Install the modules once, then connect, read the setting and save it with the tenant ID and the time.
# Install once, if the modules are not already installed.
Install-Module Microsoft.Graph.Authentication, Microsoft.Graph.Identity.SignIns -Scope CurrentUser$ErrorActionPreference = 'Stop'
Connect-MgGraph -Scopes 'Policy.Read.All' -NoWelcome
try {
$defaults = Get-MgPolicyIdentitySecurityDefaultEnforcementPolicy
$report = [pscustomobject]@{
TenantId = (Get-MgContext).TenantId
SecurityDefaultsEnabled = $defaults.IsEnabled
CheckedUtc = (Get-Date).ToUniversalTime()
}
$report | Export-Csv -Path './security-defaults.csv' -NoTypeInformation -Encoding utf8
if ($defaults.IsEnabled) {
Write-Output 'Security defaults are enabled.'
} else {
Write-Output 'Security defaults are disabled. Check that Conditional Access requires MFA.'
}
} finally {
Disconnect-MgGraph | Out-Null
}The CSV holds 1 row: the tenant, the setting and when you read it, so a monthly check builds a record. Add -Append to Export-Csv to keep every check in the same file.
See which Conditional Access policies are on
When security defaults are off, these are the policies doing their job. Reconnect with Connect-MgGraph, then list them.
# Run while connected to Microsoft Graph.
Get-MgIdentityConditionalAccessPolicy -All | Where-Object { $_.State -eq 'enabled' } |
Select-Object DisplayName, State, ModifiedDateTimeAn empty list with security defaults off means no Conditional Access policy is enforcing anything at sign-in.
Option 2
Check security defaults in the admin centre
- Sign in to the Microsoft Entra admin centre for the correct tenant.
- Go to Entra ID > Overview > Properties.
- Select Manage security defaults and read Security defaults: Enabled, or Disabled (not recommended).
- Close the pane without saving.
This suits a quick look at 1 tenant. For a dated record, or a check every month, use PowerShell or a report.
Option 3 ยท Recommended for recurring reviews
Report on security defaults with Altivane
- Open Altivane and choose the tenant.
- Build the tenant's documents with the Tenant Overview scorecard report.
- Open the tenant's Excel workbook and find Tenant Settings: Security defaults enabled says whether they are on.
- To see it beside your policies, read Conditional Access Summary from the Conditional Access scorecard report, which counts the policies that are on, report-only and off.
Where the setting can't be read, Altivane says Not read rather than No, and the report is marked partial. The same table lists who can invite guests, the guest access level and what users can create, so 1 build answers those questions too. The build also writes the tenant's Word report.
Contact usCommon questions
Can I use security defaults and Conditional Access together?
No. To use Conditional Access policies, turn security defaults off, then turn on policies that keep the same protection. Microsoft-managed policies cover blocking legacy authentication and requiring MFA for administrators, for Azure management and for all users. Conditional Access needs Microsoft Entra ID P1.
Who is left out of security defaults?
The Microsoft Entra Connect and Cloud Sync synchronisation accounts, and anything in the Directory Synchronization Accounts role, aren't asked to register for or use MFA. Guests are treated the same as your own users.
Why does the per-user MFA page show everyone as Disabled?
That's expected. Disabled is the right status for users covered by security defaults or by Conditional Access. To see who has a method registered, see how to find users without MFA.
Microsoft references
Technical references checked on 7 November 2026. The example scripts have been reviewed and syntax checked; they have not been run against a live tenant.