As far as I'm aware, this cannot be done.
If you want it to stay dynamic and use it as security principal, it cannot be mail-enabled.
If you for-go the dynamic element, you can create a mail-enabled security group through the O365 portal.
If you for-go the security element, then create a dynamic DG directly in Exchange.