Search for messages and more in Microsoft Teams
There are many ways to find messages, people, files, and other information shared in Teams. Simply type a word or name to view related results. Search a specific area or start your search in the search box at the top. Then, filter your results for greater detail.
Search for chats and channel with the GoTo command
Search for messages
Search for chats and channels with the GoTo command
If you participate in many chats and channels, the GoTo command is a fast way to go directly to the chat or channel you want.
-
In the Search box, type /, and select /goto.
-
Select a chat or channel from the list or type a chat or channel name and press Enter.
Note: The /goto command in Teams is available in the public preview program. It might be changed again before it is made public. To get access to this and other upcoming features, switch to Teams public preview.
Search your current location with Ctrl+F
Press Ctrl+F (cmd+F on macOS) to search messages within a particular chat or channel in Teams.
-
Go to the area you want to search. Examples are a recent chat or a channel within a team.
-
Press Ctrl+F, type your search term, then select Go . Your results appear on the right, in Find in chat.
-
Choose from the available results to jump to the item you want.
Search on desktop
Search for messages
-
Type a keyword or a person’s name in the Search box. Teams returns results immediately.
-
To filter results further, select Messages. Choose from the results to view the message.
-
If your search doesn’t return what you’re looking for, select View all messages to see more results. The top results appear.
-
Press Enter to see all results for that keyword or name.
-
To search in more detail, choose the following:
-
Type: Choose to search in Chats or Channels.
-
Teams and channels: Start to type a name and suggested teams and channels are displayed for you to choose.
-
From: Type the name of the person who sent the message.
-
Date: Choose when the message was sent or add a date range to search.
-
More: Select More to filter @Mentions for your name, messages with attachments, or to hide messages about apps and bots.
-
Tip: For more detailed results, press Enter to filter messages by who sent them, when and where they were sent or if they have links or attachments.
Search for files
-
Locate a file by typing its name or a keyword.
-
To filter results further, select Files.
-
If your search doesn’t produce what you’re looking for, select View all messages to see more results. The top results appear.
-
To search in more detail, select the following:
-
Team: Type in a team name.
-
File Type: Choose the file type from the list.
-
Modified by: Type the name of the person who edited or changed the file.
-
Date: Choose when the message was sent or add a date range to search.
-
Search for group chats
-
Locate a group chat by typing its name or a keyword.
-
To filter results further, select Group Chats.
-
If your search doesn’t produce what you’re looking for, select View all messages to see more results. The top results appear.
-
To search in more detail, select the following:
-
Team: Type in a team name.
-
File Type: Choose the file type from the list.
-
Modified by: Type the name of the person who edited or changed the file.
-
Date: Choose when the message was sent or add a date range to sear ch.
-
Search for teams and channels
-
Type the name of the team or channel in the Search box.
-
Select Teams and Channels, and then choose the result to go directly to that team or channel.
Scoped search within Viva Connections
If your organization has Viva Connections set up, you can scope your search to results within your Connections experience.
Select the search box within Viva Connections. As you type, you'll be provided with the option to "Search in Viva Connections" (or the name your organization chose for Connections), in addition to being able to search in Teams.
Select a search result to go to the corresponding Connections (or Teams) experience.
Note: Viva Connections is available to all Microsoft 365 or Office 365 enterprise plan users.
Optimize your search
Use search modifiers
For richer search results in messages, use KQL (Keyword Query Language). The following are the modifiers that Teams supports:
Note: Remember that there's no space between the colon and the search terms.
-
From:Person's name
-
In:Channel or group chat name
-
Subject:Keyword from a channel message with a subject line
-
Sent:Date
Search tips from the pros
-
Use an asterisk * to get results for any words with a matching prefix. Type the first few letters of a word followed immediately by an asterisk. For example, type "serv*" into the search box, and you'll get results for all words that start with those four letters (for example, server and service).
-
Use quotation marks to search for an exact match on a word or phrase. Example: “annual budget”.
-
The search box also supports certain spell corrections and nickname matches when searching for people.
Note: For more info about using KQL, see the developer documentation at Keyword Query Language (KQL) syntax reference.
Search on a mobile device
-
Tap Search and enter a search term or phrase. Tap Messages, People or Files to narrow your results.