AsBuiltReport.Microsoft.SharePoint.json

{
    "Report": {
        "Name": "Microsoft SharePoint & OneDrive As Built Report",
        "Version": "0.1.1",
        "Status": "Released",
        "ShowCoverPageImage": true,
        "ShowTableOfContents": true,
        "ShowHeaderFooter": true,
        "ShowTableCaptions": true
    },
    "Options": {
        "UserPrincipalName": "admin@contoso.onmicrosoft.com",
        "_comment_TenantAdminUrl": "Optional. Auto-derived from Target if empty. e.g. contoso.onmicrosoft.com -> https://contoso-admin.sharepoint.com",
        "TenantAdminUrl": "",
        "_comment_PnP": "PnP.PowerShell v2+ requires a Client ID. See README or run Register-PnPManagementShellAccess for the quick option.",
        "PnP": {
            "_comment_ClientId": "Leave empty to use PnP Management Shell app (run Register-PnPManagementShellAccess once as admin). Or paste your own App Registration Client ID here.",
            "ClientId": ""
        },
        "_comment_GraphAuth": "The module handles Graph and PnP authentication automatically using interactive browser windows, the same way as AsBuiltReport.Microsoft.EntraID.",
        "_comment_MaxPermissionSites": "Maximum number of site collections to collect detailed permissions for (role assignments, group members, library permissions). Higher values = longer run time. Set to 0 to skip permission collection entirely.",
        "MaxPermissionSites": 30,
        "_comment_KeepSession": "Set to true during testing to skip disconnect between runs.",
        "KeepSession": false,
        "_comment_DebugLog": "Set to true to write a structured debug log alongside the report.",
        "DebugLog": false,
        "_comment_ComplianceFrameworks": "Enable/disable compliance framework sections. Each adds assessment tables per section and consolidated Excel tabs.",
        "ComplianceFrameworks": {
            "_comment": "ACSCe8: ACSC Essential Eight ML1-ML3 | CISBaseline: CIS M365 Foundations Benchmark v6.0.1 Chapter 7",
            "ACSCe8": true,
            "CISBaseline": true
        }
    },
    "InfoLevel": {
        "_comment": "0 = Disabled | 1 = Summary/Overview only | 2 = Full detail (per-site/per-user tables)",
        "TenantOverview": 1,
        "SharingPolicy": 2,
        "ExternalAccess": 2,
        "SiteCollections": 2,
        "OneDrive": 2,
        "Compliance": 2
    },
    "HealthCheck": {
        "_comment": "Enables colour-coded rows in tables. Requires -Healthcheck flag on Invoke-AsBuiltReport.",
        "SharePoint": {
            "SharingPolicy": true,
            "ExternalAccess": true,
            "SiteCollections": true,
            "OneDrive": true,
            "Compliance": true
        }
    }
}