Office add-ins for shared mailboxes are not fully supported by Microsoft at this time. Therefore, it is currently not possible to use the button for shared mailboxes. We are working on providing this feature in the future.