web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

FetchXML NOT Retrieving Data From Provided Datasource

(0) ShareShare
ReportReport
Posted on by 20

I am baffled as to why I cannot get a very simple report to provide me with expected information when I run it in the sandbox vs when I preview it in VS 2019.

I downloaded a simple report from my sandbox environment. I mean it is simple - you'll see below.

Data Source In VS 2019 - showing our dev environment; copied/pasted the URI from Developer Resources module in the sandbox.

Report_5F00_Source.png

Dataset properties in VS 2019 showing tied to Data source above.

Report_5F00_DataSet_5F00_0.png

The query (told you it is simple):
<fetch version="1.0" output-format="xml-platform" mapping="logical" distinct="true">
<entity name="businessunit">
<attribute name="businessunitid"/>
<attribute name="name"/>
</entity>
</fetch>

Results:

VS 2019 Preview - These business units are from my production environment. They're legitimate, but, they don't all exist in the data source to which I'm supposedly connected.

Results_5F00_Preview.png

Browser (Sandbox) - These are the business units that I would expect to see when I preview the report in VS 2019.

Results_5F00_Sandbox.png

There are 9 results in Sandbox and only 7 in the VS 2019 preview despite having the same data source - not even the id's match. I am expecting to see Manufacturing, Warehouse, Operations & Marketing when viewing in VS 2019.


Troubleshooting steps taken:
Deleted the local rdl.data file on multiple occasions
Whenever prompted to use cached credentials, I select No and re-enter them.
Disabled / Enabled Microsoft Reporting Services Tools
Installed / Repaired MS Report Authoring Extension

What else could I be missing?

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    Hi Neil78,

    Do you have multiple Organizations?  If so, please make sure you select the correct one:

    pastedimage1662101993287v1.png

  • Neil78 Profile Picture
    20 on at

    Eureka!

    That was it. In all my troubleshooting, I did not check the box to list all available orgs.

    Thank you for your reply and suggestion.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Pallavi Phade Profile Picture

Pallavi Phade 102 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 71

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 55 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans