cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RhysI New Member
New Member

Enterprise Gateway service crashes on valid windows user identity

Hi Folks,

 

Am trying to troubleshoot an Power BI SaaS Enterprise Gateway data connection to a SQL Server 2014 instance hosted in a Windows Server 2012 R2 VM on Azure.  The hope is to connect to this SQL Server instance using windows auth.

 

Unfortunately instead of this wokring I am getting the most unhelpful "Unknown error in Enterprise Gateway". Details of a the response in the UI are exemplified by the following:

 

 

Cluster URI:	https://wabi-australia-southeast-redirect.analysis.windows.net
Status code:	400
Error Code:	DM_GWPipeline_UnknownError
Time:	Mon Jun 13 2016 01:46:23 GMT+1000 (AEST)
Version:	13.0.1500.201

Digging further, I found the following information within the log file in the directory C:\Users\PBIEgwService\AppData\Local\Microsoft\Power BI Enterprise Gateway:

 

 

 

DM.EnterpriseGateway Information: 0 : 2016-06-12T15:39:36.7818409Z DM.EnterpriseGateway	00000000-0000-0000-0000-000000000000	00000000-0000-0000-0000-000000000000	0000	00000000-0000-0000-0000-000000000000	0E6D6CC9 [DM.GatewayCore] Successfully created and started service host for 'Transfer service'
DM.EnterpriseGateway Information: 0 : 2016-06-12T15:40:55.8762142Z DM.EnterpriseGateway	8c66c682-8146-4701-8243-8bf272d00071	09fca51f-4f23-5385-be79-b2559ed99e7c	MGPP	17b438d4-6d04-5f18-c615-507d9557ddde	7683252B [DM.GatewayCore] Deserialized EncryptCredentialsWithTestConnectionRequest, executing

Starting trace on 6/12/2016 3:40:57 PM UTC
Version: 13.0.1100.518


DM.EnterpriseGateway Information: 0 : 2016-06-12T15:40:57.6905124Z DM.EnterpriseGateway	00000000-0000-0000-0000-000000000000	00000000-0000-0000-0000-000000000000	0000	00000000-0000-0000-0000-000000000000	77C42AFE [DM.EnterpriseGateway] Starting Enterprise gateway service

Line #2 above has the description "Deserialized EncryptCredentialsWithTestConnectionRequest", and the next thing it looks like the Enterprise Gateway service is starting (Line #8 description "Starting Enterprise gateway service"). Sure enough, at the exact same time in the System Event Log I can find the following:

 

 

Log Name:      System
Source:        Service Control Manager
Date:          6/12/2016 3:40:57 PM
Event ID:      7031
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Description:
The Power BI Gateway – Enterprise Service service terminated unexpectedly.  It has done this 1 time(s).  The following corrective action will be taken in 0 milliseconds: Restart the service.

Exploring further, I've found that if I try and connect as a windows identity which does not exist in the VM's domain then the Enterprise Gateway service does not crash and logs useful error messages (eg. "Error logging on user...", "Error impersonating a user", "The user name or password is incorrect" etc), and also returns useful error codes back to the Power BI UI for display.

 

 

Any assistance in resolving these crashes and getting Enterprise Gateway working with Windows auth will be greatly appreciated! Note that creating a dedicated SQL Server account and and connecting using these credentials via the "Basic" (SQL Server?) authentication method to the same Azure VM works fine... just so long as I open port 1433 to the internet - definately not something I plan to use as a long term solution!

 

Regards,

 

Rhys

 

 

1 REPLY 1
RodCon Frequent Visitor
Frequent Visitor

Re: Enterprise Gateway service crashes on valid windows user identity

I have a similar issue but I am trying to integrate for the first time with Xero. Error is below:

 

Something went wrong.
 
Failed to update model parameters. Please try again later.
Please try again later or contact support. If you contact support, please provide these details.

 

Activity ID29d5248b-fa3b-4793-95d9-57166850162a
Request ID11d11342-ea61-ddbe-845a-1e4c1a870fd5
Correlation ID430cf10e-50b3-eb9b-31e1-d67f26982db2
Status code500
TimeSat Jul 16 2016 00:07:49 GMT+1000 (AUS Eastern Standard Time)
Version13.0.1500.395

 

Helpful resources

Announcements
Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 118 members 1,575 guests
Please welcome our newest community members: