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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
HurleyWave
Frequent Visitor

Data Gateway (DM_GWPipeline_UnknownError)

Hello,

I'm trying to connect my SSAS with powerBI but i'm getting this error:

GatewayPipelineErrorCode=DM_GWPipeline_UnknownError
GatewayVersion=
InnerType=AdomdErrorResponseException
InnerMessage=<ccon>The following system error occurred: </ccon>
InnerToString=<ccon>Microsoft.AnalysisServices.AdomdClient.AdomdErrorResponseException: The following system error occurred:
em Microsoft.AnalysisServices.AdomdClient.XmlaClient.CheckForSoapFault(XmlReader reader, XmlaResult xmlaResult, Boolean throwIfError)
em Microsoft.AnalysisServices.AdomdClient.XmlaClient.CheckForError(XmlReader reader, XmlaResult xmlaResult, Boolean throwIfError)
em Microsoft.AnalysisServices.AdomdClient.XmlaClient.SendMessage(Boolean endReceivalIfException, Boolean readSession, Boolean readNamespaceCompatibility)
em Microsoft.AnalysisServices.AdomdClient.XmlaClient.SupportsProperties(IList`1 propertyList)
em Microsoft.AnalysisServices.AdomdClient.XmlaClient.Connect(ConnectionInfo connectionInfo, Boolean beginSession)
em Microsoft.AnalysisServices.AdomdClient.AdomdConnection.XmlaClientProvider.Connect()
em Microsoft.AnalysisServices.AdomdClient.AdomdConnection.ConnectToXMLA(Boolean createSession, Boolean isHTTP)
em Microsoft.AnalysisServices.AdomdClient.AdomdConnection.Open()
em Microsoft.PowerBI.DataMovement.Pipeline.GatewayDataAccess.AdomdConnectionProvider.EstablishAdmodConnection(AdomdConnection connection)
em System.Security.Principal.WindowsIdentity.RunImpersonated[T](SafeAccessTokenHandle safeAccessTokenHandle, Func`1 func)
em Microsoft.PowerBI.DataMovement.Pipeline.GatewayDataAccess.ImpersonatorHelper.RunImpersonatedInternal[T](String userName, SecureString password, Func`1 action)
em Microsoft.PowerBI.DataMovement.Pipeline.GatewayDataAccess.AdomdConnectionProvider.OpenConnectionAsync()</ccon>
InnerCallStack= em Microsoft.AnalysisServices.AdomdClient.XmlaClient.CheckForSoapFault(XmlReader reader, XmlaResult xmlaResult, Boolean throwIfError)
em Microsoft.AnalysisServices.AdomdClient.XmlaClient.CheckForError(XmlReader reader, XmlaResult xmlaResult, Boolean throwIfError)
em Microsoft.AnalysisServices.AdomdClient.XmlaClient.SendMessage(Boolean endReceivalIfException, Boolean readSession, Boolean readNamespaceCompatibility)
em Microsoft.AnalysisServices.AdomdClient.XmlaClient.SupportsProperties(IList`1 propertyList)
em Microsoft.AnalysisServices.AdomdClient.XmlaClient.Connect(ConnectionInfo connectionInfo, Boolean beginSession)
em Microsoft.AnalysisServices.AdomdClient.AdomdConnection.XmlaClientProvider.Connect()
em Microsoft.AnalysisServices.AdomdClient.AdomdConnection.ConnectToXMLA(Boolean createSession, Boolean isHTTP)
em Microsoft.AnalysisServices.AdomdClient.AdomdConnection.Open()
em Microsoft.PowerBI.DataMovement.Pipeline.GatewayDataAccess.AdomdConnectionProvider.EstablishAdmodConnection(AdomdConnection connection)
em System.Security.Principal.WindowsIdentity.RunImpersonated[T](SafeAccessTokenHandle safeAccessTokenHandle, Func`1 func)
em Microsoft.PowerBI.DataMovement.Pipeline.GatewayDataAccess.ImpersonatorHelper.RunImpersonatedInternal[T](String userName, SecureString password, Func`1 action)
em Microsoft.PowerBI.DataMovement.Pipeline.GatewayDataAccess.AdomdConnectionProvider.OpenConnectionAsync()
([1]Microsoft.PowerBI.DataMovement.Pipeline.Diagnostics.GatewayPipelineWrapperException.StackTrace:)
em Microsoft.AnalysisServices.AdomdClient.XmlaClient.CheckForSoapFault(XmlReader reader, XmlaResult xmlaResult, Boolean throwIfError)
em Microsoft.AnalysisServices.AdomdClient.XmlaClient.CheckForError(XmlReader reader, XmlaResult xmlaResult, Boolean throwIfError)
em Microsoft.AnalysisServices.AdomdClient.XmlaClient.SendMessage(Boolean endReceivalIfException, Boolean readSession, Boolean readNamespaceCompatibility)
em Microsoft.AnalysisServices.AdomdClient.XmlaClient.SupportsProperties(IList`1 propertyList)
em Microsoft.AnalysisServices.AdomdClient.XmlaClient.Connect(ConnectionInfo connectionInfo, Boolean beginSession)
em Microsoft.AnalysisServices.AdomdClient.AdomdConnection.XmlaClientProvider.Connect()
em Microsoft.AnalysisServices.AdomdClient.AdomdConnection.ConnectToXMLA(Boolean createSession, Boolean isHTTP)
em Microsoft.AnalysisServices.AdomdClient.AdomdConnection.Open()
em Microsoft.PowerBI.DataMovement.Pipeline.GatewayDataAccess.AdomdConnectionProvider.EstablishAdmodConnection(AdomdConnection connection)
em System.Security.Principal.WindowsIdentity.RunImpersonated[T](SafeAccessTokenHandle safeAccessTokenHandle, Func`1 func)
em Microsoft.PowerBI.DataMovement.Pipeline.GatewayDataAccess.ImpersonatorHelper.RunImpersonatedInternal[T](String userName, SecureString password, Func`1 action)
em Microsoft.PowerBI.DataMovement.Pipeline.GatewayDataAccess.AdomdConnectionProvider.OpenConnectionAsync()
--- End of inner exception stack trace ---
([0]Microsoft.PowerBI.DataMovement.Pipeline.Diagnostics.AdomdDataAccessErrorResponseException.StackTrace:)
em Microsoft.PowerBI.DataMovement.Pipeline.GatewayDataAccess.AdomdConnectionProvider.OpenConnectionAsync()
em Microsoft.PowerBI.DataMovement.Pipeline.GatewayCore.ConnectionStrings.AdoNetDbFullConnectionString.<OpenConnectionAsync>d__17.MoveNext()
--- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida ---
em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
em Microsoft.PowerBI.DataMovement.Pipeline.GatewayCore.AdoNetDbConnectionUtils.<CreateConnectionAsync>d__4.MoveNext()
--- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida ---
em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
em Microsoft.PowerBI.DataMovement.Pipeline.GatewayCore.AdoNetDbConnectionPool.<>c__DisplayClass1_0.<<CreateObjectInstanceAsync>b__0>d.MoveNext()
--- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida ---
em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
em Microsoft.PowerBI.DataMovement.Pipeline.GatewayPipelineTelemetry.PipelineTelemetryService.<ExecuteInActivityAsync>d__7`1.MoveNext()
--- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida ---
em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
em Microsoft.PowerBI.DataMovement.Pipeline.Common.Pool.BasePool`3.<CreatePoolObjectAsync>d__25.MoveNext()
--- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida ---
em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
em Microsoft.PowerBI.DataMovement.Pipeline.Common.Pool.StatelessPool`2.<GetAsync>d__9.MoveNext()
--- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida ---
em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
em Microsoft.PowerBI.DataMovement.Pipeline.GatewayCore.GatewayProcessor.<>c__DisplayClass18_0.<<GetDatabaseConnectionAsync>b__0>d.MoveNext()
--- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida ---
em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
em Microsoft.PowerBI.DataMovement.Pipeline.GatewayPipelineTelemetry.PipelineTelemetryService.<ExecuteInActivityAsync>d__7`1.MoveNext()
--- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida ---
em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
em Microsoft.PowerBI.DataMovement.Pipeline.GatewayCore.GatewayProcessor.<>c__DisplayClass1_0.<<EnsureConnectionAsync>b__0>d.MoveNext()
--- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida ---
em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
em Microsoft.PowerBI.DataMovement.Pipeline.GatewayPipelineTelemetry.PipelineTelemetryService.<ExecuteInActivityAsync>d__7`1.MoveNext()
--- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida ---
em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
em Microsoft.PowerBI.DataMovement.Pipeline.GatewayCore.GatewayProcessorDispatcher.<DispatchImplAsync>d__3.MoveNext()
--- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida ---
em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
em Microsoft.PowerBI.DataMovement.Pipeline.GatewayCore.GatewayProcessorDispatcher.<DispatchAsync>d__1.MoveNext()
--- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida ---
em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
em Microsoft.PowerBI.DataMovement.Pipeline.GatewayCore.Serialization.GatewayDeserializer.<>c__DisplayClass12_0.<<DeserializeAsync>b__0>d.MoveNext()
--- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida ---
em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
em Microsoft.PowerBI.DataMovement.Pipeline.GatewayPipelineTelemetry.PipelineTelemetryService.<ExecuteInActivityAsync>d__7`1.MoveNext()
--- Fim do rastreio da pilha da localização anterior em que a excepção foi emitida ---
em System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
em System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
em Microsoft.PowerBI.DataMovement.Pipeline.GatewayCore.Serialization.GatewayDeserializer.<DeserializeAsync>d__12.MoveNext()
DM.EnterpriseGateway Error: 0 : 2024-06-07T12:25:37.8362938Z DM.EnterpriseGateway fcde03c1-7fd3-476b-929a-845f17b55e42 c7ff5366-57c1-40ba-bc86-27d35b1e6667 MGCC 81683fe0-ec25-4b44-b89b-67cbfd95b03d 0a5020bf-d5cb-42e9-ada4-42375d97a723 0a5020bf-d5cb-42e9-ada4-42375d97a723 8B21C03B [DM.Pipeline.Diagnostics] Exception object created [IsBenign=True]: Microsoft.PowerBI.DataMovement.Pipeline.Diagnostics.AdomdDataAccessErrorResponseException: AdomdException encountered while accessing the target data source.; ErrorShortName: AdomdDataAccessErrorResponseException[ErrorCode=-1056899072,HResult=-2146233088]/Wrapped(AdomdErrorResponseException)[ErrorCode=-1056899072,HResult=-2146233088]
DM.EnterpriseGateway Error: 0 : 2024-06-07T12:25:37.8373606Z DM.EnterpriseGateway fcde03c1-7fd3-476b-929a-845f17b55e42 c7ff5366-57c1-40ba-bc86-27d35b1e6667 MGCC 81683fe0-ec25-4b44-b89b-67cbfd95b03d 0a5020bf-d5cb-42e9-ada4-42375d97a723 0a5020bf-d5cb-42e9-ada4-42375d97a723 590DBA9A [DM.Pipeline.Common.TracingTelemetryService] Event: FireActivityCompletedWithFailureEvent (duration=885, err=AdomdDataAccessErrorResponseException, rootcauseErrorEventId=0)
DM.EnterpriseGateway Error: 0 : 2024-06-07T12:25:37.8373606Z DM.EnterpriseGateway a50b14b2-5cf7-436f-b0d6-144227123524 c7ff5366-57c1-40ba-bc86-27d35b1e6667 MGGC 81683fe0-ec25-4b44-b89b-67cbfd95b03d 0a5020bf-d5cb-42e9-ada4-42375d97a723 0a5020bf-d5cb-42e9-ada4-42375d97a723 590DBA9A [DM.Pipeline.Common.TracingTelemetryService] Event: FireActivityCompletedWithFailureEvent (duration=886, err=AdomdDataAccessErrorResponseException, rootcauseErrorEventId=0)
DM.EnterpriseGateway Error: 0 : 2024-06-07T12:25:37.8373606Z DM.EnterpriseGateway 4d30e8f3-137b-43b7-856d-52f4eda06671 c7ff5366-57c1-40ba-bc86-27d35b1e6667 MGOC 81683fe0-ec25-4b44-b89b-67cbfd95b03d 0a5020bf-d5cb-42e9-ada4-42375d97a723 0a5020bf-d5cb-42e9-ada4-42375d97a723 590DBA9A [DM.Pipeline.Common.TracingTelemetryService] Event: FireActivityCompletedWithFailureEvent (duration=886, err=AdomdDataAccessErrorResponseException, rootcauseErrorEventId=0)
DM.EnterpriseGateway Error: 0 : 2024-06-07T12:25:37.8373606Z DM.EnterpriseGateway d56bd371-d59c-4726-85fa-07c567084a15 c7ff5366-57c1-40ba-bc86-27d35b1e6667 MGPP 81683fe0-ec25-4b44-b89b-67cbfd95b03d 0a5020bf-d5cb-42e9-ada4-42375d97a723 0a5020bf-d5cb-42e9-ada4-42375d97a723 590DBA9A [DM.Pipeline.Common.TracingTelemetryService] Event: FireActivityCompletedWithFailureEvent (duration=887, err=AdomdDataAccessErrorResponseException, rootcauseErrorEventId=0)
DM.EnterpriseGateway Error: 0 : 2024-06-07T12:25:37.8373606Z DM.EnterpriseGateway 43407ed4-666b-4857-a5ae-f97d595e272b c7ff5366-57c1-40ba-bc86-27d35b1e6667 MDSR 81683fe0-ec25-4b44-b89b-67cbfd95b03d 0a5020bf-d5cb-42e9-ada4-42375d97a723 0a5020bf-d5cb-42e9-ada4-42375d97a723 4C1EF73E [DM.GatewayCore] Error processing request: [0]Microsoft.PowerBI.DataMovement.Pipeline.Diagnostics.AdomdDataAccessErrorResponseException: AdomdException encountered while accessing the target data source.

Can ayone help me?

Thanks

Versions:
SQL server:

HurleyWave_0-1717785088981.png


SSAS:

HurleyWave_1-1717785144202.png


SSIS:

HurleyWave_2-1717785193704.png

 

1 ACCEPTED SOLUTION

Hi, @HurleyWave 

First of all, sorry for my late reply. Thank you very much for your reply. I looked up information like this, and when connecting to SSAS data sources, the Power BI gateway only supports Windows authentication.
The Windows account you enter must be a member of the Server Administrator role on the instance of Analysis Services you want to connect to. If the password for this account is set to expire, the user will receive a connection error unless you update the data source password.

You open the link below and use the method mentioned in the document to get your correct account number.

Manage SQL Server Analysis Services data sources - Power BI | Microsoft Learn

vjianpengmsft_0-1718870671554.png

 

 

Best Regards

Jianpeng Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

10 REPLIES 10
SaiTejaTalasila
Super User
Super User

Hello @SaiTejaTalasila ,

Thank you for your reply,

Are you saying that there is no way round this problem?

v-jianpeng-msft
Community Support
Community Support

Hi, @HurleyWave 

Are the server names, database names, and credentials that you are connecting to SSAS on Power BI Service correct? Are you able to connect to your SSAS properly on Power BI Desktop? 

Secondly, you should make sure that the above information is correct and that the current account has the relevant read permissions. Based on the error you provided, it is indicated: AdomdErrorResponseException. It is also possible that the communication between the SSAS and the gateway is blocked.

You can check if the steps in the official documentation below are consistent with your steps:

Manage SQL Server Analysis Services data sources - Power BI | Microsoft Learn

vjianpengmsft_0-1718072902297.png

Troubleshoot gateways - Power BI | Microsoft Learn

vjianpengmsft_1-1718073101836.png

Troubleshoot the on-premises data gateway | Microsoft Learn

vjianpengmsft_2-1718073154781.png

 

 

 

 

 

How to Get Your Question Answered Quickly

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

Best Regards

Jianpeng Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

Hello @v-jianpeng-msft  thank you for replying,
I followed the url - Manage SQL Server Analysis Services data sources - Power BI | Microsoft Learn
And i have no problem connecting the analysis service with PBI desktop, and i'm using my machine user, which is the admin of Analysis service itself

HurleyWave_0-1718134543849.png


i've already saw the other urls that you shared, and the error output is the output itself of gateway.

As you can see my gateway is online and runing with no problem

HurleyWave_1-1718135102612.png

HurleyWave_3-1718135326037.png

 

HurleyWave_4-1718135373940.png

 

HurleyWave_5-1718135418800.png

 

HurleyWave_6-1718135486483.png

 



I just want to share my dashboard with other people an it appers the following error:

HurleyWave_2-1718135279782.png

 

HurleyWave_7-1718135541073.png

 

Hi, @HurleyWave 

Thank you very much for your reply. I saw the picture you provided, and on the management gateway connection interface, you get an error:
1. There was an error while saving. An error occurred while trying to save the changes,
2. There was an error accessing the data source and it is recommended to contact the gateway administrator
I see that your gateway is online, you can check if your data source is online:

vjianpengmsft_0-1718156084671.png

When you share the dashboard with other users:
All resources are busy. Please try again and refresh the gateway
This error indicates that the dashboard resources you are trying to access are overloaded. Does your dashboard have many tiles that cause the gateway to be exceeded. Can you set up a dashboard with only one or two visuals to test if the current problem is caused by too many visuals being displayed in one dashboard.

 

 

 

 

How to Get Your Question Answered Quickly

If it does not help, please provide more details with your desired output and pbix file without privacy information (or some sample data) .

Best Regards

Jianpeng Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hello @v-jianpeng-msft ,

thank you for your replying, And you were right, I have a problem with the analysis service connection, it asks me to enter credentials, but I have no authentication method other than "Widows without representation", how can I change that?



HurleyWave_0-1718232396936.png

HurleyWave_1-1718233590640.png

 

Hi, @HurleyWave 

Thank you very much for your reply. You can re-establish a gateway connection in Power BI Service and configure that semantic model to your new gateway connection, you can refer to the following tutorial:

Manage SQL Server Analysis Services data sources - Power BI | Microsoft Learn

vjianpengmsft_0-1718245509362.png

vjianpengmsft_1-1718245730873.png

vjianpengmsft_2-1718245771603.png

 

 

Best Regards

Jianpeng Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

Hello @v-jianpeng-msft ,
Thanks again for the interactions, they were very useful.

Unfortunately, even following the tutorial you've indicated, I'm still having problems changing the authentication method. The problem is with the personal gateway. It's online (as you can see in the images) but I can't create another connection with the same gateway, but with the right authentication method. The session id is "7ccff52b-3587-4c29-a5bd-76deb086bb69"

HurleyWave_0-1718316201540.png

HurleyWave_1-1718316393100.png

I can only create a gateway from the enterpise gateway, which doesn't solve anything since it's operational.

HurleyWave_2-1718316479888.png

HurleyWave_3-1718317474091.png

 


Is there any other way to change the authentication method, such as changing a file with a .dll or .config extension?

Hi, @HurleyWave 

First of all, sorry for my late reply. Thank you very much for your reply. I looked up information like this, and when connecting to SSAS data sources, the Power BI gateway only supports Windows authentication.
The Windows account you enter must be a member of the Server Administrator role on the instance of Analysis Services you want to connect to. If the password for this account is set to expire, the user will receive a connection error unless you update the data source password.

You open the link below and use the method mentioned in the document to get your correct account number.

Manage SQL Server Analysis Services data sources - Power BI | Microsoft Learn

vjianpengmsft_0-1718870671554.png

 

 

Best Regards

Jianpeng Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

HurleyWave
Frequent Visitor

Just and update:

In order to try to solve the problem, I have upgrade my things to this (but the same problem shows):

datagateway: 3000.222.5 (May 2024)

SSAS: BUILD 16.0.1000.6
SSIS: BUILD 16.0

SSMS: 20.1
SQL Server: Microsoft SQL Server 2022 (RTM-GDR) (KB5035432) - 16.0.1115.1 (X64) Mar 15 2024 01:13:46 Copyright (C) 2022 Microsoft Corporation Developer Edition (64-bit) on Windows 10 Home 10.0 <X64> (Build 19045: )

 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

Check out the August 2024 Power BI update to learn about new features.

August Carousel

Fabric Community Update - August 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors