Remote server returned '550 5.7.501 Service unavailable. Spam abuse detected from IP range.

Kedar Chandrayan 30 Reputation points
2023-12-28T08:28:15.4033333+00:00

Hi team,

I am creating an Event by using the API:

POST API: https://graph.microsoft.com/v1.0/me/events
{
    "end": {
        "dateTime": "2023-12-27T07:30:00.0000000",
        "timeZone": "
    },
    "start": {
        "dateTime": "2023-12-27T06:30:00.0000000",
        "timeZone": "
    },
    "subject": "New Meeting from Postman",
    "attendees": [
                {
                    "type": "required",
                    "emailAddress": {
                        "name": "Kedar Chandrayan",
                        "address": "<My_email>"
                    }
                },
                {
                    "type": "resource",
                    "emailAddress": {
                        "name": "Room Email",
                        "address": "
                    }
                }
            ]
}

But the event is not created properly because for the room resource I am booking, resource email rejects my mail.

With Error as show in the image:

Remote server returned '550 5.7.501 Service unavailable. Spam abuse detected from IP range. For more information please go to http://go.microsoft.com/fwlink/?LinkId=526653. S(2017052602) [PN2P287MB0444.INDP287.PROD.OUTLOOK.COM 2023-12-27T07:22:25.419Z 08DC058C717140C5]'

Could someone explain why is this happened to me and how to prevent it?

Thanks in advance.
Screenshot 2023-12-28 at 12.24.12 PM

Microsoft Security | Microsoft Graph
{count} votes

Accepted answer
  1. Saman Guruge-MSFT 80 Reputation points Microsoft External Staff
    2023-12-30T19:15:04.0366667+00:00

    Hope you are doing well,

    Generally, these issues occur while using trail tenant to perform this send email activity using Graph API.

    This error occurs when sending email from known, low reputation IP addresses that are typically used by new customers on Trail tenants. To fix this issue your Tenant needs to be added to a sending exclusion for 60 days to allow them to use blocked IPs whilst they still have a new/trial license.

    Please raise a case with MS Support team from your tenant where you are facing issue, respective team will provide exclusion for your tenant.

    Hope this helps.

    Please refer following thread for more information

    https://learn.microsoft.com/en-us/answers/questions/1366400/how-to-fix-remote-server-returned-550-5-7-708-serv

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have further questions about this answer, please click "Comment".

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.