Hi,
currently I'm experiencing a kind of weird problem where I'm out of answers and would be very happy if some of you experts could help me solve the problem.
Im trying to send a mail using a Flow. Sending the mail as the user which is defined in the connector to our on-prem exchange server
works flawlessly. The problem is that we need the address from which the mail will be sent to be another (explicitly a shared mailbox).
The user defined in the connector already has full access and send-as permissions set on the shared mailbox but as soon as I try to run the flow it stops with the following error message:
{
"status": 403,
"message": "You are not authorized to send mail on behalf of the specified sending account.\r\nclientRequestId: a62557fa-074b-4d2a-8e30-60d0b0982458\r\nserviceRequestId: d3a0ad64-ee39-228f-3dba-07a5c5abd875",
"error": {
"message": "You are not authorized to send mail on behalf of the specified sending account.",
"code": "ErrorSendAsDenied",
"originalMessage": "The user account which was used to submit this request does not have the right to send mail on behalf of the specified sending account., Cannot submit message."
},
"source": "office365-we.azconn-we-003.p.azurewebsites.net"
} The question that comes to my mind is: Is it even possible to send in behalf of an shared mailbox? And if so, how do I do it?
The shared mailbox has no user in our active directory whilest the user defined in the connector has an active user which is also synced to the azure active directory.