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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Connect Power BI to Salesforce Sandbox Report

Is there a way to connect Power BI to Salesforce Sandbox Report ?

 

The standard production and custom does not allow.

 

I tried with advance editor by using salesforce report code, but it fail

3 REPLIES 3
OscarTh
New Member

I'm not exactly sure, but you could try integrating via Skyvia

v-yuezhe-msft
Employee
Employee

@Anonymous,

What error message do you get in Advanced Editor? Based on the following similar trhead, you are able to use https://test.salesforce.com for all sandbox accounts.

https://social.technet.microsoft.com/Forums/en-US/dc66d551-e4b8-4677-85ec-05dd8634cc39/connect-to-salesforce-sandbox?forum=powerquery

http://community.powerbi.com/t5/Desktop/Power-BI-Desktop-salesforce-object-connector-quot-please-specify/td-p/68459

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hi Lydia, @v-yuezhe-msft

 

I tried connect via custom, by using: https://test.salesforce.com  and when I input my credentials,

I received this error : The service returned an invalid token. Please contact your IT administrator if this issue persists.

 

When I connect to production, and go to advance editor to repalced any report ID code to Sandbox report ID codem for example

from "00O44000003pq6dEAB" to "00O1g000000OWCYEA5", I received as of below :

 

DataSource.Error: Web.Contents failed to get contents from 'https://***.my.salesforce.com/services/data/v29.0/analytics/reports/00O1g000000OWCYEA5?includeDetail...' (404): Not Found
Details:
DataSourceKind=Salesforce
DataSourcePath=https://login.salesforce.com/
Url=https://****.my.salesforce.com/services/data/v29.0/analytics/reports/00O1g000000OWCYEA5?includeDetai...

 

Is it because my data source path is still production and not custom ?

 

How do I go about login through custom ? My salesforce admin must provvde what access right, so I can access the sandbox mode ?

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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