question

LucasLiu-MSFT avatar image
1 Vote"
LucasLiu-MSFT asked AlexShell-5168 commented

[Migrated from MSDN Exchange Dev]Exchange 2019 does not search forwarded message with attachment

[Note] This thread was originally posted on MSDN. As the MSDN Exchange Dev forum mainly focuses on developing issues and the TechNet Exchange forums for general questions have been locked down, we manually migrated this one to Microsoft Q&A platform to continue the troubleshooting.

Hi everyone.

We encountered a very strange bug with exchange search.

Context:

Outlook working in on-line mode (running on terminal servers, so we can`t chnage it to cached mode due high IO)

When user get message with any attached file AND forward it, the message disappears from the search results. Outlook search showing forwarded message from "SENT" folder, but do not showing original message in "INBOX"

There is an example on sreenshot
50681-3333.png


as you can see, search showing only 3 results, while we have 4 messages (2 in inbox, 2 in sent).

OWA have same issue.

Users do not use Conversation View, as some correspondence may contain dozens of messages that are difficult to view in this form.

This problem appear after upgrading to Exchange 2019 (CU3) from 2016. Now we installed CU8, but this bug still here...

Has anyone encountered a similar bug?


office-exchange-server-administration
3333.png (51.2 KiB)
· 6
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @AntonK-7340 and @MarcoMandricardo-1414 ,
I want to confirm with you that when using MFCMAPI to view the original email with the problem, is the parameter "BigFunnelCorrelationID" empty?
Looking for your feedback.
63933-1.png



If the response is helpful, please click "Accept Answer" and upvote it.
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.




0 Votes 0 ·
1.png (30.1 KiB)

Helo, Lucas! I don`t find this attribute in original message (in Inbox). Message in Sent folder has this attribute, in Inbox - no.

0 Votes 0 ·

hi @LucasLiu-MSFT
i confirm that on an item just recived, i have the parameters, but after forwarded them, it's gone. here the screenshot about my test:

email just arrived:
64522-image.png

email after forwarding
64466-image.png


after you confirm the bug, there is a hotfix for repair search on all email recived and forwarded that has lose this parameters?


0 Votes 0 ·
image.png (458.1 KiB)
image.png (432.3 KiB)

Hi @AntonK-7340 and @MarcoMandricardo-1414 ,
Thank you very much for the information.
Combined with the current information, we still cannot determine that the issue must be a BUG. I am doing more testing in the specific CU version of Exchange 2019 you provided to determine the root cause.
If there is any progress, I will update it in this post immediately.



If the response is helpful, please click "Accept Answer" and upvote it.
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.


0 Votes 0 ·

thank you @LucasLiu-MSFT ,
what other kind of thing could be causing this problem then?

we are testing and evaluating the solution with outlook cache enabled in the meantime

0 Votes 0 ·

Hi @MarcoMandricardo-1414 ,
Taking into account the particularity of this problem, we are currently unable to confirm what caused this parameter to be changed. We are doing more tests in different versions of Exchange 2019 experimental environment. thank you for your patience.
As a wrokaround, if possible, you can temporarily enable oulook cache mode to avoid this problem.



If the response is helpful, please click "Accept Answer" and upvote it.
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.


0 Votes 0 ·
LucasLiu-MSFT avatar image
1 Vote"
LucasLiu-MSFT answered LucasLiu-MSFT edited

Hi ,
Do you have this issue with forwarding emails without attachments?
After forwarding, can you see the original mail in your mailbox?
Only one user have this issue or all have?
1. Please check and make sure all Exchange servers are running normal, especially the “MS search service” and “MS search host controller”.
50672-5555.png
2.Confirm that the database where the user is located has search index enabled, and the value of IndexEnabled should be true by running:

 Get-mailbox <user name> | fl name,database
 Get-MailboxDatabase <db name> | fl Name,IndexEnabled

3.Check the status of the database and content index by running below command. If ContentIndexState shows FailedAndSuspended or Failed status, try to rebuild the database content index directory.

 Get-MailboxDatabaseCopyStatus | ft Name,Status,ContentIndexState



If the response is helpful, please click "Accept Answer" and upvote it.
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.







5555.png (7.6 KiB)
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @AntonK-7340 ,
Do suggestions above help? If the issue has been resolved, please click “Accept as answer” to mark helpful reply as an answer, this will make answer searching in the forum easier and be beneficial to other community members as well.

Thanks for your understanding.


If the response is helpful, please click "Accept Answer" and upvote it.
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.


0 Votes 0 ·

No. Please, see my comment below.

0 Votes 0 ·

Hi @AntonK-7340 ,
Does the check have any results?



If the response is helpful, please click "Accept Answer" and upvote it.
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.


0 Votes 0 ·

Hi @AntonK-7340 and @MarcoMandricardo-1414 ,
Regarding this issue, we are conducting internal discussions and testing in more environments to reproduce the problem. If we have any update, I will update it in this post immediately.



If the response is helpful, please click "Accept Answer" and upvote it.
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.


0 Votes 0 ·
AntonK-7340 avatar image
0 Votes"
AntonK-7340 answered MarcoMandricardo commented

Without attachments search working fine, you can see it on screenshot.
After forwarding - yes, the original message exist in inbox, but search don`t showing it.
Only one user - no, all users, also i have tested this bug on 3 installations of Exchange Server 2019 in different Active Directory forests.
1. - Service working, we tryed to restart it, but unsuccessfully
2. - As i know, exchane 2019 does not have IndexEnabled attribute in mailbox database, because search engine was changed.
P.S. Mailbox migration from one MDB to another fix issue with exsiting messages. But after migration new emails having same problem.



· 8
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @AntonK-7340 ,
Do you have the same problem if you search through other information? E.g. sender

What problems did you encounter when restarting these two services?



If the response is helpful, please click "Accept Answer" and upvote it.
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.


0 Votes 0 ·

Search by sender returns same result. Message with attachment don`t showing in inbox, only in sent items.

What problems did you encounter when restarting these two services? - Did not quite understand the question. We have restarted the services in the hopes that this will fix the search problem. It did not help.

0 Votes 0 ·

Hi @AntonK-7340 ,
According to my research, this issue probably caused by BigFunnel.
1.Please run the following command to check whether the bifFunnel is enabled and whether any items are not indexed.

 Get-MailboxStatistics user1 | fl BigFunnelIsEnabled,*notindex*

2.You can check the attributes of the email by using MFCMAPI. The attribute value of "0x365A0003" of normal email is "0".
52648-22222.png



If the response is helpful, please click "Accept Answer" and upvote it.
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.




0 Votes 0 ·
22222.png (29.2 KiB)
Show more comments
MarcoMandricardo avatar image
0 Votes"
MarcoMandricardo answered MarcoMandricardo commented

hi,
we have a problem like this, but with all mail,
if the first action is forward, the next search always don't display it in inbox folder search.
we have this scenario:
Exchange 2019 CU7 Version 15.2 ‎(Build 721.2)‎
with outlook in online mode because of RDP server
Microsoft Outlook 2016 (16.0.5110.1000) MSO (16.0.5110.1001) 32bit

i have check bifunnell search index and i have 0 element not index. but the problem is still here.
someone has microsoft support for ask a solution?

please not tell me to use cached mode. i have an RDP farm.

58545-immagine.png



immagine.png (8.1 KiB)
· 4
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @MarcoMandricardo-1414 ,
Did you try the methods provided above? Such as migrate the user mailbox to another database.
What is the result?



If the response is helpful, please click "Accept Answer" and upvote it.
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.



0 Votes 0 ·

hi @LucasLiu-MSFT ,
migrate mailbox to another db resolve element not indexed, but not resolve this issue about search from outlook in online mode, just after forwarded, it disappear from research result.. it's a real time bug, one moment before research show it in the result, i forwarded it to a contact, internal or external doesn't matter, search again and there is no more the original message in the result.

it seems that forward a message change it's property and hide it from reasearch.

it's a big problem beacouse we have an RDP farm, and all user use outlook in online mode, we can't enable cache in RDP.

ps sorry for my english

0 Votes 0 ·

Hi @MarcoMandricardo-1414 ,
Please use MFCMAPI to check whether the value of parameter "0x365A0003" will be changed after forwarding your email in the way I provided above.
In addition, after trying to migrate the problem user to a new database, does the problem persist?



If the response is helpful, please click "Accept Answer" and upvote it.
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.



0 Votes 0 ·
Show more comments
ANTONKARAPUTIN-1935 avatar image
0 Votes"
ANTONKARAPUTIN-1935 answered

Hi @LucasLiu-MSFT , сan you please tell me if there is any information about the bug over the past month? Is the issue reported as a bug? There will be a new CU coming soon, it would be great to get a bug fix in it.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

LucasLiu-MSFT avatar image
0 Votes"
LucasLiu-MSFT answered

Hi @MarcoMandricardo-1414 , @AntonK-7340
In the past month, I have installed several Exchange 2019 CU versions that you mentioned as having issue. And many experiments have been carried out in the environment, but unfortunately we have not been able to successfully reproduce your problem. In addition, I also searched and researched cases of search problems caused by BigFunnel, but no specific solutions were found in the cases.

Considering that the problem has already affected your actual use, in order to further investigate the root cause of the problem, it is recommended that you open a case with Microsoft for further investigation.

If you successfully solve the problem, you can also share your solution here. This will be beneficial to other community members as well.

I will continue to test and research to find more relevant information.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

MarcoMandricardo avatar image
0 Votes"
MarcoMandricardo answered Drogo edited

Thanks @LucasLiu-MSFT ,
how can i open a case with Microsoft for further investigation?

or at who could i ask to do that for me?

i'm from Italy.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Drogo avatar image
0 Votes"
Drogo answered

sending a new email , ( Outlook online mode.)
Using troubleshootmordernmailboxsearch.ps1 checking the bigfunnelcorrelation ID Attribute value.
troubleshoot-mordernsearch.ps1 -mailbox "mbxname" -itemsubject "subject name " -matchsubjectsubstring | select bigfunnelcorelationID
forward the email to someone,
then Using troubleshootmordernmailboxsearch.ps1 check the bigfunnelcorrelation ID of the original email if it goes missing.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Drogo avatar image
0 Votes"
Drogo answered AlexShell-5168 edited

Followed the above steps and download the steps from this site:

https://github.com/microsoft/CSS-Exchange/releases/latest/download/Troubleshoot-ModernSearch.ps1
Run on Exchange management server.

And let me know if anybody can reproduce this, we will check in our environment to see if can come up with a solution for this kind of bug.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

We have the same problem: Outlook (online mode) does not see forwarded messages with an attachment in the search (in the Outlook Inbox).
Our environment:
Windows Server 2019 (all latest updates as of 08.11.2021)
Exchnage Server 2019 (CU 11 + CU11 Oct21SU)

The results of running the troubleshoot-mordernsearch.ps1 utility are in the attachment (csv in txt files):
frist_message.txt - Log with the first message, where:
InternetMessageId: 9f7468530b984debb75ad1cf92cbd891@company.ru
BigFunnelCorrelationId: 5aef897a-7433-4753-8ceb-7abe257e87ae
IndexStatus: Indexed

forwarded_message.txt - Log with forwarded email, where:
The original message in the Inbox (which stopped being looked for)
InternetMessageId: 9f7468530b984debb75ad1cf92cbd891@company.ru
BigFunnelCorrelationId: NULL
IndexStatus: ShouldNotBeIndexed
And we see the forwarded message in Sent (which shows up in the search):
InternetMessageId: 51c4d0a647714432afea1660ae112805@company.ru
BigFunnelCorrelationId: 432bcff7-3c6c-4df9-8013-3329bba3e092
IndexStatus: Indexed

I don't have this problem with forwarding via OWA or mobile outlook.

Why does the email get Status: ShouldNotBeIndexed in my Inbox and why is BigFunnelCorrelationId missing?
And how to fix this problem?

147294-frist-message.txt147411-forwarded-message.txt


0 Votes 0 ·
Clinton-9202 avatar image
0 Votes"
Clinton-9202 answered

Has anyone found a resolution to this issue yet? We have the same problem:

After installing an earlier CU (CU6 perhaps), BigFunnel stopped on all mailboxes. Every search now only yields emails prior to the CU install date.
- I've tried installing CU9 and CU10 and still broken.
- I've tried migrating mailboxes to a new database but get an error that I can't migrate because BigFunnel indexing is out of sync or something like that, so a catch 22.
- I've tried Start-MailboxAssistant -Identity user1 -AssistantName BigFunnelRetryFeederTimeBasedAssistant

Microsoft, please fix this!

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

NetworkMaster-5159 avatar image
0 Votes"
NetworkMaster-5159 answered

We are also seeing the same behavior with freshly created calendar entries

https://docs.microsoft.com/en-us/answers/questions/603861/exchange-2019-and-unsearchable-calendar-items.html?childToView=611050#comment-611050

Are there any MS Reps who want to pick this up and get some diag data offlist to try and sort this out

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.