Hello everyone, I have a following scenario which used to work couple of months back:
We have an internal e-mail support (ticketing) system. Now in order for it to receive and send e-mails (through SMTP and IMAP), we created a shared mailbox in Office 365's Exchange Online, took its credentials (username and password) and used it with the application, which works perfectly with this account.
Next, we needed to do this again in January, in a different tenant, however we ended up with authentication errors:
Funny thing is, that for existing shared mailboxes (created pre-January) it works fine. Only new ones have issue with that.
The difference in the mailbox attributes (using PowerShell's Get-Mailbox) is only:
AccountDisabled : True
which I don't seem able to change, whenever I try to do so, PowerShell responds with:
WARNING: Shared Mailbox 'email@example.com' cannot be enabled.
WARNING: The command completed successfully but no settings of 'Shared' have been modified.
So my question is, why did this stop working and how can this be resolved? I don't think it is appropriate for a ticketing system or a blog which sends out automatically e-mails to have a user license...
Also having a single licensed user to access the shared mailboxes isn't really a solution because it would present a big security risk - if the delegated user's credentials leaked (since they would be used accross different applications from different developers and for different mailbox), it would lead to big trouble.
Update: Also, in my opinion, this scenario is supported by Microsoft as SMTP Client Submission, but I wasn't able to find any appropriate tutorial for this.