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

john john 946 Reputation points
2021-09-13T17:18:27.64+00:00

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

131625-access2.png

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

131626-2links.png

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

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

1 answer

Sort by: Most helpful
  1. Emily Du-MSFT 41,941 Reputation points Microsoft Vendor
    2021-09-14T03:18:44.043+00:00

    @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.

    Reference:
    https://support.microsoft.com/en-us/office/set-up-and-manage-access-requests-94b26e0b-2822-49d4-929a-8455698654b3


    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.