ms365 email group.md

Microsoft Security Group

Microsoft Mail-Enabled Security Group

The Dropzone platform can ingest email and phishing alerts from cross-organizational email accounts. If you wish to restrict the access of Dropzone's analysis, you can create a dedicated mail-enabled security group and create an Application Access Policy which restricts access to a finite and enumerated list of mailboxes.

Create a Mail-Enabled Security Group

Click "Groups"

Add a Group

Click "Mail-enabled Security"

Assign a group name

Assign an owner

Add group members

Configure the group email address

See Microsoft's documentation for more information.

Create an Application Access Restriction Policy

The terminal icon

Connect-ExchangeOnline

{% hint style="info" %} Be sure to replace the AppID variable with the Client ID copied earlier and the GroupEmail variable with email address you just created {% endhint %}

$appid
$GroupEmail = "dropzone-allowed-inboxes@mycompany.net"

New-ApplicationAccessPolicy -AppId $AppId `
    -PolicyScopeGroupId $GroupEmail `
    -AccessRight RestrictAccess `
    -Description "Restricts Dropzone to specific inboxes only"```

* To test that Dropzone can only access the desired mailboxes, input the following code:
```powershell
Test-ApplicationAccessPolicy -AppId $AppId -Identity "allowed-mailbox@example.com"
```
```powershell
Test-ApplicationAccessPolicy -AppId $AppId -Identity "any-other-mailbox@example.com"
```

Allowed mailboxes should result in Granted, while denied mailboxes should return Denied.

If you have any errors, engage your DropzoneAI support representative.