The owner of the shared mailbox you are trying to access has not given the affected user the permissions to access it. To ...

The owner of the shared mailbox you are trying to access has not given the affected user the permissions to access it. To fix this issue ask the mailbox owner to grant "Full Access" permission to the user. For more information on shared mailbox permissions, please see the article  Shared mailboxes in Exchange Online.