Send email via Graph and Exchange Online not delivery message : Access denied, traffic not accepted from this IP (5.7.708)

Marco Fillion 6 Reputation points

Hi, Everything working fine to send email via Graph by ASP.NET Core 5.0 Application. Big problem, Exchange Online won't delivery the message like title said. I read documentation and follow instructions to get it working, but it is not working. Someone already have problem like that ? Thank you !

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
11,382 questions
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,373 questions
{count} vote

4 answers

Sort by: Most helpful
  1. Andy David - MVP 145.1K Reputation points MVP

    This isnt a Graph Issue. You are being blocked because Exchange Online doesnt allow email from IPs it considers untrustworthy

    5.7.708 Access denied, traffic not accepted from this IP: This error occurs when sending email from known, low reputation IP addresses that are typically used by new customers.

    5.7.708 Access denied, traffic not accepted from this IP
    This error can happen when you are trying out a Microsoft 365 trial tenant. If you receive this error before you can purchase licenses, contact support to request an exception for the low reputation IP address until you're able to purchase licenses.

    0 comments No comments

  2. Marco Fillion 6 Reputation points

    Hello AndyDavid,

    Thank you for your answer. Very appreciated.

    I bought this morning the Exchange Online Basic Plan 1.

    How long to be considered safe ?

  3. Joyce Shen - MSFT 16,651 Reputation points

    Hi @Marco Fillion

    Is there any update about your issue? If you still have issue sending emails from your o365 tenant, you may try contacting the o365 support team with below methods

    Ways to contact support for business products - Admin Help

    If an Answer is helpful, please click "Accept Answer" and upvote it.

    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.

    0 comments No comments

  4. Serge Fournier 0 Reputation points

    i have the same problem here

    i bought a licence, but it's on "trial" anyway for 30-90 days (tenant rial)

    outlook can perfectly send mail, and receive answer too

    microsoft graph have thee same error as this title

    same source, same destination as outlook

    Why is outlook able to send but not microsoft graph api?

    (dmarc, dkim and spf are configured)

    0 comments No comments