Jan 20 2022 09:43 PM
I am using ListDrives graph api call to get the size of the drives in sharepoint site: https://docs.microsoft.com/en-us/graph/api/drive-list?view=graph-rest-1.0&tabs=http#list-a-sites-dri...
However the used_size_in_bytes in quota for each drive is equal to the total size of the sharepoint site. Is this expected or a recent regression?
Feb 08 2022 07:28 AM - edited Feb 08 2022 07:30 AM
We're experiencing the same regression in our environment. We used to be able to use ListDrives to fetch the size of each site's "Preservation Hold Library"; however, now the values are the same for all drives of the same site. See below for a sample. You can see that "Documents" & "Preservation Hold Library" have the exact same properties for "Quota". (Actual sizes are altered to protect privacy). Could anyone assist? Thanks
{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#drives",
"value": [
{
"name": "Documents",
"quota": {
"deleted": 0,
"remaining": 31487657600943,
"state": "normal",
"total": 31487790694400,
"used": 233093457
}
},
{
"name": "Preservation Hold Library",
"quota": {
"deleted": 0,
"remaining": 31487657600943,
"state": "normal",
"total": 31487790694400,
"used": 233093457
}
}
]
}