How do you remove the Edit link from the navigation bar in a modern SharePoint site that is linked to Teams?

Ryan Fitzemeyer 10 Reputation points
2023-04-07T16:42:22.0933333+00:00

How do you remove the Edit link from the navigation bar in a modern SharePoint site that is linked to Teams? If I give the user Visitor permissions instead of Member, the Edit link goes away, but they no longer see the Team in Teams.

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
9,872 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
2,718 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
2,921 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Ben Teoh 190 Reputation points
    2023-04-09T23:29:31.5066667+00:00

    Rather than assigning people the Visitors permissions, you can change the permissions settings for Members. This page has a great explainer (it's a little old, so there may be an extra link to click here or there, but it's fairly straight forward): How to prevent team site members from editing SharePoint pages


  2. Haoyan Xue_MSFT 20,906 Reputation points Microsoft Vendor
    2023-04-12T06:13:01.4566667+00:00

    Hi @Ryan Fitzemeyer

    As we are in modern experience, you can use Contribute permission level. In fact, the only difference between Contribute and Edit will be the permission of “Manage List”, and this permission provides the ability to edit navigation links. More information here.

    How to edit permission level

    User's image


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    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.


  3. Haoyan Xue_MSFT 20,906 Reputation points Microsoft Vendor
    2023-04-17T05:53:30.4133333+00:00

    Hi @Ryan Fitzemeyer

    I'm glad to hear you solve the problem, if you have any issue about SharePoint, you are welcome to raise a ticket in this forum.

    By the way, since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others." and according to the scenario introduced here: Answering your own questions on Microsoft Q&A, I would make a brief summary of this thread:

    [How do you remove the Edit link from the navigation bar in a modern SharePoint site that is linked to Teams?]

    Issue Symptom:

    Need remove the Edit link from the navigation bar in a modern SharePoint site that is linked to Teams

    Current status:

    The issue has been solved. Resolved this by removing all accounts from the Group, then adding back in Everyone except external users. Then I changed the permissions from the Permissions slice on the modern SharePoint site from Edit (site members) to Read (site visitors).

    You could click the "Accept Answer" button for this summary to close this thread, and this can make it easier for other community member's to see the useful information when reading this thread. Thanks for your understanding!


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    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.