web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / BadGateway when using ...
Power Automate
Unanswered

BadGateway when using SMTP receive connector

(0) ShareShare
ReportReport
Posted on by 2

I am trying to connect PowerAutomate to email using SMTP connector. All required data are entered:

 

Server is Exchange 2013

Using SSL.

 

But I got this error: Test connection failed. Details: BadGateway

 

On Exchange server side:

 

SMTPSubmit SMTPAcceptAnySender SMTPAcceptAuthoritativeDomainSender AcceptRoutingHeaders,Set Session Permissions
"220 exchange.domain.com Microsoft ESMTP MAIL Service ready at ",
EHLO www.microsoft.com,
SMTPSubmit SMTPAcceptAnySender SMTPAcceptAuthoritativeDomainSender AcceptRoutingHeaders,Set Session Permissions
250-exchange.domain.com Hello [X.X.X.X],
250-SIZE 36700160,
250-PIPELINING,
250-DSN,
250-ENHANCEDSTATUSCODES,
250-8BITMIME,
250-BINARYMIME,
250 CHUNKING,
Remote(SocketError)

 

I have already tested:

 

- Receive connector on my exchange (Authentication, PermissionGroups, IP scoping, FQDN) is correctly set up.

- TLS certificate for the connector is valid.

- User account for the connection is tested and working.

 

What else could be the problem?

Categories:
I have the same question (0)
  • manuelstgomes Profile Picture
    6,625 on at

    HI @user3371 

     

    Can you please check if there's any kind of restriction (Whitelabel, an IP address, for example) that can be blocking access? 

     

    You can find here the list of IPs that need to be allowed for Power Automate to connect correctly.

     

    I don't know if this will help but hope it does.

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

    Cheers
    Manuel

  • user3371 Profile Picture
    2 on at

    No, there is no any kind of restriction. IP address I have checked, and it's correct.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard