Sharepoint get total of items inside drive

Occasional Visitor

Hi

 

Is it possible to get the total of items (files and optionally folders) in a sharepoint drive with the graph api (js api or java graph sdk)?

The $count didn't seem to work for those endpoints and csv reports only are available for a total of all sites or a total of active files?

Kind regards
Jonas

0 Replies