Microsoft 365: Sharepoint Sites with Drive name and total size
submitted
D
DeShard Brown
The resulting example in the screenshot
drives[? (quota.total != null)].[{"Drive Name": name, "GB Total": quota.total, "Site Name": siteName_r}]
S
Sohel Shaikh
This modified query will also show the remaining size :
drives[? (quota.total != null)].[{"Drive Name": name, "GB Total": quota.total, "Remaining": quota.remaining, "Site Name": siteName_r}]