White list emails in o365

In Microsoft Office 365, you can create a whitelist of allowed senders to bypass spam filtering and ensure that specific emails are delivered to your inbox. Here's how to do it:

Method 1: Using the Office 365 Security & Compliance Center

  1. Sign in to the Office 365 Security & Compliance Center with your admin credentials.
  2. Go to Protection > Spam filtering.
  3. Click on Allowed senders.
  4. Click on Add.
  5. Enter the email address or domain you want to whitelist.
  6. Choose the Allow option.
  7. Click Save.

Method 2: Using PowerShell

  1. Open PowerShell and connect to your Office 365 tenant using the following command: Connect-ExchangeOnline -UserPrincipalName <your_admin_email> -ShowProgress $true
  2. Run the following command to add an allowed sender: Set-ContentFilterConfig -AllowedSenders <email_address> -Action Allow
  3. Replace <email_address> with the email address or domain you want to whitelist.

Method 3: Using the Office 365 Admin Center

  1. Sign in to the Office 365 Admin Center with your admin credentials.
  2. Go to Admin centers > Exchange.
  3. Click on Mail flow > Rules.
  4. Click on New rule.
  5. Choose More options.
  6. Set the Apply this rule if condition to The sender is in my organization's allowed senders list.
  7. Add the email address or domain you want to whitelist to the list.
  8. Choose the Allow action.
  9. Click Save.

Once you've whitelisted an email address or domain, emails from those senders will bypass spam filtering and be delivered to your inbox. Note that you can also create a whitelist for specific IP addresses or domains using the Office 365 Security & Compliance Center or PowerShell.