Form inventory in the tenant

A script for administrators that lists all FormCraft 365 forms on chosen sites or across the whole tenant.

Prerequisites

Examples

.\Get-FormCraftInventory.ps1 -SiteUrl https://contoso.sharepoint.com/sites/hr -Interactive -OutputPath inventory.csv
.\Get-FormCraftInventory.ps1 -AllSites -AdminUrl https://contoso-admin.sharepoint.com -ClientId <guid> -IncludeSubwebs -OutputPath inventory.json
.\Get-FormCraftInventory.ps1 -SelfTest

The output goes to .csv or .json by extension; without -OutputPath it is written to the pipeline. -ThrottleDelayMs sets the pause between sites. The script lives in tools/governance/ in the repository.

Output columns

WebUrl, ListId, ListTitle, Orphaned, Source, Revision, ModifiedAt, ModifiedBy, Tabs, Sections, Fields, Rules, Variables, CustomButtons, HasScripts, Activated, Locked, Error