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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It 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

8 REPLIES 8
nandic
Memorable Member
Memorable Member

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?

Rajeshkumaryarl
Helper II
Helper II

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors