Retrieve incoming emails from an Office 365 shared mailbox

I'm using the IMAP/POP3 incoming email module to retrieve incoming emails from Office 365 email accounts to process in our Mendix app. This works perfectly on user email acoounts but raises an error when trying to retrieve emails from a shared Office 365 mailbox. What's the trick to get this done? Error message:  ERROR - ActionManager: (1/109) com.mendix.modules.microflowengine.MicroflowException: com.mendix.core.CoreRuntimeException: com.mendix.systemwideinterfaces.MendixRuntimeException: javax.mail.AuthenticationFailedException: AUTHENTICATE failed.
1 answers

Do you use the right username password? Don't now for sure, but i think you have to use something like useremail\sharemailboxemail and users password. 


Otherwise you can use Microsoft Graph. But this is a different implementatie of using o365 mailboxes. There are some modules for this in the appstore.