By default, the groups that control Defend are distribution lists. You may have a Microsoft 365 group that you want to nest into the distribution list. This is only possible using PowerShell.
Ensure you are connected to Exchange Online PowerShell and run the following script:
Connect-ExchangeOnline Add-distributiongroupmember -identity "egress_defend_users@customerdomain.com" -member "m365groupname@customerdomain.com"
Replace egress_defend_users@customerdomain.com egress_defend_users@customerdomain.com (link opens in new window) with the name of the top-level group and the m365groupname@customerdomain.com m365groupname@customerdomain.com (link opens in new window) with the group you wish to nest in.
The identity parameter specifies the group that you want to modify. You can use any of the following values:
- Name
- Alias
- Distinguished name (DN)
- Canonical DN
- Email address
- GUID