Is it possible to list drive items that have no version

Bjorn Berghmans 0 Reputation points

When I use the following HTTP request, I see that there are 49 children in the root of the corresponding drive:


User's image

When I try to list these children by adding /children to this request, none of these are returned:
User's image

I checked the corresponding document library on this site and find out that there are 49 files inside this folder that has no version. They are not published/checked in.

Is there a way I can list these unversioned items? I already tried a lot of things with $expand, $select, $filter, but none of them are working.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,491 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Ab-8756 800 Reputation points

    Hello Bjorn Berghmans,

    Thank you for reaching out to this Q&A forum.
    To get list drive items, you can do Get, sites/site-Id/drives/Drive-Id/items/root/children. 
    I have 4 items in my drive;

    With Get, sites/site-Id/drives/Drive-Id/items/root/children. all of them are showing up.


    If you would like to get list of any other sub folder, like channel 2 filder, you can do Get, sites/Id/drives/Drive-id/items/item-id/children.

    Hope that helps.
    If the answer is helpful, please click Accept Answer and kindly upvote. If you have any further questions about this answer, please click Comment.