cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
nandic
Memorable Member
Memorable Member

DM_GWPipeline_Gateway_InvalidConnectionCredentials - Sharepoint

Hi,

I am using Sharepoint files as data source for multiple reports on Power BI Service, refresh is scheduled automatically and it works. These files are marged with other data from SAP, Azure SQL Database and we use gateway for on premise data.
But refresh fails for 1 big dataset (1 gb) and the issue is that there is no rule when it fails.
Example: it is refreshed successfully several days and then one day it fails.
Notes:
1) we are using power bi premium

2) sharepoint credentials are entered, saved and are not changed

3) all other datasets that use these same Sharepoint files and credentials never failed refreshed

 

Here is the error:

{"error":
{"code":"DM_GWPipeline_Gateway_InvalidConnectionCredentials"
,"pbi.error":
{"code":"DM_GWPipeline_Gateway_InvalidConnectionCredentials"
,"parameters":{}
,"details":
[
{"code":"DM_ErrorDetailNameCode_UnderlyingErrorCode"
,"detail":{"type":1,"value":"-2147467259"}
}
,{"code":"DM_ErrorDetailNameCode_UnderlyingErrorMessage"
,"detail":{"type":1,"value":"The credentials provided for the SharePoint source are invalid. (Source at https://..."}
}
,{"code":"DM_ErrorDetailNameCode_UnderlyingHResult"
,"detail":{"type":1,"value":"-2147467259"}
}
,{"code":"Microsoft.Data.Mashup.CredentialError.DataSourceKind"
,"detail":{"type":1,"value":"SharePoint"}
}
,{"code":"Microsoft.Data.Mashup.CredentialError.DataSourceOriginKind"
,"detail":{"type":1,"value":"SharePoint"}
}
,{"code":"Microsoft.Data.Mashup.CredentialError.DataSourceOriginPath"
,"detail":{"type":1,"value":"https://..."}
}
,{"code":"Microsoft.Data.Mashup.CredentialError.DataSourcePath"
,"detail":{"type":1,"value":"https://..."}
},
{"code":"Microsoft.Data.Mashup.CredentialError.Reason"
,"detail":{"type":1,"value":"AccessUnauthorized"}
}
,{"code":"Microsoft.Data.Mashup.MashupSecurityException.DataSources"
,"detail":{"type":1,"value":"[{\"kind\":\"SharePoint\",\"path\":\"https://..."}
]"}
}
,{"code":"Microsoft.Data.Mashup.MashupSecurityException.Reason"
,"detail":{"type":1,"value":"AccessUnauthorized"}}
]
,"exceptionCulprit":1
}
}
}


Thanks in advance,
Nemanja Andic

6 REPLIES 6
yuri98
New Member

I am also having a similar problem. Is there news about the issue?

Hi Nimenja. I am also facing a similar issue with Gateway. Can you please let me know what you did to get through off from this issue ?

nandic
Memorable Member
Memorable Member

Hi @snippy506 , Microsoft is still looking at logs, no significant help yet (2 months open ticket).
Our alternative: we moved data from Sharepoint to Azure SQL Database. Here we had new error, data mashup issues, couldn't merge tables between Azure and SAP on premise. 
Solution was that we did lookup columns instead of merging tables. This seems to be working for now, no issues.
However, looking forward to hearing from Microsoft what was the issue and how to solve it.

Cheers,
Nemanja A.

nandic
Memorable Member
Memorable Member

Hi @lbendlin ,

Yes, as you suggested, we contacted support yesterday, we will track logs.
Furthermore, at this time (morning hours) there is heavier load on daily jobs, but we were interesting to see why it fails ocasionally only for this one dataset.
Sending feedback, hopefully logs will be useful.

 

Thank you,
Nemanja 

Hi @nandic , Did the logs show anything as to the cause of your issue? I am experiencing something similiar.

lbendlin
Super User
Super User

Since you have a Pro license you can raise a Pro support ticket at support.powerbi.com - the support team can check the activity log for any clues.

 

You may also want to talk to the sharepoint admins to see if they have an opinion on the timing - maybe it coincides with heavy load on the farm.

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors