Unfortunately, Apple Mail does not support Shared Mailboxes. Please use the Outlook app, which is compatible with Shared Mailboxes.