I have a solution where the power automate flow triggers "When a new mail arrives in a shared mailbox (V2)". I am performing some operations to remove the attachment and at the end I am trying to send same email "Send an Email (V2)". While sending an email, I am using the "From" dynamic content, to make sure that the Original Customer mail is sent again to that mailbox. It works when I send an email, since I have created the flow. However, if any other customer sends an email, the flow fails at "Send an Email(V2)" with error message "You are not authorized to send mail on behalf of the specified sending account."
I have checked some blogs and it says its not possible due to several factors. I wanted to check if there is any solution to achieve this?