Skip to content

Solution Report SiteReport

Barbarur edited this page Jan 8, 2025 · 6 revisions

Site Collections & Subsites report

Solution Code: SiteReport

Description

This report will provide the below information:

Column Title Site Collection
Basic
Subsite Basic Optional
SiteTitle x x
SiteUrl x x
GroupID x x
SiteTemplate x x
IsSubsite x x
ConnectedtoTeams
TeamsChannel
StorageQuotaGB x
StorageUsedGB x
StorageWarningPercentageLevel x
LastContentModifiedDate x x
LockState x
IsHubSite x
HubSiteId x
ParentHubSiteId x
Classification x
SharingLinks x
Privacy x
Remarks x x x

Requirements

  • SharePoint Admin role.

Parameters

Site Details filter
Parameter Type Definition
Basic report Required
Choice
Base properties per site.
Include Hub details Optional Request the report to include the information about Hub association for the site collections.
Include Classification Optional Request the report to include the Site Classification.
Include Sharing Links Optional Request the report to include the number of Sharing Links on the site.
Include Privacy Optional Request the report to include the Privacy settings of the MS365 group connected to the Teams sites.

How this Solution works

  1. Collects the required Sites.
  2. If the Solution requires to include Site Collection Admins or Subsites, it will add account as Site Collection Admin.
  3. Iterates through each site getting information defined on the parameters permissions filter.
  4. Removes account as Site Collection Admin if required.
  5. Records the information for each action in a CSV file.

Notes

Due the nature of this Solution to give overall review of Tenant sites, when requesting a report for a single site, it only accepts Site Collections URLs as inputs. This differs from other solutions where including a Subsite URL is accepted.

Clone this wiki locally