none
Outbound emails send from Azure App via Graph are rejected as spam

    Question

  • Hi!

    We have recently built a custom application on Azure which needs to send emails and invitations and uses the Microsoft Graph API to handle sending the invites and emails. When invites are sent to Office 365 users on the same domain as the application they go through no problem, but anything that goes outside the domain gets rejected with the error below. The application sends the emails out on behalf of the currently logged on user but users must already have an office 365 account prior to registering with the application.

    Also the domain is not blacklisted as I can send and receive emails normally from any of the email accounts on the domain.

    Would greatly appreciate any tips on how to get to the bottom of this problem!

    Many thanks,

    Garth

    Remote Server returned '550 5.7.501 Access denied, spam abuse detected. For more information please go to http://go.microsoft.com/fwlink/?LinkId=526653'

    Original message headers:

    Received: from MEXPR01MB2102.ausprd01.prod.outlook.com (10.171.18.143) by
     SYXPR01MB2110.ausprd01.prod.outlook.com (10.171.38.144) with Microsoft SMTP
     Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id
     15.1.1034.10 via Mailbox Transport; Wed, 19 Apr 2017 10:12:08 +0000
    Authentication-Results: mydomain.onmicrosoft.com; dkim=none (message not
     signed) header.d=none;mydomain.onmicrosoft.com; dmarc=none action=none
     header.from=mydomain.onmicrosoft.com;
    Received: from MEXPR01MB1205.ausprd01.prod.outlook.com (10.171.17.12) by
     MEXPR01MB2102.ausprd01.prod.outlook.com (10.171.18.143) with Microsoft SMTP
     Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id
     15.1.1034.10; Wed, 19 Apr 2017 10:12:07 +0000
    Received: from MEXPR01MB1205.ausprd01.prod.outlook.com ([10.171.17.12]) by
     MEXPR01MB1205.ausprd01.prod.outlook.com ([10.171.17.12]) with mapi id
     15.01.1034.015; Wed, 19 Apr 2017 10:12:07 +0000
    Content-Type: application/ms-tnef; name="winmail.dat"
    Content-Transfer-Encoding: binary
    From: Phuong Nguyen <phuong.nguyenhoang@mydomain.onmicrosoft.com>
    CC: HN Tester <tester@mydomain.onmicrosoft.com>, Phuong Nguyen
    <phuong.nguyenhoang@mydomain.onmicrosoft.com>, AB <someuser@gmail.com>
    Subject: EMS Event Interview Candidate
    Thread-Topic: EMS Event Interview Candidate
    Thread-Index: AdK49WYKIdXMOC2tf06PbDZR4Zblmg==
    X-MS-Exchange-Calendar-Originator-Id: 52052a80-faae-4d36-8178-74770b50a368;/o=ExchangeLabs/ou=Exchange
     Administrative Group
     (FYDIBOHF23SPDLT)/cn=Recipients/cn=b365e4b9bebc4c9580f79856b163542d-phuong.nguy
    X-MS-Exchange-Calendar-Series-Instance-Id: BAAAAIIA4AB0xbcQGoLgCAAAAABwDfxl9bjSAQAAAAAAAAAAEAAAAIqKkYhdC2BFm/wWIbKS8eo=
    Date: Wed, 19 Apr 2017 10:12:06 +0000
    Message-ID: <MEXPR01MB12052921CD824F142C146DF0A1180@MEXPR01MB1205.ausprd01.prod.outlook.com>
    Accept-Language: en-US
    Content-Language: en-US
    X-MS-Has-Attach:
    X-MS-Exchange-Organization-SCL: -1
    X-MS-TNEF-Correlator: <MEXPR01MB12052921CD824F142C146DF0A1180@MEXPR01MB1205.ausprd01.prod.outlook.com>
    MIME-Version: 1.0
    X-MS-Exchange-Organization-MessageDirectionality: Originating
    X-MS-Exchange-Organization-AuthSource: MEXPR01MB1205.ausprd01.prod.outlook.com
    X-MS-Exchange-Organization-AuthAs: Internal
    X-MS-Exchange-Organization-AuthMechanism: 04
    X-Originating-IP: [40.127.86.182]
    X-MS-Exchange-Organization-Network-Message-Id: 231667f6-0298-4485-9a49-08d4870c88c4
    X-Microsoft-Exchange-Diagnostics: 1;MEXPR01MB1205;35:1ZxYRB1qNaNHRMY+j+FEh6R9BtL280UXscrqMgNUWXvPmEpj2KGTiRJwv0JG7YrNxA4tyUveOqmFGxh2DUvx+ic1PYhVVd+nss+GHFQJ78drNvrKmWm8GF9tuGU5ef7d
    Return-Path: phuong.nguyenhoang@mydomain.onmicrosoft.com
    X-MS-Office365-Filtering-Correlation-Id: 231667f6-0298-4485-9a49-08d4870c88c4
    X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(2017030254075)(201703131423075);SRVR:MEXPR01MB2102;
    X-Microsoft-Exchange-Diagnostics: 1;MEXPR01MB2102;3:dtsV59S/d8lU6Jn2uQ2lBnxYHC5vmEw2b1oi14j0vc/10ox0BvuLkPtCR5SsKJnkmgiRT/c/2Sz+eGMBIOO0lfe2btCZcKMQZG/9AjMlWOUy09Y9nXpY2/ZvY8nt7gYZnlJJt5tattZKAh7G1mxJ01DCrXMOnQt3yrVdFPBaP3fuQ/QC9B6FvYlZx8di1LFxhKhlEDWcg6pfwArHBWXDU9GyoYSfzD4N7zpeFeUeFBxES9tnxpsKuoWnh8Jehy2iMMne1Y1FvVRptP3BH8aanGWjTKoxN419PHy3iLiIU4Wa2z0aYsv3eMiuOPRqP6swZ56Y3dtQEEg/TZk6+lSkqg==;25:HGJe5lyTsnkunfjQSS2TYmqLSW54DaXDHfMkFiIUHKDvY7BzYAv3y27dAi8FQwma+TR1EZbET2pI7QsC49ZjR+CxsDfJuXkh0h3SbH6b/EzHtll5yXf8DFwZiuF4ImrSmLPAWAtoxcGUh2WH7dEKDi5T40ZiBnprfV6lcmYHjTpLqQ6eJMjr8d+0TnW2YFDFa+oV32ZwHDdN6DHGTeYWRXB9lKN/GEXtD1whm4Z3CiiLewWB9Cbr0ajzF5stM27mP5mBZ4hEVo0FwcHsQKUaXQlsXC/bA73SMsPSOGcVPQ8WwheMJzjgq0yE0t2MgJcXKOSLuTte34MRV36dMzheT/BzyAyv1R67Pyjn9EZBW05mOoMXarh+7eLnC9CwCB7+RStykQX3rSI5pBwpQSG6RRgBrMBlEv+MMaTzeOoccW3rOyqRvo90nEqqvZYYeknPoCjKPcKYuLSxD0jzmQ4xSQ==
    X-MS-Exchange-Organization-AVStamp-Service: 1.0
    X-Microsoft-Exchange-Diagnostics: 1;MEXPR01MB2102;31:8BpIPWX9qpDZQ/UCR/K8v/KENfR1m0Rvc1My5QK8//MhCUkrkbYaoeFU24cXVJSLIaov6rIoNHg4gSuisdtZsEJKYSz5Vo2k0WQbkwiBvof/X9i3EjojWthrVZhZgX+e00c/se9JPDAufU0I5OghdsFIDpJu9Q0pP534Ii6k8J7nRkZvuAOFLgNRq0nm1y7hHXzaI8z1gVlKuvChj+8wItEpEdA7YX/TLwDNRtPv/dVEhCCutwvkNRITyx644tbV9mviiWeSr8ybVeF7oSdeWw==;4:Ci2x0ldEvSfLWtuSQbsK+X3fPSS+eZpSIkEj75lVJF8TrjQVcQSNV5ifcrX0AhqP/gEuxmCJLlqz1zL2wAVlp5DfmwCdVd+4gTGK6mJi0XW8/N2WvkIZBB7/xmI6qHpC5Qw1xlGVfpWBNJZbqsrgYIhtLhQ/JHgOFYCttSDV9/JZ7FUDjJVRyEubSo8+sLxgrKqlVKYHU4U0vk3bEiKz1FybQcBQncFM1JJ5ekNMWwT91KGFJ2kNeAudHijVhnlifDS97zSx2RKkMsKp4fdi3CIx+pHnBvcs9ezTeJBTz3rLxeH4XdRrFeB3i5Fb/FQuDm0Y5bRzCDVvQT+h1L+HRTbiQrX/XGao7ir+iDG1MIBRWGzTaNJ1gHxXFX6esvYbfDipo2UWNzCP9hT249HCpf6qFcCBIMfhtXCcFFjfsVV8nOJPf6KfaOpqR9mpHOML9Ue8QTC5+BV4Tpgry1jChA==;23:5ERyT+VcentPxHU6UrB5zvlRyBu+I2TlCBDvj8oF8rmHLX4eluzykfHFcbc7sLzTgwZdadlhfv0KfocdhdtwNdPTxuuDg2+EBRhGtFo69AqWa5y7cPiIs45Z68NmEh34yvWdlFS/iCwFoZHIcbDnMg==
    X-Exchange-Antispam-Report-Test: UriScan:;
    X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(9101524173)(2401047)(8121501046)(10201501046)(93006095)(93001095)(3002001)(6002118)(6000006);SRVR:MEXPR01MB2102;BCL:0;PCL:0;RULEID:;SRVR:MEXPR01MB2102;
    X-Forefront-Antispam-Report: SFV:SKI;SFS:;DIR:INB;SFP:;SCL:-1;SRVR:MEXPR01MB2102;H:MEXPR01MB1205.ausprd01.prod.outlook.com;FPR:;SPF:None;LANG:en;
    X-Microsoft-Exchange-Diagnostics: 1;MEXPR01MB2102;6:WsPBrWQZJHXdIfh7+wfEanRkGQcKgtOyIeYIlnPL/pVOtCNYy2tKVpW91v8HapUEXr3ut5SB0JJwx7kMuKxcS1R6oc/FS//OsvtJgAUfpy4SXEMbVv3Ob6XiUVBejLkq8XC6M2d9lj1PFnLNcjftY+X68O/UqPSjmgCt/IlaFfH1Z/f4doVJ4eJR1EoN+Ac2mJYwkjdpnJJ9xuqXDT9lH++cLMQhpFrJ7g+6ETimrJc+7mwOnvaDN0+yhOhtJ4sq49kq5USnjrw8TBgKc3Rs717L/OKJlyNFToOClsxx01lDN7+keop1WlqWyKKN0LQp7a+xmKK9dOSSP7N3HctjYLp54ITSO7Y6LE6rbRkgiPtyxzsGvtyvjsM90/yPGggjgv/tP0LblpsinA0Ci4mhDg==;5:TfE2aHLU/Wo1if0MyryZuH7IwWFYVEkYrRkrBjQ1Q2sfcQpf+lnJXTXpYW4ixmt9e+zmjHXHnUQereLd2wRC98LBYXlUBbY/HQtBqJAaoNCUgOxELk7aRh8APt8xu821Fbhsi71kAv5079uuzOD/2g==;24:Xmbmo2ZKkoFHlU2nyUwA5mvxHJ9qKB+iaEVUX6A01yI6DDRHAqmueAcYvyJnhs0vG/UWVti/gkOCGdlDRvsOFyaWAkeNKnBBdZKZrgsSsgM=
    SpamDiagnosticOutput: 1:0
    X-Microsoft-Exchange-Diagnostics: 1;MEXPR01MB2102;7:HDN6XxR6w/RyQdQSKV117z6la3c3GlM/lD/Bgw9l+vYuDSgPeZV1Ibpo2bXH4ols4fadVBIrzQYyGlzNPjn9OKYr+Cw3rLDEabDHEtkEWzdKerNyGCTmp44R4j0Jm34XfXh0xUQtyNhv0Y/YFzC0grdeNvfmR1Z0KtZWebMqHSGb8HseG7RwdxFy99O8zvtZB/8G3hEdFKX6xuGDmEcrt6D5UqjdREtLGPUbgT0zuQv/Zm6jJSddC9L3uK2TmuskFSIvypsHsFx/3zepT9gJcJIfhWJUPnxU6Ea5BmXyoof2Xwo2JynMJNTjH/qTLMv13mkV1krn/lrsp5WLB2yuEQ==
    X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Apr 2017 10:12:06.8614
     (UTC)
    X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted
    X-MS-Exchange-CrossTenant-Id: c1683aa3-db4d-4cf1-8a48-c28685390706
    X-MS-Exchange-Transport-CrossTenantHeadersStamped: MEXPR01MB2102
    X-MS-Exchange-Transport-EndToEndLatency: 00:00:01.7335007
    X-Microsoft-Exchange-Diagnostics:
    1;SYXPR01MB2110;9:O1ahh7KHSB8ife9GLIrF1nggQZlhldFXd6oDyRaECVtQLvC+wfs0vzikC7RgH1uWNoXx9QN7Mny5rWeoLIBXmJ+pufv01TzZ50aUEqKxpPAP/82ru9z1gD0ezb+j5d0dxaDck3ZVU3D9sERj9VnvvaqHjdR4YHFHmszOMapb0Nz+akYNICqQmkQ4EoinoEoODn6gd28TwKhfRg96x76q/A==
    X-Microsoft-Exchange-Diagnostics:
    1;SYXPR01MB2110;27:Q6B8aoFrzB4cSTPq5+lOqjmJxfCfeGOBoIWdRmIwveyjS48VKXSi4K822hLfkdaBTT39Xwdz4AoUz7Gvb9GwDFcphyBTt99X1DT9g81Tc2mrogYaoZg8cVRXcxH/UI7vnJJkfk2sUc0HzrDWiV67Hw==


    Thursday, April 20, 2017 6:39 AM

All replies