Q: I am now trying to connect to a shared mailbox in 365, can you please assist on how I can do this? The authentication is working fine against the user mailbox [A] but I’m not sure how to modify the IMAP4 setup to connect to a shared mailbox.
Shared mail: firstname.lastname@example.org – mailbox permissions setup, email apps enabled
I’ve tried using: email@example.com\health in the username and various other option all without success [B]
If I put firstname.lastname@example.org in the Mailbox I think it ignores this and connects to the user mailbox.
If I follow the instructions https://limagito.com/is-there-a-possibility-to-access-a-shared-office-365-mailbox-with-imap/ it returns error ‘Check Password’ [C]
Many thanks, Adam
According to our information (confirmed by a user) you should enter the shared mail address as username (email@example.com)
The reason why in our article the password is left blank is because our user was using OAuth2 authentication.
( https://limagito.com/connecting-to-office-365-email-using-imap-and-oauth2-authentication/ )
That is why you get the ‘Check Password’ Messagebox.
Question, what happens when you enter firstname.lastname@example.org as username and the password from the admin account (email@example.com).
As suggested I changed the username to firstname.lastname@example.org
And left the password is it was for the admin account (email@example.com).
This now lists the health mailbox!
The source is now: [IMAP4]firstname.lastname@example.org@outlook.office365.com:993
I would not have thought to try exactly that. One for your (&mine) documentation perhaps
Thanks again for your quick response 😊