I need to access a content database's name, and its properties like Size, etc. using CSOM in SharePoint online.

Is there a possibility?


No that is not possible. That layer of the infrastructure is blocked from Global Administrators.

Best you can do is something like:

$sites = Get-SPOSite -Limit all
foreach($site in $sites){ 

Addition to Eric's answer (I know the question is related to CSOM) . But manually if you want to check storage usage then you can check it from site setting, admin center as well as from SharePoint designer.

SharePoint designer.

enter image description here

Admin Center:

enter image description here

Site Setting:

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.