Hide Export to Excel, Power Apps and Power Automate from Document Library

Sajith Gopalakrishnan Hema 1,036 Reputation points
2021-06-13T12:17:07.51+00:00

We want to hide Export to Excel, Power Apps and Power Automate from Document Libraries of a site collection. How to achieve this ?

105123-hidepowerappspowerautomate.png

Also can we hide Return to classic sharepoint in the left bottom?

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,573 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jerry Xu-MSFT 7,956 Reputation points
    2021-06-14T07:05:08.41+00:00

    Hi, @Sajith Gopalakrishnan Hema ,

    To hide these buttons, you can create a application customizer to inject CSS or JS to hide the element. Here is a tutorial about how to do it.

    For the return to classic link, you can only disable/enable it on tenant level. Use the PowerShell cmdlet

    Set-SPOTenant -DisableBackToClassic $true  
    

    If you get error saying the parameter does not exist, you many need to update your PowerShell to latest version.

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.


    If an Answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.