How to disable tab 'files' in profile of user in Sharepoint

Dora ANDRADE 0 Reputation points
2026-08-11T14:59:11.08+00:00

How to disable the tab files when looking in the profile of a user in SharePoint.

Microsoft 365 and Office | SharePoint | Other | Windows
0 comments No comments

2 answers

Sort by: Most helpful
  1. Julie Huynh 3,080 Reputation points Independent Advisor
    2026-08-11T16:09:42.96+00:00

    Dear @Dora ANDRADE,

    Good day! Welcome to Microsoft Q&A forum!

    Based on your description, I understand that you want to disable or hide the Files tab that appears when viewing a user's profile in SharePoint, and you're looking for guidance on whether this can be configured and how to do so.

    With the information provided, the Files tab shown in the screenshot is a built-in Microsoft 365 profile card feature.

    User's image

    Currently, Microsoft does not provide a supported administrative setting to disable or hide only the Files tab from the profile card.

    The files displayed in this tab are security-trimmed, meaning users can only see files that have been shared with them or that they already have permission to access.

    Could you please clarify your goal for disabling the Files tab? For example, are you trying to prevent users from viewing shared documents, simplify the profile card experience, or is this affecting all users or only specific users?

    Understanding the reason will help me suggest the most suitable alternative solution, such as: adjusting SharePoint/OneDrive sharing permissions.

    Kindly let me know when there are updates or if you need further assistance. Any updates you’re able to share would be really helpful.

    I'm here and happy to help! Thank you for your kindness and patience!


    If you have extra questions about this answer, please click "Comment". 

    Note: Please follow the steps in [forum documentation] to enable e-mail notifications if you want to receive the related email notification for this thread. 

    Was this answer helpful?

    0 comments No comments

  2. AI answer

    2026-08-11T14:59:24.91+00:00

    There is currently no out-of-the-box way to disable or customize the Files tab on a user profile card in SharePoint Online org chart or People web parts.

    The tab only shows recent files that the viewer already has permission to access from OneDrive for work or school, SharePoint Online, or Outlook on the web. Private documents remain visible only to their owner unless they were shared.

    Disabling Microsoft Graph as a workaround is not recommended, and it would not remove access to documents that users already have permission to open or find through SharePoint or OneDrive search.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

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