Hi @RS ,
There might be some mistake in your cmdlet
Changing theme to one of the out of the box ones
Set-PnPWebTheme -Theme MyTheme
or
Get-PnPTenantTheme -Name "MyTheme" | Set-PnPWebTheme
to set the theme named "MyTheme" to the current web.
Remove sections of the page
$pg = Get-PnPPage -Identity "Home"
$sectionsCount = $pg.Sections
for($i=$sectionsCount-1; $i -ge 0; $i--) {
write-host $i
$pg.Sections.RemoveAt($i)
}
$page = Set-PnPPage -Identity $pg -Publish
Remove an add-in (spfx extension) from a site (not app catalogue)
Uninstall-PnPApp -Identity 99a00f6e-fb81-4dc7-8eac-e09c6f9132fe
or
Uninstall-PnPApp -Identity 99a00f6e-fb81-4dc7-8eac-e09c6f9132fe -Scope Site
It seems your Identity ID format a little different with the example.Please check your app id.
All pnp powershell cmdlets for refer:
https://pnp.github.io/powershell/cmdlets/Uninstall-PnPApp.html
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.