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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / TDS Endpoint, SELECT q...
Power Apps
Answered

TDS Endpoint, SELECT query doesn't return correct results

(1) ShareShare
ReportReport
Posted on by 23

Hi all,

 

since yesterday I'm having a problem with TDS "connection" to Dataverse. I know this functionality is still in a preview and shouldn't be used in production but I'm just wondering if someone else has the same issue.

So, the problem occurs when I run simple SELECT query with one WHERE condition. First time I run query I get 0 records and second time I run the same query I get 1 record as it should be.

 

Query is very simple:

SELECT *
FROM entity
WHERE entityid = 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxxxx'

 

any ideas?

Thanks!

second.JPG
first.JPG
I have the same question (0)
  • v-bofeng-msft Profile Picture
    Microsoft Employee on at

    Hi @Santo992 :

    I've made a test and encountered the same problem you mentioned.

    This problem will only occur during the first Execute.

    Because this is a preview function, there may not be a good solution at present.The only solution I can think of at the moment is to create a support ticket.

    Hope this helps.

    Best Regards,

    Bof

  • Drew Poggemann Profile Picture
    9,287 Most Valuable Professional on at

    Hi @Santo992 ,

     

    This is a shot in the dark, but can you try selecting specific columns vs. * to see if it works successfully when targeted at specific columns on the query?

     

    Thanks much,

    Drew

  • SantoVG Profile Picture
    23 on at

    Hi @dpoggemann ,

     

    the original query is written without * and the problem still occurs. Just in case I've just executed query with only one column in select and the problem is still here.

     

    Every time I execute query for the first time I'll get 0 records, but second time I'll get correct results. If I have 2 queries with different WHERE condition and I execute them in turns I'll always get 0 records.

    For example:

    Query 1: 0

    Query 2: 0

    Query 1: 0

    Query 2: 0

    Query 2: 1

    Query 1: 0

    Query 1: 1

    Query 2: 0

     

    Josip

  • Mark Carrington Profile Picture
    36 on at

    I also observed this behaviour starting from yesterday. Sometimes my query would return as expected, other times it would return 0 records (but with the expected columns)

  • EnterTheDragon Profile Picture
    3 on at

    We too are having the same issue with TDS endpoint. Some times it returns records and sometimes 0.
    Looking for some solution to it else would need to use DataExportService or Web Api

  • EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    Hi @Santo992, @EnterTheDragon, as @v-bofeng-msft mentioned I would create a Microsoft support ticket at: https://admin.powerplatform.microsoft.com/support. Keep us posted of the resolution! Cheers 

  • SantoVG Profile Picture
    23 on at

    My quick fix is to run query one more time if the first result count is 0. This way I can still use TDS in my application but the downside is that everything is called twice.

  • Verified answer
    vikasp Profile Picture
    Microsoft Employee on at

    Hi, Sorry for the delayed response on this issue.
    We've fixed this issue and is now rolling it out to all the Geo's. The fix is currently available across most of the Geo's and will be deployed to EMEA during the weekend of 3/19 and NAM during the weekend of 3/26.

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 Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 531 Most Valuable Professional

#2
Haque Profile Picture

Haque 261

#3
Kalathiya Profile Picture

Kalathiya 221 Super User 2026 Season 1

Last 30 days Overall leaderboard