none
MOSS 2019 EE: How hide or remove share button? RRS feed

All replies

  • Hi Chebotov,

    In SharePoint 2019 modern experience, we could create SPFx Application Customizer to inject custom CSS to hide element.

    Check below threads for demos:

    sp-dev-fx-extensions

    Inject Custom CSS on SharePoint Modern Pages using SPFx Extensions

    Besides, there is a workaround, we can uncheck “Allow members to share the site and individual files and folders“ via site settings->Site permissions->Access Request Settings. The Share button still appear but users cannot share to others:

    Best regards,

    Grace Wang


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    SharePoint Server 2019 has been released, you can click here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.

    Tuesday, November 12, 2019 5:57 AM
    Moderator
  • Hi Chebotov,

    Is there any update?

    If the post helps you, you can mark it as answer to help other community members to find the information quickly.

    Thanks for your understanding.

    Best regards,

    Grace Wang


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    SharePoint Server 2019 has been released, you can click here to download it.
    Click here to learn new features. Visit the dedicated forum to share, explore and talk to experts about SharePoint Server 2019.

    Monday, November 18, 2019 9:43 AM
    Moderator