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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Onpremise Gateway Serv...
Power Automate
Unanswered

Onpremise Gateway Server Configuration-Unable to establish connection

(0) ShareShare
ReportReport
Posted on by 2

Hi,

 

I had installed On premise gateway server application & configured the proxy settings in EnterpriseGatewayConfigurator.exe.config, Microsoft.PowerBI.EnterpriseGateway.exe.config & Microsoft.Mashup.Container.NetFX45.exe.config as per the documentation. Still unable to complete the configuration as i'm getting the error @ the first configuration screen itself.

OPGError.png

Also found the below error in Gateway configurator log

 

EnterpriseGatewayConfigurator.exe Error: 0 : Exception: Microsoft.PowerBI.DataMovement.GatewayCommon.EmailDiscoveryServiceException: Network request returned unexpected error. ---> System.Net.Http.HttpRequestException: An error occurred while sending the request. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 51.116.144.128:443
at System.Net.Sockets.Socket.InternalEndConnect(IAsyncResult asyncResult)
at System.Net.Sockets.Socket.EndConnect(IAsyncResult asyncResult)
at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
--- End of inner exception stack trace ---
at System.Net.HttpWebRequest.EndGetRequestStream(IAsyncResult asyncResult, TransportContext& context)
at System.Net.Http.HttpClientHandler.GetRequestStreamCallback(IAsyncResult ar)
--- End of inner exception stack trace ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.PowerBI.DataMovement.GatewayCommon.ConfiguratorClientExtensions.<DiscoverEmailProperties>d__8.MoveNext()
--- End of inner exception stack trace ---

 

Appreciate help on the same.

Thanks.

Categories:
I have the same question (0)
  • edgarsimoes Profile Picture
    Microsoft Employee on at

    Hello, @rajvarma 

     

    Please consider this documentation to resolve your issue:

    Troubleshoot the on-premises data gateway | Microsoft Docs

     

    I must say, that your issue is common to happen due to internal company policy that you may be facing from your IT Admin.

     

    Please try to follow the documentation, but if you can't resolve this, contact your IT Admin.

     

    Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

     

    Happy automating,

     

    Edgar Simões

  • rajvarma Profile Picture
    2 on at

    Thanks Edgar .

     

    Found out some more ports needs to be allowed in firewall. Waiting for the firewall requests to get completed for further testing 🙂

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 58

#2
David_MA Profile Picture

David_MA 53 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 36 Most Valuable Professional

Last 30 days Overall leaderboard