Forum Discussion
PowerBI-SFDC custom domain 404
Hello folks,
I am using PowerBI desktop and looking to to connect to our production 'custom domain' salesforce install.
I select 'use custom domain' in the salesforce login page, enter the right custom domain, which creates the expected custom domain url. This url is accesible from a browser on the same pc, but clicking continue results in a 404 - File or directory not found.
Wondering why PowerBI cant reach the url which my browsers can?
Do I need special roles on SFDC? Any non standard ports? Thanks
AR
3 Replies
- AnonymousNot applicable
kaptainkk,
Based on my research, the above error could occur due to incorrect URL.
Add a blank query in Power BI, and paste the following code into Advanced Editor of the blank query, then check if you can connect to salesfore custom domain.
There are a similar blog and a similar thread for your reference.
https://george-qiao.com/2015/02/14/use-power-query-to-connect-to-salesforce-custom-domain/
https://social.technet.microsoft.com/Forums/en-US/dc66d551-e4b8-4677-85ec-05dd8634cc39/connect-to-salesforce-sandbox?forum=powerquery
Regards,
Lydia - ReportMasterPost Partisan
Hi kaptainkk were you able to find a solution? As a workaround, maybe you can try to test your connection with a 3rd party connector. I've tried windsor.ai, supermetrics and funnel.io. I stayed with windsor because it is much cheaper so just to let you know other options. In case you wonder, to make the connection first search for the Salesforce connector in the data sources list:
After that, just grant access to your Salesforce account using your credentials, then on preview and destination page you will see a preview of your Salesforce fields:
There just select the fields you need. It is also compatible with custom fields and custom objects, so you'll be able to export them through windsor. Finally, just select PBI as your data destination and finally just copy and paste the url on PBI --> Get Data --> Web --> Paste the url.
- metricaPost Prodigy
Hi kaptainkk
For the native Salesforce connector, select Custom and use the Salesforce My Domain login URL:
https://yourdomain.my.salesforce.com
Do not use a Lightning URL such as yourdomain.lightning.force.com, since Lightning URLs are not supported. If necessary, clear the saved permissions before reconnecting.
Power BI Connector for Salesforce also provides an alternative connection using an app-specific token and OData source.
AppExchange and 30-day free trial:
https://appexchange.salesforce.com/appxListingDetail?listingId=31526f0e-abd8-4cb5-bd1a-3bd56b5c0577Docs and support:
https://metricasoftware.com/docs/salesforce/
https://metricasoftware.com/docs/salesforce/contact-support/Cheers,
Metrica Team