With the Java (jdk16:21.2) library I am using the EWSClient with OAUTH credentials to read a mailbox. This works fine with mailboxes from users but with a shared mailbox I get the following error:
ErrorNonExistentMailbox The SMTP address has no mailbox associated with it.
I thought doing something with impersonateUser would help but this code isn’t reached because the error happens sooner in the EWSClient.getEWSClient code.