Forum Discussion

Justin_J945's avatar
Justin_J945
Copper Contributor
Aug 16, 2019
Solved

Retrieve SPO site collection properties

Classic SharePoint admin center shows properties of any site collection at tenant-admin.sharepoint.com/_layouts/15/online/SiteCollections.aspx Is it possible to get same info of each site collection under site settings or in a webpart? I can some samples using PowerShell but I am looking for more user friendly solution.

 

Regards

 

J Justin

 

  • Yes, you could build a SPFx WebPart that relies on the SPO API or even the Graph API to do that...probably you will need some kind of impersonation to get the information of all the site collections so an Azure Function could be a good option here
  • Yes, you could build a SPFx WebPart that relies on the SPO API or even the Graph API to do that...probably you will need some kind of impersonation to get the information of all the site collections so an Azure Function could be a good option here

Resources