I'm using SharePoint Online modern UI.

And, I want to hide Quick edit, Sync, Export to Excel, Power Apps, Automate, Share, Copy Link, Copy to from my site.

Please check below picture:

this is my question

I found the easy solution about PowerApps, Automate, Sync buttons in below URLs:

  1. https://mbangert.de/hide-power-apps-and-power-automate-flow-in-sharepoint-online
  2. https://www.sharepointdiary.com/2017/08/disable-sync-button-in-sharepoint-online.html

But I can't find solution other buttons.

I don't want to use SPFx if possible, but is there no choice except to use SPFx?

3 Answers 3


To hide "Quick Edit" button, you can set Quick property editing to No at List Advanced settings: enter image description here

How to Disable Quick Edit in SharePoint?

For "Share", you can consider using permission to limit the access.

For other buttons, no. You can vote up the User Voice about this similar requirement.

  • Thank you for your answer. I understood.
    – Hyonta
    May 25, 2020 at 5:21

Anyone looking now there's a project in SPFx extensions on github for hide commands by Russell Gove. It uses CSS Selectors for hiding the commands by referencing them from a list. More on ReadeMe.md link below. Didn't work for ECB menu.


Hide Commands


You can now hide command bar options (at the top) from list/library using SharePoint JSON view formatting.

Use JSON like below in view formatting to hide "Power Apps" option:

  "commandBarProps": {
    "commands": [
        "key": "powerApps",
        "hide": true

Similarly, you can add more keys to same JSON as per your requirements. Currently below keys are supported:


Documentation: Command bar customization syntax reference

Currently there is no SharePoint out of the box option available for hiding options under context menu (...). So, you may need to do it using custom CSS/JS injection using SPFx.

However such DOM manipulations using CSS/JS injection are not supported/recommended by Microsoft.

Check if it helps: How to hide buttons on the item context menu in SharePoint 365 Modern Experience

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.