For Office 365 to accept a LOGIN PLAIN to a shared mailbox, you need to provide all 3 parameters separately: shared mailbox, user and user password – use LoginPlain to do that. However Office 365 does not recognize user pattern when using LOGIN PLAIN. The reason is Office 365 advertises LOGIN PLAIN as a preferred login method and UseBestLogin chooses to use it. Try authenticating to users’ regular mailbox with his credentials (or App password) to check if basic authentication works and the user/password is "AlexWPass-or-AlexWAppPass") ĭon’t use UseBestLogin for Office365 shared mailboxes and basic authentication. Make sure IMAP/POP3 access is configured and basic authentication is turned on:Ĭonsider using Application passwords for your account instead of your primary password: To use basic authentication you’ll need to re-enable Basic Auth for your tenant: You’ll need to use OAuth described below. It is no longer possible to re-enable Basic Auth or use App passwords. Using regular IMAP basic authentication and a using OAuth 2.0. Now, there are 2 ways of accessing a shared mailbox in Office 365: On the same screen go to Manage email apps: Make sure your user is on the list: Enable IMAP/POP3 for shared mailbox On the Mail tab, in Mailbox permissions click Read and manage permissions: Log in to Microsoft 365 admin portal at as an administrator, go to Users/Active users tab and select shared mailbox: Convert the restored mailbox from user to shared mailbox. The commands used in this post specifically tested in Exchange Online, however it should work for Exchange On-Premises (Exchange 20) as well. Make sure you have access to the shared mailbox. Sync the changes to AAD and wait until the user shows up in Deleted Users. Septemby Morgan In this post, I am going to share Powershell commands to get shared mailboxes and find users who have permissions (Full Access or Send as) in the shared mailboxes. First make sure IMAP / POP3 are turned on properly: Enable IMAP / POP3 in Office 365 Shared mailbox permissions
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |