question

RogerRoger-2394 avatar image
0 Votes"
RogerRoger-2394 asked emilyhua-msft edited

Permissions error

Hi All

i am using exchange 2016 hybrid environment. I have an application which is using a service account saccount1 to trigger email to an unified group group1. when the service account triggers email from the application, in the logs i can see the error is 550 5.7.60 SMTP; Client does not have permissions to send as this sender"
Under unified group1-Group Delegation- the service account has Send As and Send on Behalf permissions. the service account has office 365 license.. I am using my onprem relay i.e mrfa.mydomain.com on port 587. Shoud i use smtp.office365.com on port 587. service account is an onprem account and which is in sync with azure AD and has a remote mailbox. experts guide me

office-exchange-server-administrationoffice-exchange-online-itprooffice-exchange-server-mailflowoffice-exchange-hybrid-itpro
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

KyleXu-MSFT avatar image
0 Votes"
KyleXu-MSFT answered

@RogerRoger-2394

You need to relay email from Exchange online side rather than Exchange on-premises server. How to set up a multifunction device or application to send email using Microsoft 365 or Office 365


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

RogerRoger-2394 avatar image
0 Votes"
RogerRoger-2394 answered

service account has mfa enabled can this be the issue

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.