...
security group (where a user with permission for the account would use their own credentials to access the account)
a linked account (where the user with permission for the account would use the credentials of the generic account)
Note that a message sent to a Shared mailbox that is marked as Private will not show in the Desktop app. The message will only show in the Web version of Outlook.
...