<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Exchange SE &#8211; abow &#8211; how do you do IT</title>
	<atom:link href="https://abow.info/tag/exchange-se/feed/" rel="self" type="application/rss+xml" />
	<link>https://abow.info</link>
	<description>Alle möglichen Handkniffe, die ich mir so zusammentrage im Berufsalltag</description>
	<lastBuildDate>Sat, 31 Jan 2026 21:57:32 +0000</lastBuildDate>
	<language>de</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>Microsoft Exchange // Message Tracking in OnPrem und Exchange Online</title>
		<link>https://abow.info/microsoft/microsoft_exchange/microsoft-exchange-message-tracking-in-onprem-und-exchange-online/</link>
					<comments>https://abow.info/microsoft/microsoft_exchange/microsoft-exchange-message-tracking-in-onprem-und-exchange-online/#respond</comments>
		
		<dc:creator><![CDATA[Andi Bow]]></dc:creator>
		<pubDate>Wed, 09 Jul 2025 14:37:34 +0000</pubDate>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Microsoft Exchange]]></category>
		<category><![CDATA[Microsoft Exchange Online]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Exchange 2016]]></category>
		<category><![CDATA[Exchange 2019]]></category>
		<category><![CDATA[Exchange Online]]></category>
		<category><![CDATA[Exchange SE]]></category>
		<category><![CDATA[Message Tracking]]></category>
		<category><![CDATA[Powershell]]></category>
		<guid isPermaLink="false">https://abow.info/?p=397</guid>

					<description><![CDATA[In diesem Beitrag zeige ich anhand einer Testmail mit dem Betreff &#8222;Neuer Server&#8220; den Mailfluss und die Protokollierung via PowerShell – sowohl für Exchange OnPrem als auch Exchange Online. Der Nachrichtenfluss dieser Testmail läuft wie folgt: 📩 Extern → Hornetsecurity → Exchange OnPrem → Exchange Online Das bedeutet: Die Nachricht lässt sich in beiden Umgebungen [&#8230;]]]></description>
										<content:encoded><![CDATA[
<p><strong>In diesem Beitrag zeige ich anhand einer Testmail mit dem Betreff <em>&#8222;Neuer Server&#8220;</em> den Mailfluss und die Protokollierung via PowerShell – sowohl für Exchange OnPrem als auch Exchange Online.</strong></p>



<p>Der Nachrichtenfluss dieser Testmail läuft wie folgt:</p>



<p><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4e9.png" alt="📩" class="wp-smiley" style="height: 1em; max-height: 1em;" /> <strong>Extern → Hornetsecurity → Exchange OnPrem → Exchange Online</strong></p>



<p>Das bedeutet: Die Nachricht lässt sich in <strong>beiden Umgebungen nachvollziehen</strong>. Dieser Artikel behandelt exemplarisch das Message Tracking einer E-Mail vom <strong>Absender <code>abow@domain.tld</code></strong> mit Startdatum <strong>21.01.2026</strong>.</p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f50d.png" alt="🔍" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Teil 1: Exchange OnPrem</h2>



<h3 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4bb.png" alt="💻" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Befehl:</h3>



<pre class="wp-block-code"><code>Get-MessageTrackingLog -Sender "abow@domain.tld" -Start "01/21/2026" | Select * | Out-GridView
</code></pre>



<h3 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f9e0.png" alt="🧠" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Erklärung:</h3>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th>Parameter</th><th>Bedeutung</th></tr></thead><tbody><tr><td><code>Get-MessageTrackingLog</code></td><td>Startet die Suche im lokalen Exchange-Tracking-Log</td></tr><tr><td><code>-Sender</code></td><td>Filtert nach dem Absender</td></tr><tr><td><code>-Start</code></td><td>Startdatum im Format MM/DD/YYYY (optional mit Uhrzeit)</td></tr><tr><td>`</td><td>Select *`</td></tr><tr><td>`</td><td>Out-GridView`</td></tr></tbody></table></figure>



<h3 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f9e9.png" alt="🧩" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Nützliche Felder:</h3>



<ul class="wp-block-list">
<li><code>EventId</code>: z. B. <code>RECEIVE</code>, <code>SEND</code>, <code>DELIVER</code>, <code>SENDEXTERNAL</code>, <code>AGENTINFO</code></li>



<li><code>MessageSubject</code>: Titel der E-Mail</li>



<li><code>Source</code>: Ursprung des Events, z. B. <code>STOREDRIVER</code>, <code>SMTP</code>, <code>PUBLICFOLDER</code></li>



<li><code>Recipients</code>: Liste der Empfänger</li>
</ul>



<p><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4d6.png" alt="📖" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Weitere Infos: <a href="https://docs.microsoft.com/en-us/powershell/module/exchange/get-messagetrackinglog?view=exchange-ps">Microsoft-Dokumentation zum Cmdlet</a></p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2601.png" alt="☁" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Teil 2: Exchange Online (Microsoft 365)</h2>



<p>Seit etwa 2020 ist das klassische <code>MessageTrackingLog</code> in <strong>Exchange Online</strong> <strong>nicht mehr verfügbar</strong>. Stattdessen gibt es:</p>



<ul class="wp-block-list">
<li><code>Get-MessageTrace</code> – Überblick über Nachrichtentransport</li>



<li><code>Get-MessageTraceDetail</code> – Detailinformationen</li>
</ul>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h3 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4e6.png" alt="📦" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Beispiel 1: <strong>Get-MessageTrace</strong></h3>



<pre class="wp-block-code"><code>Get-MessageTrace `
  -SenderAddress "abow@domain.tld" `
  -StartDate "01/21/2026" `
  -EndDate "01/22/2026" |
  Select *
</code></pre>



<p><strong>Wichtig</strong>: Das Enddatum muss <strong>einen Tag später</strong> gesetzt werden, da Exchange Online tagesweise auswertet.</p>



<p><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4d6.png" alt="📖" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Doku: <a href="https://docs.microsoft.com/en-us/powershell/module/exchange/get-messagetrace?view=exchange-ps">Get-MessageTrace (Microsoft)</a></p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h3 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f52c.png" alt="🔬" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Beispiel 2: <strong>Get-MessageTraceDetail</strong></h3>



<p>Variante A: Per Pipeline direkt aus dem vorherigen Befehl:</p>



<pre class="wp-block-code"><code>Get-MessageTrace `
  -SenderAddress "abow@domain.tld" `
  -StartDate "01/21/2026" `
  -EndDate "01/22/2026" |
Get-MessageTraceDetail |
Select *
</code></pre>



<p>Variante B: Manuell mit <code>MessageTraceId</code> und Empfängeradresse:</p>



<pre class="wp-block-code"><code>Get-MessageTraceDetail `
  -MessageTraceId "GUID" `
  -RecipientAddress "abow@domain.tld"
</code></pre>



<h3 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/26a0.png" alt="⚠" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Hinweis</h3>



<p>Ein Nachteil von <code>Get-MessageTraceDetail</code>: <strong>Die Umwandlung zwischen onmicrosoft-Adresse und primärer SMTP-Adresse wird nicht sauber dargestellt</strong> – Probleme bei der Adressauflösung bleiben also u. U. unentdeckt.</p>



<p><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4d6.png" alt="📖" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Doku: <a href="https://docs.microsoft.com/en-us/powershell/module/exchange/get-messagetracedetail?view=exchange-ps">Get-MessageTraceDetail (Microsoft)</a></p>



<hr class="wp-block-separator has-alpha-channel-opacity"/>



<h2 class="wp-block-heading"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/2705.png" alt="✅" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Fazit</h2>



<ul class="wp-block-list">
<li><strong>Exchange OnPrem</strong> bietet detailliertes, lokales Tracking per <code>Get-MessageTrackingLog</code></li>



<li><strong>Exchange Online</strong> nutzt <code>Get-MessageTrace</code> und <code>Get-MessageTraceDetail</code> – weniger granular, aber ausreichend für Standardanalysen</li>



<li>Für <strong>Hybrid-Umgebungen</strong> (z. B. mit Hornetsecurity oder zentralem Mailflow) muss <strong>beide Seiten</strong> geprüft werden</li>



<li>Nutze <strong>GUI-Ausgaben (<code>Out-GridView</code>)</strong>, wenn du schnell manuell analysieren willst</li>
</ul>
]]></content:encoded>
					
					<wfw:commentRss>https://abow.info/microsoft/microsoft_exchange/microsoft-exchange-message-tracking-in-onprem-und-exchange-online/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
