Logstash Imap for shared mailbox

Hello,

Actually, I finally found out the issue.
I was using the full mail address instead of alias of mailbox.
So the working syntax are :

input {
imap {
host => "outlook.office365.com"
user => "user@mydomain.com\sharedmailboxAlias"
password => "myUserPassWord"
secure => true
}
}

The sharedmailboxAlias is not the address mail but the alias of the shared mailbox.

Best regards,
Alex.