Forum Discussion
Hide PowerAutomate/Integrate and Automate options on ribbon for SharePoint List
Hi Surya0684
There is not way to hide these menus out of the box. We have hidden menus (commands) in modern document libraries in the past using CSS injection.
Use your browser's Developer Tools to find suitable identifiers or CSS selectors for the menu items and then create CSS to specify the display: none; style.
This is absolutely an unsupported approach and could break at any time should Microsoft change how these menu items are represented in the DOM. Please only do this if absolutely necessary as you may be creating a maintenance headache for yourself in the long run. If at all possible I would suggest either training users to ignore these menus, or give them some examples of how that can use the automation menus in a productive manner.
See this article for implementation and heed their warnings!: Inject Custom CSS on SharePoint Modern Pages using SPFx Extensions – Tahoe Ninjas