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: userquery rows va...
Power Apps
Suggested Answer

TDS: userquery rows vanish for inactive owners but views still exist *somewhere*?

(0) ShareShare
ReportReport
Posted on by 47
I’m trying to understand whether this is expected Dataverse/TDS behavior or a bug.
 
Facts:
- `userquery` is a user-owned table.
- TDS uses the Dataverse security model for data access.
- In my environment, personal views owned by an inactive user do not appear when queried through SQL 4 CDS / TDS.
- However, the XrmToolBox Personal User Views Migration tool is able to find those same views and reassign them.
- After reassignment to an active user, the views do appear through TDS / in `userquery`.
- `createdby` still shows the original inactive user after reassignment.
 
Question:
Is it expected that `userquery` records owned by inactive users are excluded from the TDS endpoint, even though they still exist and can be enumerated/reassigned through other APIs/tools? Why don't these continue to appear in the 'userquery' table?

More specifically:
1. Is this due to documented TDS/security behavior for user-owned personal artifacts?
2. Is there any official documentation covering TDS behavior for personal views (`userquery`) whose owner is inactive?

Repro steps:
1. User A creates a personal view.
2. User A is made inactive.
3. Query `userquery` over TDS / SQL 4 CDS -> view does not appear.
4. Use Personal User Views Migration tool -> view is visible and can be reassigned.
5. Reassign to active User B.
6. Query `userquery` over TDS again -> same view now appears.

Environment:
- Dataverse online
- SQL 4 CDS over TDS endpoint
- XrmToolBox Personal User Views Migration tool
- Querying as System Admin

I’m mainly trying to determine whether this is expected platform behavior, a TDS limitation, or a bug/inconsistency between endpoints.
I have the same question (0)
  • Suggested answer
    11manish Profile Picture
    3,333 on at
    Yes, this is expected behavior of Dataverse TDS endpoint
     
     Records in userquery owned by inactive users are filtered out
     
     Other tools (like SDK/XrmToolBox) can still access them because they don’t use the same runtime filtering as TDS
  • data_boy Profile Picture
    47 on at
    Hi 11manish, 
     
    Is there a method other than bringing up a user's views within the "Personal User Views Migration tool" via XRMToolbox? Or better yet, be able to view ALL user queries, regardless of user status?
     
    Thank you for your answer.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 424

#2
WarrenBelz Profile Picture

WarrenBelz 355 Most Valuable Professional

#3
11manish Profile Picture

11manish 290

Last 30 days Overall leaderboard