Libraesva ESG takes information from M365 tenant in order to import users and alias associated, but the Microsoft 365 APIs actually does not provide information about shared mailbox members.
Workaround
If an user wants to manage quarantine of a shared mailbox which is member of, the user must add the shared as alias of himself.