Hide the "Share" + "Copy Link" inside my custom SharePoint Online lists

john john 791 Reputation points

I have a communication root site collection inside our SharePoint online tenant, and i have set the following sharing :-


But when users access any SharePoint custom list they will get these 2 links:-


So is there a way to hide those 2 links ("Share" + "Copy Link")?

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

1 answer

Sort by: Most helpful
  1. Emily Du-MSFT 29,291 Reputation points Microsoft Vendor

    @john john

    The access request feature works together with the share command for sites. If someone who is not a site owner for a site (that is, someone who does not have full control for a site) uses the share command to invite other people to view a site, then that action will generate an access request for the site owner. A site owner can then approve or decline the request, or specify the permission level to be assigned to the new user. The access request feature does not determine whether the share function can be used, so, it will not hide the "Share" button.

    For modern experience, there is no option to hide "Share" and "Copy Link" buttons.


    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.