You can enable mail-enabled security groups by using Exchange Admin Center. Refer to the simple steps below to know how to enable mail enabled security group.Mail-enabled security groups provide a shared mailbox for a specific group. You can also use this to assign permissions to your members in the active directory.
Source: https://email-setup.net/how-to-enable-mail-enabled-security-group