I want to hide the PowerApps button from the Hero bar. I tried the below PowerShell approaches:
Approach 1:
Connect-PnPOnline –Url "Site URL" –Credentials (Get-Credential)
$ctx = Get-PnPContext
$ctx.Site.DisableAppViews = $true;
$ctx.Site.DisableFlows = $true;
$ctx.ExecuteQuery();
Approach 2:
Set-SPOSite -Identity "Site URL" -DisableFlows 1 -DisableAppViews 1
Using the above, I am able to hide the Power Automate button but not the PowerApps.
How can I hide the PowerApps button?