Share via

Hide Unlicensed Users In Teams Search Results

Daniel Needemyer 85 Reputation points
2026-02-26T21:19:58.9266667+00:00

How can I hide all unlicensed users from search results in Teams?

Microsoft Teams | Microsoft Teams for business | Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Kristen-L 10,815 Reputation points Microsoft External Staff Moderator
    2026-02-26T22:53:41.09+00:00

    Hi @Daniel Needemyer,

    Thank you for reaching out to Microsoft Q&A forum. 

    I understand you're trying to prevent unlicensed users from appearing in Microsoft Teams search results, and I'd be happy to walk you through the options that can help you manage their visibility effectively.

    1/ Hide users from the Global Address List (GAL) (with admin require)

    One of the simplest ways to remove an account from appearing in Teams search is to hide it from the global address list. You can do this using either Microsoft 365 admin center or the Exchange admin center:

    • Microsoft 365 admin center: Go to Active Users > select the user > Edit > Mail > Show in global address list, and switch it off.

     

    User's image

    • Exchange admin center: Use the Hide from global address list (GAL) option on the user’s mailbox properties.

    User's image

     

    For detailed steps, you can refer to the article Hide User from Microsoft 365 People Search (for real).

    Please note that this information is being provided by the moderator solely for your convenience. The referenced sites are not managed or overseen by the moderator, and therefore we cannot guarantee the accuracy, security, or suitability of any software or content available there. We recommend reviewing all information carefully and ensuring you understand any associated risks before following suggestions from the provided link. 

     

    2/ Use scoped directory search (Address Book Policies)

    If you want broader control - such as hiding entire categories of users (e.g., contractors or Azure Virtual Desktop–only accounts) - you can configure Address Book Policies (ABP) or Scoped Directory Search.

    Teams supports directory segmentation, and when configured, these policies determine who appears in People Search. You can enable this under:

    Teams admin center > Teams > Teams settings > Search by name > Scope directory search using an Exchange address book policy.

    For more information, refer to the Microsoft documentation on: Limit who users can see when searching the directory in Teams.

     

    I hope this information helps. Please try the steps and let me know whether they resolve the issue. If the problem persists, we can work together to find a solution.  

    As other users will also search for information in this community, your vote can significantly help those with similar inquiries quickly locate the most relevant resources. 

    Thank you for your kindness and for contributing to the forum.   


    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.


  2. Q&A Assist
    2026-02-26T21:20:08.5333333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Teams search behavior for licensed vs. unlicensed users is not configurable in the way described.

    In an organization-wide team, unlicensed users are automatically added as members when they first sign in and receive a Microsoft Teams Exploratory license. Teams does not provide an admin setting or policy to hide unlicensed (or not-yet-licensed) accounts from search results.

    What is supported:

    • When an organization-wide team is created, all active users (including unlicensed ones) are added as members; certain account types are excluded entirely (blocked-from-sign-in accounts, guests, resource/service accounts, room/equipment accounts, and accounts backed by shared mailboxes). These excluded accounts will not appear as regular members in that org-wide team, but this is not a general “hide from search” control.
    • Teams licenses can be disabled for users via PowerShell (for example, disabling the TEAMS1 service plan in a license SKU). This controls whether they can use Teams, not whether they appear in search.

    There is no documented mechanism in the provided material to:

    • Filter or hide unlicensed users from the global People search in Teams.
    • Change search scope based on license state.

    Any change in visibility would need to come from account type (for example, using guest/resource/service accounts that are excluded from org-wide teams) or from broader directory and identity design, not from a Teams search configuration.


    References:

    0 comments No comments

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.