Microsoft 365 Exchange Online Management | Dropzone AI Documentation

Configuration for Dropzone AI with Microsoft Defender for Office 365

This configuration is only required if you are using Dropzone AI to analyze Quarantined Emails in Microsoft Defender for Office 365.

To enable Office 365 Exchange Online Management, you must first install Dropzone Certificate Credentials.

Some Dropzone actions use x509 certificate based authentication, for example retrieving quarantined emails during phishing analysis. In this section we will set up the Dropzone certificate as trusted by Microsoft.

Each Dropzone tenant uses a unique Dropzone certificate for maximum security.

You should now see the certificate in the UI, including a 'thumbprint' (a cryptographic hash of the certificate.)

Once you have installed your Dropzone credentials, you may assign the Office 365 Exchange Online Management permissions. To do so, do the following:

Add the following permissions:

Permission Purpose
Exchange.ManageAsApp Read file details

Create and Authorize Service Account

Next we need to run PowerShell commands to grant permissions. You may use whatever PowerShell environment you prefer. The examples below were performed using Azure's interactive Cloud Shell. You may find some of the Microsoft Azure Documentation useful.

# Connect to "AzureAD"
Connect-AzureAD
# Run the following to get the object-id of our application, replacing
# application-id with the actual Application (Client) ID of our new app

Get-AzADServicePrincipal -AppID "<application-id>" | Select-Object DisplayName, AppId, Id | Format-List

# For example:
Get-AzADServicePrincipal -AppID "aaaaaaaa-1111-2222-3333-444444444444" | Select-Object DisplayName, AppId, Id | Format-List

DisplayName : Dropzone AI
AppId       : aaaaaaaa-1111-2222-3333-444444444444
Id          : 44726f70-7a6f-6e65-5761-734865726521
# Connect to ExchangeOnline
Connect-ExchangeOnline
# Run the following to create the service principal, replacing
# application-id and object-spid from the earlier values

New-ServicePrincipal -AppId "<application-id>" -ObjectId "<object-spid>" -DisplayName "Dropzone AI"

# for example
New-ServicePrincipal -AppId "aaaaaaaa-1111-2222-3333-444444444444" -ObjectId "44726f70-7a6f-6e65-5761-734865726521" -DisplayName "Dropzone AI"

DisplayName    ObjectId                               AppId
-----------    --------                               ----- 
Dropzone AI    44726f70-7a6f-6e65-5761-734865726521   aaaaaaaa-1111-2222-3333-444444444444
# Run the following to enable the Transport Hygiene role, replacing the
# application-id with the actual Application (Client) ID of our new app

New-ManagementRoleAssignment -App "application-id" -Role "Transport Hygiene"

# for example
New-ManagementRoleAssignment -App "aaaaaaaa-1111-2222-3333-444444444444" -Role "Transport Hygiene"

Name                           Role                RoleAssigneeName       RoleAssigneeType   AssignmentMethod   EffectiveUserName
----                           ----                ----------------       ----------------   ----------------   -----------------
Transport Hygiene-44726f70...  Transport Hygiene   ba0efd83-6465-48a...   ServicePrincipal   Direct

Locate Organization ID