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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
kaptainkk
New Member

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

 

2 REPLIES 2
ReportMaster
Post Patron
Post Patron

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:

 

SALESFORCE-1.png

 

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:

 

SALESFORCE-2.png

 

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. 

 

SELECT_DESTINATION_NEW.png

Anonymous
Not 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-sa...

Regards,
Lydia

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.