Forum Discussion
Service Gateway Updates Fails while working in Desktop (Service settings are ok)
Hi mpros
Your custom function works in Power BI Desktop but fails in the Power BI Service due to a gateway issue when accessing the SharePoint Excel file.
Key points:
- Error Cause: The gateway cannot access the SharePoint data source, returning a DataSource.Error.
- Root Problem: Likely related to authentication or incorrect configuration of the data source in the Power BI Service.
- Tried Solutions: Mapping the data source both to cloud and on-premises gateways gave the same error.
- Recommendations:
- Verify that the SharePoint data source credentials in Power BI Service are correctly configured.
- Ensure the gateway is set to support cloud sources like SharePoint.
- If using OAuth authentication, confirm itβs supported and configured properly in the gateway and Power BI Service.
Further troubleshooting might involve testing direct access to the SharePoint file from the gateway machine.
Did I answer your question? Mark my post as a solution, this will help others!
If my response(s) assisted you in any way, don't forget to drop me a "Kudos" π
Kind Regards,
Poojara
Data Analyst | MSBI Developer | Power BI Consultant
Please Subscribe my YouTube for Beginners/Advance Concepts: https://youtube.com/@biconcepts?si=04iw9SYI2HN80HKS
- mpros1 year agoHelper I
Dear Poojara_D12 ,
Credentials and OAuth2 configured correctly in gateway and cloud; I have so many models running on top of that that gets updated by service job consistently:It only occurs with combination of custom function that queries dynamically on Oracle DB
Ciao- lbendlin1 year agoSuper User
This issue is usually caused be merging a cloud data source with an on-premise data source. The "solution" is to add a gateway connection for the cloud data source. Yes, crazy. And irreversible too. Try at your own peril.
- mpros1 year agoHelper I
Dear,
have already tried to add a gateway connection for cloud ds. Doesn't work either.
Ciao