Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
jakubpetr
Frequent Visitor

Gateway authentication timeout

I installed On-premise datagateway but I authentication fails after a long time. (probably timeout) 

 

Where I am stuck: https://i.imgur.com/4Sb3cAu.png

 

I tried to:

- restart the gateway

- allow every inbound and outbound connection to Microsoft.PowerBI.EnterpriseGateway.exe and EnterpriseGatewayConfigurator.exe

 

 

 

Server stack trace:
v System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
v System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
v System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
v System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
v System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

Exception rethrown at [0]:
v System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
v System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
v Microsoft.PowerBI.DataMovement.Pipeline.ConfigurationContracts.IGatewayConfigurationService.UpdateGatewayConfiguration(UpdateGatewayConfigurationRequest request, Boolean copyKeyAsLegacy, Int32 maxRetries)
v Microsoft.PowerBI.DataMovement.Pipeline.GatewayClient.GatewayConfigurationClient.UpdateGatewayConfiguration(UpdateGatewayConfigurationRequest request, Boolean copyKeyAsLegacy, Int32 maxRetries)
--- Konec trasování zásobníku pro vnitřní výjimku ---
v Microsoft.PowerBI.DataMovement.Pipeline.GatewayClient.GatewayConfigurationClient.UpdateGatewayConfiguration(UpdateGatewayConfigurationRequest request, Boolean copyKeyAsLegacy, Int32 maxRetries)
v Microsoft.PowerBI.DataMovement.GatewayCommon.DmtsGatewayCreation.UpdateGatewayConfiguration(CreateGatewayResponse createResponse, SecureString recoveryKey, String salt, SecureString legacyRecoveryKey, String legacySalt, Uri backendUri, String containerName, Boolean copyKeyAsLegacy, Int32 maxRetries)
--- Konec trasování zásobníku pro vnitřní výjimku ---
v Microsoft.PowerBI.DataMovement.GatewayCommon.DmtsGatewayCreation.UpdateGatewayConfiguration(CreateGatewayResponse createResponse, SecureString recoveryKey, String salt, SecureString legacyRecoveryKey, String legacySalt, Uri backendUri, String containerName, Boolean copyKeyAsLegacy, Int32 maxRetries)
v Microsoft.PowerBI.DataMovement.GatewayCommon.DmtsGatewayCreation.CreateClusterGateway(String gatewayName, SecureString recoveryKey, String salt, SecureString legacyRecoveryKey, String legacySalt, Uri dmtsBackendUri, Guid anchorGatewayObjectId)
v Microsoft.PowerBI.DataMovement.EnterpriseGatewayConfigurator.WizardRestoreViewModel.RestoreClusterGateway(SecureString recoveryKeyBox, SecureString newRecoveryKeyBox, SecureString confirmRecoveryKeyBox, SecureString legacyRecoveryKeyBox, Uri dmtsBackend)
v Microsoft.PowerBI.DataMovement.EnterpriseGatewayConfigurator.WizardRestoreViewModel.DoOk(Object param)
v Microsoft.PowerBI.DataMovement.GatewayUiCommon.WizardViewModelBase.DoOkWorker(Object param)
v Microsoft.PowerBI.DataMovement.GatewayUiCommon.RelayCommand.<>c__DisplayClass19_0.<Execute>b__0()
EnterpriseGatewayConfigurator.exe Information: 0 : Update checks
EnterpriseGatewayConfigurator.exe Information: 0 : Create web request for Uri: http://www.msftncsi.com/ncsi.txt
EnterpriseGatewayConfigurator.exe Error: 0 : System.AggregateException: Došlo k jedné nebo více chybám.
v Microsoft.PowerBI.DataMovement.GatewayCommon.Checks.CheckManager.<RunChecks>d__5.MoveNext()
--- Konec trasování zásobníku pro vnitřní výjimku ---
 (Inner Exception #0) System.TimeoutException: Časový limit operace vypršel.
v Microsoft.PowerBI.DataMovement.GatewayCommon.Checks.CheckManager.<RunChecks>d__5.MoveNext()

 

 

1 REPLY 1
GilbertQ
Super User
Super User

Hi there

I would chat to your Office 365/Azure Active Directory Admin to see if there are any company policies blocking you from logging into the Power BI Service?




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!







Power BI Blog

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.