Book Image

Microsoft Office 365 Administration Cookbook

By : Nate Chamberlain
Book Image

Microsoft Office 365 Administration Cookbook

By: Nate Chamberlain

Overview of this book

Organizations across the world have switched to Office 365 to boost workplace productivity. However, to maximize investment in Office 365, you need to know how to efficiently administer Office 365 solutions. Microsoft Office 365 Administration Cookbook is packed with recipes to guide you through common and not-so-common administrative tasks throughout Office 365. Whether you’re administering a single app such as SharePoint or organization-wide Security & Compliance across Office 365, this cookbook offers a variety of recipes that you’ll want to have to hand. The book begins by covering essential setup and administration tasks. You’ll learn how to manage permissions for users and user groups along with automating routine admin tasks using PowerShell. You’ll then progress through to managing core Office 365 services such as Exchange Online, OneDrive, SharePoint Online, and Azure Active Directory (AD). This book also features recipes that’ll help you to manage newer services such as Microsoft Search, Power Platform, and Microsoft Teams. In the final chapters, you’ll delve into monitoring, reporting, and securing your Office 365 services. By the end of this book, you’ll have learned about managing individual Office 365 services along with monitoring, securing, and optimizing your entire Office 365 deployment efficiently.
Table of Contents (16 chapters)
Chapter 14: Appendix – Office 365 Subscriptions and Licenses

Creating a mail flow rule

While users can create their own rules to apply to messages upon delivery, mail flow rules set by administrators take effect on messages in transit before they're delivered. In this recipe, we'll create a mail flow rule to help identify and report outgoing mail containing credit card numbers.

Important note

Mail flow rules are also known as transport rules.

Getting ready

You should be a global admin or have the Organization Management role as part of your assigned permissions to be able to complete the steps in this recipe.

How to do it…

  1. Go to the classic Exchange admin center at
  2. Select mail flow from the left-hand side navigation menu.
  3. Choose the plus sign (+) to create a new rule:

    Figure 4.31 – The plus button for creating a new rule

  4. In this recipe, we'll select Generate an incident report when sensitive information is detected:

    Figure 4.32 – The Generate...