Howdy y'all,
I am wondering if this may be possible... Here's what I'm trying to do:
We have an integration that utilizes EWS using the "Send As" permission to send mail impersonating a user. Currently with our on premise exchange environment web services makes the EWS call to the on premise exchange box.
We are currently in the process of migrating to Microsoft 365 in a hybrid configuration. As these "Send As" emails currently do not spool on the web service side, we're ideally wanting to send these EWS calls to the on premise exchange box which would forward them on to o365 if the mailbox is in the cloud. We've tried ensuring that all the proper permissions are in place (https://learn.microsoft.com/en-us/exchange/permissions#delegate-mailbox-permissions), but the on premise exchange box is not recognizing mailboxes hosted in the cloud. The on premise exchange box will always return "Error Sending Message: The SMTP address has no mailbox associated with it."
The reason we would like to send these EWS calls via the on premise exchange box is that it would provide some sort of "spooling" if Exchange Online were to go down or offline - as these "Send As" e-mails are business critical.
Is this even possible?
If it is possible, what could we be doing wrong?
Is there a better way we should be doing this?
TIA.