Set-PnpSite -DisableFlow and -DisableAppViews does not appear to work
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 259
- Forks
- 161
- Avg merge
- 10h 33m
- Merged PRs (30d)
- 1
Description

I am trying to hide the PowerApps and Automate buttons from the documents library on a site. I have the following code, as described here: https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/set-pnpsite?view=sharepoint-ps
The commands appear to execute, but no changes are reflected when I view the library.
Get-PnPSite
Set-PnPSite -DisableFlows:$true
Set-PnPSite -DisableAppViews:Disabled
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the documented Set-PnPSite commands against a SharePoint site and verify whether the PowerApps and Automate buttons remain visible in the documents library. Trace the Set-PnPSite implementation in the PnP Framework and compare the DisableFlows and DisableAppViews parameters with the behavior observed in SharePoint. Done means both controls are hidden when the commands complete successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, powershell
- Domain
- backend, cloud
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100