Share via

[Outlook 365] search returns fails on strings with hyphens/dots (FQDNs) in Message Body

CorsaroDelVento 61 Reputation points
2026-03-20T11:26:50.9266667+00:00

I am facing a specific issue with the Outlook 365 Search (the simplified top search bar) when dealing with technical strings like hostnames or FQDNs.

When I search for a string like rc-08-s-kr.rtc.ttr.country.it in the 'Body' field (or even the general search bar), Outlook returns "No results".

I have already performed the following tests:

Quotes: Tested both with and without double quotes (e.g., "rc-08-s-kr.rtc.ttr.country.it").

Scope: Set the search scope to 'All Outlook Items' (including Deleted Items).

Simple text test: If I search for a plain word (e.g., "Riccardo") that contains no dots or hyphens, the search works perfectly.

Indexing: I have already rebuilt the search index entirely from the Windows Control Panel, but the issue persists.

The Workaround: The search only works if I use the Advanced Find (Ctrl+Shift+F):

  1. Go to the 'Advanced' tab.
  2. Select Field: 'All Mail fields' > 'Message'.
  3. Condition: 'contains'.
  4. Value: rc-08-s-kr.rtc.ttr.country.it. Through this method, the email is found immediately.

Suggestions please ?

Microsoft 365 and Office | Other
0 comments No comments

Answer accepted by question author
  1. Chloe-L 11,540 Reputation points Microsoft External Staff Moderator
    2026-03-20T20:11:20.1933333+00:00

    Hello CorsaroDelVento, and thank you for providing such incredibly detailed troubleshooting steps.

    I understand how frustrating it is when the primary search bar fails to find specific technical strings that Advanced Find locates immediately, and I appreciate you sharing your concern here. 

    To help narrow this down, could you confirm if the email account you are searching is a personal account (like Outlook.com or IMAP) or a Work/Enterprise Exchange account? 

    I performed a test in Classic Outlook using both personal and work accounts. When I placed a string like rc-08-s-kr.rtc.ttr.country.it in the body of an email, the top search bar returned the result normally.

    User's image

    Because your search worked perfectly with Advanced Find (Ctrl+Shift+F), it indicates your local Windows search index is healthy, but the connection to the "Cloud Search" (Server Assisted Search) may be failing to parse those specific characters. 

    You can apply a quick registry edit to turn off the cloud search and force the top search bar to use your local index instead. 

    Note: If this is a work computer, you may need to ask your IT department to apply this for you. 

    • Close Outlook completely. Click the Windows Start button, type regedit, and press Enter
    • Navigate to this exact path: HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Search 

    (If the Search folder does not exist, right-click the Outlook folder, select New > Key, and name it Search). 

    • Right-click in the blank space on the right pane, select New, and choose DWORD (32-bit) Value
    • Name this new value exactly: DisableServerAssistedSearch 
    • Double-click the new value, change the Value data to 1, and click OK
    • Close the Registry Editor and reopen Outlook. 

    I hope this information helps your top search bar function correctly with technical hostnames. Please let me know if you need further assistance or if this registry change resolves the issue for you. 


    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.


1 additional answer

Sort by: Most helpful
  1. Q&A Assist
    2026-03-20T11:27:05.9766667+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Outlook’s top (simplified) search bar can return incomplete or unexpected results for certain patterns in the message body, including strings with dots and hyphens such as FQDNs. This is a known limitation of the main search experience, and explains why:

    • The same FQDN search fails in the normal search bar, even with quotes and with “All Outlook Items” selected.
    • The message is found immediately when using Advanced Find with Field = Message, Condition = contains, and the same value.

    The supported workaround is to run these kinds of searches via the Advanced Search/Advanced Find UI instead of the simplified search bar. For body-content searches on technical strings (FQDNs, hostnames, IDs with punctuation), use:

    1. Click in the Outlook search box, then choose the option to open Advanced Search/Advanced Find (or press Ctrl+Shift+F in classic Outlook).
    2. On the Advanced tab, add the Message (or Body) field.
    3. Set Condition to contains.
    4. Enter the full FQDN or hostname value.
    5. Run the search.

    For date-based or other constrained searches, using the Advanced Search window is also the recommended workaround because Outlook sends a more precise query (including time zone and detailed criteria) to Exchange when searches are initiated there.


    References:


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.