This workflow brings you through the process of an automatic deployment of the sales funneler solution.
Install Powershell 7
winget install --id Microsoft.Powershell --source wingetRun as Administrator
Start-Process pwsh -Verb RunAsConfigure Execution Policy
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser -Force
Get-ExecutionPolicy -ListInstall PnP PowerShell module
Install-Module -Name PnP.PowerShell -Force -AllowClobber -Scope CurrentUser
Get-Module -Name PnP.PowerShell -ListAvailable
Import-Module PnP.PowerShell -ForceConfigure TLS/Security
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Set-PSRepository -Name 'PSGallery' -InstallationPolicy TrustedVerify Access
$siteUrl = "https://your-tenant-name.sharepoint.com/sites/your-site-name"
Connect-PnPOnline -Url $siteUrl -InteractiveAuthentication methods will vary by site.

If you get an auth error like this, create an app registration in entra, with redirect URIs as below:

The following scripts leverage interactive authentication, meaning you will be prompted for the modern dev click through authentication experience at each step, and giving you the opportunity to observe the changes to the sharepoint site. If you do not pass arguments, it will prompt you for a Sharepoint Site name and a deployment prefix that will be prepended to the name of each table.
The excel file autoforms your powershell according to the excel file's configuration. Highly recommend you leverage this
.\Deploy-Lists.ps1 -SiteUrl "https://your-tenant-name.sharepoint.com/sites/your-site-name/" -ListPrefix "yourPrefix" Creates the core tables
.\Set-Required-Fields.ps1 -SiteUrl "https://your-tenant-name.sharepoint.com/sites/your-site-name/" -ListPrefix "yourPrefix" Flags fields as required in the core tables
.\Add-Comment-Log.ps1 -SiteUrl "https://your-tenant-name.sharepoint.com/sites/your-site-name/" -ListPrefix "yourPrefix" Turns on List versioning for the Opportunities list, adds comment log
.\Populate-Mock-Data.ps1 -SiteUrl "https://your-tenant-name.sharepoint.com/sites/your-site-name/" -ListPrefix "yourPrefix" Mostly consistent mock data
.\Populate-Sample-Data.ps1 -SiteUrl "https://your-tenant-name.sharepoint.com/sites/your-site-name/" -ListPrefix "yourPrefix" Semi-random value generation
- Adjust columns in views
- Apply form body json
- Create selection pill colors
- Clear the lists
- Refresh the Excel, verify function
- Deploy Power BI dashboard, verify function
- Add users to site
- Share PBI with regular users
- Copy excel for power users
