I've just seen this post. You've probably resolved it since then, but the root cause of the error you are facing is that support for M365 mailboxes was not added until the 9.1.7 release of Datacap.