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?