Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hello,
We have been trying to connect to a Salesforce Report through Power BI (Power Query) using the Salesforce Reports Connector. We have already submitted a case through Salesforce Support and they have said the account we are using is set up correctly by the Salesforce Admin with the appropriate permissions and they have pushed the issue back to Power BI.
We have followed this documentation: https://learn.microsoft.com/en-us/power-query/connectors/salesforce-reports
I have verified I can connect with these credentials using the Salesforce Objects connector but I am unable to access a specific report I would like to use in Power BI. I don't want to build an entire data model inside of Power BI, I just want to build visuals/measures from a prebuilt custom report in Salesforce.
This is the error I receive when using the Salesforce Reports connector:
Copilot suggested there is an alternate method of connecting (see below step by step which I haven't tried yet but plan to once I receive more info from our client)
What Copilot Says:
Technical Summary – Power BI + Salesforce Report Integration
Root Cause of Error Salesforce Reports are not standard sObjects and therefore do not support the sObject Describe REST endpoint. Any call to: /services/data/vXX.X/sobjects/Report/describe will return 404 Not Found by design. Power BI surfaces this error when a connector or query assumes Reports behave like objects.
Supported API for Reports Salesforce exposes reports exclusively through the Reports & Dashboards (Analytics) REST API, not the sObject API.
Correct Endpoint Pattern To run and retrieve data from a report: /services/data/vXX.X/analytics/reports/{ReportId}?includeDetails=true
· {ReportId} is the 15- or 18-character Salesforce Report ID (prefix 00O)
· includeDetails=true is required to return row-level data
· Authentication must be OAuth 2.0 using a user with access to the report
Power BI Implementation
· Use Get Data → Web (Advanced)
· Provide the Analytics API URL above
· Authenticate using Salesforce OAuth (Organizational Account)
· Do not use the Salesforce Objects connector
Response Structure (Expected) Salesforce returns JSON containing:
· reportMetadata (column definitions, grouping)
· factMap (actual data)
Row-level values are located at: factMap → <key ending in .T!T> → rows → dataCells
Power BI must expand and flatten these nodes during transformation.
Operational Considerations
· Report changes (column order, filters) can require Power Query step updates
· Reports are subject to Salesforce row and execution limits
· Tabular reports without complex groupings are the most stable for refresh
Why This Approach Is Required
· Reports are not first-class sObjects in Salesforce
· Salesforce intentionally separates reporting APIs from data APIs
· The Analytics REST API is the only supported mechanism for consuming report data externally
This design avoids object-based modeling, aligns with Salesforce API architecture, and prevents Web.Contents describe failures in Power BI.
Has anyone successfully used the Salesforce Reports connector? If so, how did you work around this issue?
Solved! Go to Solution.
Thankyou, @lbendlin, for your response.
Hi _megynmc,
Based on our understanding, the 404 error on /services/data/v48.0/sobjects/Report/describe indicates that Power BI is authenticating successfully, but Salesforce is not exposing the Report object metadata endpoint via the REST API. This issue is typically related to API accessibility or permissions.
Please request your Salesforce Administrator to verify that REST API access to the Report object is enabled, that the user has API Enabled, Run Reports, Export Reports, and appropriate folder access permissions. It is advisable to test the endpoint via Salesforce Workbench or REST Explorer. You may also perform a test with a simple tabular report located in an accessible folder to isolate configuration issues.
Your scenario is supported subject to Salesforce limitations, such as the 2,000 row cap. If API access is confirmed and the issue persists, we kindly request you to raise a support ticket using the link provided:Microsoft Fabric Support and Status | Microsoft Fabric
We hope that the information provided helps to resolve the issue. Should you have any further queries, please feel free to contact the Microsoft Fabric community.
Thank you.
Hi _megynmc,
We are pleased to note that your issue has been resolved. Thank you for sharing your insights and approach in resolving the issue, which will be beneficial to other members of the community. Should you have any further queries, please feel free to contact the Microsoft Fabric community.
Thank you.
Hi _megynmc,
We are following up to check whether the support ticket raised from your end has given a solution to the issue. If it has, we kindly request you to share the solution with the community, as this will help others who face similar problems and benefit the broader community.
Thank you.
Thankyou, @lbendlin, for your response.
Hi _megynmc,
Based on our understanding, the 404 error on /services/data/v48.0/sobjects/Report/describe indicates that Power BI is authenticating successfully, but Salesforce is not exposing the Report object metadata endpoint via the REST API. This issue is typically related to API accessibility or permissions.
Please request your Salesforce Administrator to verify that REST API access to the Report object is enabled, that the user has API Enabled, Run Reports, Export Reports, and appropriate folder access permissions. It is advisable to test the endpoint via Salesforce Workbench or REST Explorer. You may also perform a test with a simple tabular report located in an accessible folder to isolate configuration issues.
Your scenario is supported subject to Salesforce limitations, such as the 2,000 row cap. If API access is confirmed and the issue persists, we kindly request you to raise a support ticket using the link provided:Microsoft Fabric Support and Status | Microsoft Fabric
We hope that the information provided helps to resolve the issue. Should you have any further queries, please feel free to contact the Microsoft Fabric community.
Thank you.
The Salesforce Admin updated something on their end, which finally allowed the reports to be exposed. I am guessing that it was in, in fact, related to the REST API because now I can see all of the reports including the one I was looking for.
Hi @_megynmc ,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions
Thank you.
I have a scheduled call with Microsoft support today.
Hi @_megynmc ,
If you have any further questions or need additional assistance, please feel free to reach out here anytime.
Thank you.
The Salesforce Reports connector works "fine" (if you ignore the infuriating 2000 row limit imposed by Salesforce). Most likely your SFDC AA team has set the API limit higher than 48. Try using 64 or higher.
That Copilot response is despicable, to say it nicely.
Hello! Thank you for your response. Yeah I was kind of grabbing at straws; the Salesforce Support reps weren't of much help either and suggested a ticket with Microsoft lol.
Did you mean 'hasn't set' rather than 'has set'? Just checking since it makes a difference - I will follow up with the Salesforce Admin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 8 | |
| 8 | |
| 6 | |
| 6 | |
| 5 |