Microsoft 365 Learning โ€“ Day 19

By | April 4, 2026

Step-by-Step Configuration of Microsoft Defender for Office 365


๐ŸŽฏ Objective

To configure email security policies in Microsoft 365 to protect against:

  • Phishing attacks
  • Malicious links
  • Unsafe attachments

๐Ÿ› ๏ธ Prerequisites

  • Microsoft 365 Admin access
  • Defender for Office 365 license (Plan 1 or Plan 2)

๐Ÿ” Step 1: Open Microsoft Defender Portal

  1. Go to: https://security.microsoft.com
  2. Sign in with admin account
  3. Navigate to:
Email & Collaboration โ†’ Policies & Rules

๐Ÿ”— Step 2: Configure Safe Links Policy

  1. Go to: Threat Policies โ†’ Safe Links
  2. Click Create Policy
  3. Configure:
  • Name: SafeLinks-Policy
  • Apply to: All Users
  • Enable:
    โœ” URL scanning
    โœ” Real-time protection
    โœ” Click tracking
  1. Click Save

๐Ÿ‘‰ This ensures malicious links are blocked before users open them.


๐Ÿ“Ž Step 3: Configure Safe Attachments

  1. Go to: Threat Policies โ†’ Safe Attachments
  2. Click Create Policy
  3. Configure:
  • Name: SafeAttachments-Policy
  • Action: Block or Dynamic Delivery
  • Apply to: All Users
  1. Click Save

๐Ÿ‘‰ Attachments will be scanned in a sandbox before delivery.


๐ŸŽญ Step 4: Configure Anti-Phishing Policy

  1. Navigate to: Threat Policies โ†’ Anti-Phishing
  2. Click Create Policy
  3. Configure:
  • Enable impersonation protection
  • Add protected users (CEO, Admins)
  • Enable mailbox intelligence
  1. Save policy

๐Ÿ‘‰ Helps prevent spoofing and impersonation attacks.


๐Ÿงช Step 5: Test the Configuration

  1. Send a test email with:
    • Suspicious link
    • Attachment
  2. Observe:

โœ” Link gets blocked
โœ” Attachment scanned
โœ” Alerts generated


๐Ÿ“Š Step 6: Monitor Threats

  1. Go to: Dashboard โ†’ Threat Explorer
  2. Review:
  • Detected threats
  • Blocked emails
  • User activity

๐Ÿ’ก Real-World Scenario

User receives phishing email:

โœ” Safe Links blocks URL
โœ” Safe Attachments scans file
โœ” Email flagged as suspicious

Leave a Reply

Your email address will not be published. Required fields are marked *