How to fix 'Remote server returned '550 5.7.708 Service unavailable' while sending emails through postman.

ShivaKarthik Rao 20 Reputation points
2023-09-12T07:24:41.1833333+00:00

I am able to send mail through Graph API but it is not received by the recipient. I have added O365 licenses and given all the permissions to the application which was created in the Azure portal. An access token is generated differently for the @outlook.com domain and onmicrosoft.com. Please help!

Outlook
Outlook
A family of Microsoft email and calendar products.
1,782 questions
Microsoft Graph Applications API
Microsoft Graph Applications API
A Microsoft API that enables you to manage these resources and actions related to applications in Azure Active Directory.
646 questions
Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
902 questions
0 comments No comments
{count} votes

Accepted answer
  1. ChristyZhang-MSFT 15,351 Reputation points Microsoft Vendor
    2023-09-13T02:16:32.97+00:00

    Hi @ShivaKarthik Rao ,

    Welcome to our forum!

    Would you please provide more information about the error 'Remote server returned '550 5.7.708 Service unavailable'? Such as a screenshot. (In order to avoid privacy, please remember to hide your personal information.)

    Based on my research on the error "50 5.7.708", this error can happen when you are trying out a Microsoft 365 trial tenant. More information: 5.7.708 Access denied, traffic not accepted from this IP.

    User's image

    In addition, i found a similar thread as yours, it's suggested that you could try the suggestion as Oliver Wu MSFT mentioned:

    User's image

    Hope to help you!


    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.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful