Hide a default Power Apps button in modern UI

%3CLINGO-SUB%20id%3D%22lingo-sub-211606%22%20slang%3D%22en-US%22%3EHide%20a%20default%20Power%20Apps%20button%20in%20modern%20UI%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-211606%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20727px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F37023i98C1B89A3696BFEE%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22flowandPowerapps-Initial.png%22%20title%3D%22flowandPowerapps-Initial.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EI%20tried%20to%20Hide%20flow%20and%20Power%20Apps%20button%20from%20my%20all%20Lists%20using%20Powershell%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EConnect-PnPOnline%20-Url%20%3CA%20href%3D%22https%3A%2F%2Fjpower4.sharepoint.com%2Fsites%2Fprojects%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fjpower4.sharepoint.com%2Fsites%2Fprojects%3C%2FA%3E%3CBR%20%2F%3E%24ctx%20%3D%20Get-PnPContext%3CBR%20%2F%3E%24ctx.Site.DisableAppViews%20%3D%20%24true%3B%3CBR%20%2F%3E%24ctx.Site.DisableFlows%20%3D%20%24true%3B%3CBR%20%2F%3E%24ctx.ExecuteQuery()%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20is%20removed%20the%20'Flow'%20button%20and%26nbsp%3Bremoved%20the%20'Create%20an%20app'.%26nbsp%3B%3CSTRONG%3EBut%20not%20removed%20the%20PowerApps%20button.%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20655px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F37024i0C6DDC767DF539B6%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20alt%3D%22flowandPowerapps-Initial.png%22%20title%3D%22flowandPowerapps-Initial.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPlease%20help%20on%20this.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1579701%22%20slang%3D%22en-US%22%3ERe%3A%20Hide%20a%20default%20Power%20Apps%20button%20in%20modern%20UI%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1579701%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F77952%22%20target%3D%22_blank%22%3E%40Jenkins%20Nesamony%20Sundararaj%3C%2FA%3E%26nbsp%3BDid%20you%20find%20a%20solution%20for%20this%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
Contributor

Hi,

 flowandPowerapps-Initial.png

I tried to Hide flow and Power Apps button from my all Lists using Powershell

 

Connect-PnPOnline -Url https://jpower4.sharepoint.com/sites/projects
$ctx = Get-PnPContext
$ctx.Site.DisableAppViews = $true;
$ctx.Site.DisableFlows = $true;
$ctx.ExecuteQuery();

 

It is removed the 'Flow' button and removed the 'Create an app'. But not removed the PowerApps button.

flowandPowerapps-Initial.png

 

Please help on this.

1 Reply

@Jenkins Nesamony Sundararaj Did you find a solution for this?