Transport Rule Agent placing messages in Poison queue

Joseph Larrew 341 Reputation points Microsoft Employee
2021-02-11T15:21:11.09+00:00

Having a weird problem. It seems the Transport Rule Agent on an Exchange 2019 server is causing messages to sporadically be placed in the Poison queue. It is not nearly every message going through this one server. This DAG of 2019 servers is very new in an Exchange 2013 environment. Things that I’ve tried:

  1. Disabling the Transport Rule Agent gets the messages out of the queue and on to their destination, but when I re-enable it, the behavior continues.
  2. Found this link that mentions files missing from the %ExchangeInstallPath%FIP-FS\Data\Engines\amd64 folder. I saw that it was different from servers in the same DAG. Made them the same and restarted a couple of services, to include MSExchangeTransport. Also restarted server. This did not work.
  3. Tried changing permissions on registry key mentioned below, to no avail.
  4. Disabled the specific transport rule mentioned in Event 4010 and no change.

I’m trying to figure out which Exchange log I should be looking at. I assume it should be under the TransportRoles\Logs\Hub folder since messages get put in the Poison queue and they get put there after going through the transport agents. When I run “Set-TransportService,” which logs should I make sure are enabled and set to the highest level of logging? When I look through the Application log in the Event Viewer, I see a couple of different events that look like they could be relevant information, which is as follows:

First event once a message gets put in the poison queue as far as I can tell: “Event 10001 – Source: MSExchangeTransport – Task Category: PoisonMessage – Message: X messages have reached or exceeded the configured poison threshold of 2. After the Microsoft Exchange Transport service restarted, these messages were moved to the poison message queue.”

Event 4010 – Source: MSExchange Messaging Policies – Task Category: Rules – Message: Transport engine failed to evaluate condition due to Filtering Service error. The rule is configured to ignore errors. Details: Message ID [message ID]. Rule ID: [rule ID]. Predicate [predicate] Action Filtering Service Failure Exception Error: FIPS test Extraction failed with error: ‘Scanning Process caught exception: … Unknown Error 2214608899. Unable to reserve MSAM for file parsing – the engine is permanently offline’. See inner exception for details -- [big long inner exception text]

Event 4007 – Source: MSExchange Messaging Policies – Task Category: Rules – Message: Transport engine failed to evaluate condition or apply action. [message ID][Rule ID][Predicate]. UnautheroizedAccessException Error: Access to the registry ‘HKLM\SOFTWARE\Microsoft\ExchangeServer\v15\WorkerTaskFramework\IdStore\ProbeDefinitionIDConflicts’ is denied. [long inner exception trace]

Event 1051 – Source: MSExchange Extensibility – Task Category: MExRuntime – Message: Agent ‘Transport Rule Agent’ caused an unhandled exception ‘UnauthorizedAccessException: Access to the registry key [same key as above] is denied while handling event OnResolvedMessage.

Event 17025 – Source: Transport – Task Category: Storage – Message: The following messages were loaded at startup before Transport crashed. To avoid further crashes, it is recommended that a New-InterceptorRule is deployed matching the values for the message that caused the Transport to crash. [message info like from, to, and subject]

Event 4999 – Source: MSExchange Common – Task Category: General – Message: Watson report about to be sent for process id: [process id], with parameters: E12II, c-RTL-AMD64, 15.02.0792.003, edgetransport, mscorlib, M.W.RegistryKey.CreateSubKeyInternal, System.UnauthorizedAccessException, a293-dempidset, 04.08.4300.000, ErrorReportingEnabled: False

Event 2203 – Source: FIPFS – Message: A FIP-FS Scan process returned error 0x84004003 PID: [PID] Msg: Scanning Process caught exception “Unable to reserve MSAM for file parsing – the engine is permanently offline ID: {[hex guid looking data]}”

Exchange | Exchange Server | Management
{count} votes

Accepted answer
  1. Joseph Larrew 341 Reputation points Microsoft Employee
    2021-02-16T14:45:22.78+00:00

    To reference the last comment on the post itself, the messages were not indeed harmful. Still no idea why I couldn't get them to leave the queue. In any event, after replacing the files mentioned in the link associated with troubleshooting step 2, indeed no more errors in the event log related to this issue (like those mentioned in the OP) as well as no messages being put in the poison queue. For the TL;DR crew, make sure the proper files are in the following location:

    %ExchangeInstallDirectory%FIP-FS\Data\Engines\amd64

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

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