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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
nandic
Super User
Super User

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

8 REPLIES 8
nandic
Super User
Super User

No big update from my side. 
Still same issues. 
Solution: workaround as mentioned in previous post.

Ryszard_ReclikA
Frequent Visitor

Does anyone solved this issue? Can you share the solution? I am also experiencing it. 

yuri98
New Member

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

Anonymous
Not applicable

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
Super User
Super User

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
Super User
Super User

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.