<?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 &#8211; Miroslav Šraga</title>
	<atom:link href="https://www.sraga.cz/tag/exchange/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.sraga.cz</link>
	<description>Sdílím své zkušenosti s Microsoft 365 a Azure</description>
	<lastBuildDate>Sun, 25 Jan 2026 13:09:42 +0000</lastBuildDate>
	<language>cs</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9</generator>
	<item>
		<title>Azure Communication Services od A po Z</title>
		<link>https://www.sraga.cz/azure-communication-services-od-a-po-z/</link>
					<comments>https://www.sraga.cz/azure-communication-services-od-a-po-z/#respond</comments>
		
		<dc:creator><![CDATA[Miroslav Šraga]]></dc:creator>
		<pubDate>Sun, 25 Jan 2026 13:03:12 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Azure AD / Entra ID]]></category>
		<category><![CDATA[Microsoft 365]]></category>
		<category><![CDATA[Správa IT]]></category>
		<category><![CDATA[Azure Communication Services]]></category>
		<category><![CDATA[Basic Authentication]]></category>
		<category><![CDATA[Entra ID]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Exchange Online]]></category>
		<category><![CDATA[PowerShell]]></category>
		<guid isPermaLink="false">https://www.sraga.cz/?p=1465</guid>

					<description><![CDATA[Azure Communication Services (ACS) je cloudová platforma, která umožňuje integrovat e‑mail, SMS, chat, hlas i video do vlastních aplikací přes jednoduchá API a SDK. Využívá zabezpečení a identitu Microsoft Entra ID (OAuth 2.0), nabízí škálování, telemetrii a řízení nákladů, takže se hodí pro zasílání základních notifikací až po komplexní komunikační kanály. Pro zasílání e‑mailů je ... <a title="Azure Communication Services od A po Z" class="read-more" href="https://www.sraga.cz/azure-communication-services-od-a-po-z/" aria-label="Číst více o Azure Communication Services od A po Z">Číst dál</a>]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="1465" class="elementor elementor-1465" data-elementor-post-type="post">
				<div class="elementor-element elementor-element-bbdcef0 e-flex e-con-boxed e-con e-parent" data-id="bbdcef0" data-element_type="container">
					<div class="e-con-inner">
				<div class="elementor-element elementor-element-2c44e8c elementor-widget elementor-widget-text-editor" data-id="2c44e8c" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Azure Communication Services (ACS) je <strong>cloudová</strong> platforma, která umožňuje <strong>integrovat e‑mail, SMS, chat, hlas i video do vlastních aplikací</strong> přes jednoduchá API a SDK.</p><p>Využívá zabezpečení a identitu Microsoft Entra ID (<strong>OAuth</strong> 2.0), nabízí škálování, telemetrii a řízení nákladů, takže se hodí pro zasílání základních notifikací až po komplexní komunikační kanály.</p><p>Pro zasílání e‑mailů je zde komponenta <strong>Azure Communication Services Email</strong>, která umožňuje programově <strong>odesílat</strong> například transakční <strong>zprávy</strong>, <strong>maily</strong> z <strong>multifunkčních</strong> zařízení, z internetových <strong>formulářů</strong>, <strong>skriptů</strong>, <strong>Logic Apps</strong>, Microsoft <strong>Sentinel</strong> a podobně.</p><p>Díky tomu může sloužit jako <strong><a href="https://www.sraga.cz/exchange-online-microsoft-vypne-basic-autentizaci-pro-client-submission-smtp-auth/" target="_blank" rel="noopener">náhrada za končící SMTP Basic Authentication</a></strong>. Klíč je v tom, že namísto běžných přihlašovacích údajů se v zařízení či aplikaci použije moderní ověřování přes Entra ID a zprávy se odesílají přes Communication Srvices Email standardním SMTP protokolem na portu 25 nebo 587.</p><p>Výsledkem je spolehlivější doručování, lepší audit a governance a výrazně bezpečnější model než přímé posílání přes SMTP s Basic autentizací ale při zachování naprosto totožné funkcionality.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-6d7587d elementor-toc--minimized-on-tablet elementor-widget elementor-widget-table-of-contents" data-id="6d7587d" data-element_type="widget" data-settings="{&quot;exclude_headings_by_selector&quot;:[],&quot;no_headings_message&quot;:&quot;No headings were found on this page.&quot;,&quot;headings_by_tags&quot;:[&quot;h2&quot;,&quot;h3&quot;,&quot;h4&quot;,&quot;h5&quot;,&quot;h6&quot;],&quot;marker_view&quot;:&quot;numbers&quot;,&quot;minimize_box&quot;:&quot;yes&quot;,&quot;minimized_on&quot;:&quot;tablet&quot;,&quot;hierarchical_view&quot;:&quot;yes&quot;,&quot;min_height&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;min_height_tablet&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;min_height_mobile&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]}}" data-widget_type="table-of-contents.default">
				<div class="elementor-widget-container">
									<div class="elementor-toc__header">
						<h4 class="elementor-toc__header-title">
				Obsah			</h4>
										<div class="elementor-toc__toggle-button elementor-toc__toggle-button--expand" role="button" tabindex="0" aria-controls="elementor-toc__6d7587d" aria-expanded="true" aria-label="Open table of contents"><svg aria-hidden="true" class="e-font-icon-svg e-fas-chevron-down" viewBox="0 0 448 512" xmlns="http://www.w3.org/2000/svg"><path d="M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"></path></svg></div>
				<div class="elementor-toc__toggle-button elementor-toc__toggle-button--collapse" role="button" tabindex="0" aria-controls="elementor-toc__6d7587d" aria-expanded="true" aria-label="Close table of contents"><svg aria-hidden="true" class="e-font-icon-svg e-fas-chevron-up" viewBox="0 0 448 512" xmlns="http://www.w3.org/2000/svg"><path d="M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z"></path></svg></div>
					</div>
				<div id="elementor-toc__6d7587d" class="elementor-toc__body">
			<div class="elementor-toc__spinner-container">
				<svg class="elementor-toc__spinner eicon-animation-spin e-font-icon-svg e-eicon-loading" aria-hidden="true" viewBox="0 0 1000 1000" xmlns="http://www.w3.org/2000/svg"><path d="M500 975V858C696 858 858 696 858 500S696 142 500 142 142 304 142 500H25C25 237 238 25 500 25S975 237 975 500 763 975 500 975Z"></path></svg>			</div>
		</div>
						</div>
				</div>
					</div>
				</div>
		<div class="elementor-element elementor-element-d8ce7e1 e-flex e-con-boxed e-con e-parent" data-id="d8ce7e1" data-element_type="container">
					<div class="e-con-inner">
				<div class="elementor-element elementor-element-9212d06 elementor-widget elementor-widget-heading" data-id="9212d06" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Azure Communication Services - Email Comminication - celý postup</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-6be27a8 elementor-widget elementor-widget-video" data-id="6be27a8" data-element_type="widget" data-settings="{&quot;youtube_url&quot;:&quot;https:\/\/youtu.be\/snOQQRrmeEw&quot;,&quot;video_type&quot;:&quot;youtube&quot;,&quot;controls&quot;:&quot;yes&quot;}" data-widget_type="video.default">
				<div class="elementor-widget-container">
							<div class="elementor-wrapper elementor-open-inline">
			<div class="elementor-video"></div>		</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-8488f8d elementor-widget elementor-widget-text-editor" data-id="8488f8d" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Tento návod je mixem níže uvedených video-návodu, které jsem vydal již dříve. Videa jsem spojil tak, aby dávala ucelený postup od A až po Z.</p><p><strong><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f3ac.png" alt="🎬" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Obsah:</strong></p><p>00:00 &#8211; Úvod &#8211; Představení Azure Communication Services<br />02:50 &#8211; Základní limity služby<br />03:40 &#8211; Ceny (Azure Calculator)<br />06:39 &#8211; Důležité úkony, postup nasazení<br />09:05 &#8211; Vytvoření prostředku Azure Communication Service<br />11:00 &#8211; Vytvoření prostředku Email Communication Services<br />13:25 &#8211; Domain provisioning<br />&#8211; Free Azure subdomain<br />&#8211; Custom domain<br />17:45 &#8211; Propojení Azure Communication Service a Email Communication Services<br />19:00 &#8211; TEST: Odeslání e-mailu z Email Communication Services (Azure portál) &#8211; Free Azure subdomain<br />21:35 &#8211; Keys &amp; Connection strings &#8211; pro použití v Logic Apps a prostředí Azure<br />22:15 &#8211; Přidání vlastní domény do Email Communication Services (DNS: SPF, DKIM)<br />29:05 &#8211; TEST: Odeslání e-mailu z Email Communication Services (Azure portál) &#8211; vlastní doména / custom domain<br />30:10 &#8211; SMTP RELAY: Řízení přístupu IAM, Entra ID &#8211; Registrovaná aplikace &#8211; Communication and Email service Owner<br />&#8211; Udělení oprávnění<br />&#8211; Vytvoření Client secret pro Registrovanou aplikaci<br />&#8211; Vytvoření SMTP Username (uživatelské jméno pro SMTP)<br />37:24 &#8211; TEST: Odeslání emailu pomocí PowerShell scriptu přes Email Communication Services &#8211; ověření SMTP jméno + heslo (přes Registrovanou aplikaci a Client Secret / OAuth)<br />39:37 &#8211; TEST: Odeslání emailu pomocí PHP scriptu přes Email Communication Services &#8211; ověření SMTP jméno + heslo (přes Registrovanou aplikaci a Client Secret / OAuth)<br />40:45 &#8211; Nastavení vlastní identifikace odesílatele (MailFrom) namísto DoNotReply<br />46:15 &#8211; TEST &#8211; Odeslání e-mailu pomocí PowerShell skriptu s vlastní identifikací odesílatele (MailFrom)<br />46:20 &#8211; TEST &#8211; Odeslání e-mailu pomocí PHP skriptu s vlastní identifikací odesílatele (MailFrom)<br />50:08 &#8211; Azure Logic App &#8211; napojení na Communication Services, odeslání e-mailu<br />55:50 &#8211; Microsoft Sentinel &#8211; napojení na Communication Services, odeslání e-mailu<br />1:09:35 &#8211; Závěrečné shrnutí</p>								</div>
				</div>
				<div class="elementor-element elementor-element-984259f elementor-widget elementor-widget-heading" data-id="984259f" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Azure Communication Services - odesílání e-mailu bez identity uživatele (Sentinel, Logic App)</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-ce85202 elementor-widget elementor-widget-video" data-id="ce85202" data-element_type="widget" data-settings="{&quot;youtube_url&quot;:&quot;https:\/\/youtu.be\/iOPTcYNzg3w&quot;,&quot;video_type&quot;:&quot;youtube&quot;,&quot;controls&quot;:&quot;yes&quot;}" data-widget_type="video.default">
				<div class="elementor-widget-container">
							<div class="elementor-wrapper elementor-open-inline">
			<div class="elementor-video"></div>		</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-6d2e6f8 elementor-widget elementor-widget-text-editor" data-id="6d2e6f8" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>V tomto videu se dozvíte, jakým způsobem <strong>odeslat e-mail ze služby Microsoft Sentinel</strong> nebo z jakékoliv <strong>Logic App</strong>, aniž by bylo potřeba použít identitu uživatele &#8211; tedy bez nutnosti použití identity uživatele s licencí Exchange Online. K odeslání e-mailů tedy nebudeme používat napojení na účet uživatele, ale použijeme službu Azure Communication Services a konkrétně komponentu Email Communication Service.</p><p><strong><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f3ac.png" alt="🎬" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Obsah:</strong><br />00:00 &#8211; Úvod<br />01:33 &#8211; Základní limity služby<br />02:30 &#8211; Ceny<br />05:33 &#8211; Vytvoření prostředku Azure Communication Service<br />07:35 &#8211; Vytvoření prostředku Email Communication Services<br />&#8211; Free Azure subdomain<br />&#8211; Custom domain<br />14:30 &#8211; Propojení Azure Communication Service a Email Communication Services<br />18:04 &#8211; Odeslání e-mailu z Logic App<br />24:40 &#8211; Nastavení vlastní domény (Custom domain)<br />32:17 &#8211; Azure Sentinel &#8211; jak odeslat e-mail s upozorněním na nový incident pomocí Email Communication Services<br />46:50 &#8211; Dodatečné informace:<br />&#8211; User Engagement Tracking<br />&#8211; MailFrom Addresses (vlastní adresy odesílatele)</p>								</div>
				</div>
				<div class="elementor-element elementor-element-ba07b65 elementor-widget elementor-widget-heading" data-id="ba07b65" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Odesílání emailů přes SMTP relay pomocí Microsoft Azure Communication Services</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-941694e elementor-widget elementor-widget-video" data-id="941694e" data-element_type="widget" data-settings="{&quot;youtube_url&quot;:&quot;https:\/\/youtu.be\/9BYnSXbL71c&quot;,&quot;video_type&quot;:&quot;youtube&quot;,&quot;controls&quot;:&quot;yes&quot;}" data-widget_type="video.default">
				<div class="elementor-widget-container">
							<div class="elementor-wrapper elementor-open-inline">
			<div class="elementor-video"></div>		</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-d6b500b elementor-widget elementor-widget-text-editor" data-id="d6b500b" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>ACS Email může sloužit jako <strong>náhrada za končící SMTP Basic Authentication</strong>. Klíč je v tom, že namísto běžných přihlašovacích údajů se v zařízení či aplikaci použije <strong>moderní ověřování přes Entra ID</strong> a zprávy se odesílají přes <strong>Communication Services Email</strong> standardním SMTP protokolem na portu 25 nebo 587.</p><p>Výsledkem je spolehlivější doručování, lepší audit a governance a výrazně bezpečnější model než přímé posílání přes SMTP s Basic autentizací ale při zachování naprosto totožné funkcionality.</p><p><strong><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f3ac.png" alt="🎬" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Obsah:</strong><br />00:00 &#8211; Úvod<br />01:50 &#8211; Důležité úkony<br />04:45 &#8211; Konfigurace Azure Communication Services &amp;&amp; Email Communication Services<br />06:45 &#8211; Entra ID &#8211; Registrovaná aplikace<br />09:05 &#8211; Udělení oprávnění<br />09:45 &#8211; Vytvoření Client secret pro Registrovanou aplikaci<br />12:30 &#8211; Vytvoření SMTP Username (uživatelské jméno pro SMTP)<br />13:50 &#8211; TEST &#8211; Odeslání e-mailu pomocí PowerShell skriptu<br />15:47 &#8211; TEST &#8211; Odeslání e-mailu pomocí PHP skriptu<br />16:57 &#8211; Nastavenní vlastní identifikace odesílatele (MailFrom) namísto DoNotReply<br />21:53 &#8211; TEST &#8211; Odeslání e-mailu pomocí PowerShell skriptu s vlastní identifikací odesílatele (MailFrom)<br />22:32 &#8211; TEST &#8211; Odeslání e-mailu pomocí PHP skriptu s vlastní identifikací odesílatele (MailFrom)<br />23:35 &#8211; Tipy na závěr, doporučení, ošetření chyb<br />25:25 &#8211; Zjištění aktuálních kvót<br />26:24 &#8211; Shrnutí, závěr</p><p><strong><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4a1.png" alt="💡" class="wp-smiley" style="height: 1em; max-height: 1em;" />Postup:</strong><br />Microsoft Azure (Subscription)<br />Azure Communication Service (ACS)<br />Email Communication Service (ECS)<br />Internet Domain<br />Domain verification<br />Domain connection to ECS<br />Entra ID Registred App + Generated secret<br />SMTP Accounts<br />Mail From addresses<br />Test</p>								</div>
				</div>
				<div class="elementor-element elementor-element-7abb089 elementor-widget elementor-widget-heading" data-id="7abb089" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">AZURE CLI: Přidání vlastního mailFrom</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-ae140b0 elementor-widget elementor-widget-code-block-for-elementor" data-id="ae140b0" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-okaidia' data-show-toolbar='yes'><code class='language-powershell'># az communication email domain sender-username create --domain-name domena.cz --email-service-name 365lab-1-cs-ecs --resource-group &quot;security-rg&quot; --sender-username &quot;UserName&quot; --username &quot;UserName&quot; --display-name &quot;DisplayName&quot;

az communication email domain sender-username create --domain-name domena.cz --email-service-name 365lab-1-cs-ecs --resource-group &quot;security-rg&quot; --sender-username printer --username printer --display-name Printer</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-55a739a elementor-widget elementor-widget-heading" data-id="55a739a" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">SCRIPT: Odeslání e-mailu pomocí PowerShell a ACS Email</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-5c8ff64 elementor-widget elementor-widget-code-block-for-elementor" data-id="5c8ff64" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-okaidia' data-show-toolbar='yes'><code class='language-powershell'># SmtpSend.ps1
# PowerShell script to send an email via SMTP
# www.sraga.cz

# Define SMTP server settings and email parameters
$SmtpServer = &quot;smtp.azurecomm.net&quot; # Azure Communication Services Email server
$SmtpPort = 587
$SmtpUser = &quot;userName@domena.cz&quot;
$SmtpPass = &quot;clientSecretValue&quot; # Entra ID Registreed Application
$SmtpFrom = &quot;mailFromAddress@domena.cz&quot;
$SmtpTo = &quot;test@domena.cz&quot;
$SmtpSubject = &quot;Test email from PowerShell&quot;
$SmtpBody = &quot;This is a test email sent from PowerShell script.&quot;

# Create secure credentials
$SmtpSecurePwd = ConvertTo-SecureString $SmtpPass -AsPlainText -Force
$SmtpCreds = New-Object System.Management.Automation.PSCredential ($SmtpUser, $SmtpSecurePwd)

# Send the email
Send-MailMessage -From $SmtpFrom -To $SmtpTo -Subject $SmtpSubject -Body $SmtpBody -SmtpServer $SmtpServer -Port $SmtpPort -Credential $SmtpCreds -UseSsl</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-99e1041 elementor-widget elementor-widget-heading" data-id="99e1041" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">SCRIPT: Odeslání e-mailu pomocí PHP a ACS E-mail</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-b7dd87b elementor-widget elementor-widget-code-block-for-elementor" data-id="b7dd87b" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-okaidia' data-show-toolbar='yes'><code class='language-php'>&lt;?php
/**
 * Minimal SMTP sender (STARTTLS + AUTH LOGIN) without Composer.
 * Tested with Azure Communication Service SMTP: smtp.azurecomm.net:587
 * Author: www.sraga.cz
 */


// ---------------- Example usage ----------------
try {
    smtp_send([
        &#039;host&#039;      =&gt; &#039;smtp.azurecomm.net&#039;,
        &#039;port&#039;      =&gt; 587,
        &#039;username&#039;  =&gt; &#039;userName@domena.cz&#039;,
        &#039;password&#039;  =&gt; &#039;clientSecretValue&#039;,                 // &larr; store securely (env/secret)
        &#039;from&#039;      =&gt; &#039;mailFromAddress@domena.cz&#039;,
        &#039;from_name&#039; =&gt; &#039;mailFromAddress@domena.cz&#039;,
        &#039;to&#039;        =&gt; &#039;test@domena.cz&#039;,
        &#039;subject&#039;   =&gt; &#039;Test email from PHP&#039;,
        &#039;body&#039;      =&gt; &quot;This is a test email sent from a pure-PHP SMTP client.&quot;,
        &#039;debug&#039;     =&gt; true,                 // set true to see SMTP I/O to STDERR
    ]);
    echo &quot;Email sent OK\n&quot;;
} catch (Throwable $e) {
    // Print a clear error if something goes wrong
    fwrite(STDERR, &quot;SMTP error: &quot; . $e-&gt;getMessage() . &quot;\n&quot;);
    exit(1);
}


// ---------------- Functions ----------------

function smtp_send(array $cfg): void
{
    $host        = $cfg[&#039;host&#039;];          // e.g. smtp.azurecomm.net
    $port        = $cfg[&#039;port&#039;] ?? 587;   // 587 for STARTTLS
    $username    = $cfg[&#039;username&#039;];      // SMTP user (e.g. web@domain.cz)
    $password    = $cfg[&#039;password&#039;];      // SMTP password
    $from        = $cfg[&#039;from&#039;];          // RFC5322 From: email address
    $fromName    = $cfg[&#039;from_name&#039;] ?? &#039;&#039;;   // Display name (optional)
    $to          = $cfg[&#039;to&#039;];            // recipient email
    $subject     = $cfg[&#039;subject&#039;];       // subject (UTF-8 ok)
    $body        = $cfg[&#039;body&#039;];          // plain text body
    $timeout     = $cfg[&#039;timeout&#039;] ?? 30;
    $debug       = $cfg[&#039;debug&#039;] ?? false;

    $peerName = $cfg[&#039;peer_name&#039;] ?? $host; // SNI name for TLS

    $context = stream_context_create([
        &#039;ssl&#039; =&gt; [
            &#039;crypto_method&#039;        =&gt; STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT | STREAM_CRYPTO_METHOD_TLSv1_3_CLIENT,
            &#039;verify_peer&#039;          =&gt; true,
            &#039;verify_peer_name&#039;     =&gt; true,
            &#039;peer_name&#039;            =&gt; $peerName,
            // If your OS trust store is standard, no need to set cafile/capath.
            // &#039;cafile&#039;            =&gt; &#039;/etc/ssl/certs/ca-certificates.crt&#039;,
            &#039;SNI_enabled&#039;          =&gt; true,
            &#039;disable_compression&#039;  =&gt; true,
        ],
    ]);

    $fp = stream_socket_client(
        &quot;tcp://$host:$port&quot;,
        $errno,
        $errstr,
        $timeout,
        STREAM_CLIENT_CONNECT,
        $context
    );

    if (!$fp) {
        throw new RuntimeException(&quot;Connect failed: $errno $errstr&quot;);
    }
    stream_set_timeout($fp, $timeout);

    // --- Helpers -------------------------------------------------------------
    $read = function() use ($fp, $debug): array {
        $lines = [];
        while (($line = fgets($fp, 2048)) !== false) {
            $lines[] = rtrim($line, &quot;\r\n&quot;);
            if ($debug) { fwrite(STDERR, &quot;S: $line&quot;); }
            // Multi-line replies have format &quot;123-...&quot; and end on &quot;123 ...&quot; (space)
            if (preg_match(&#039;/^\d{3} /&#039;, $line)) break;
        }
        if (empty($lines)) throw new RuntimeException(&quot;No response from server&quot;);
        $code = (int)substr($lines[count($lines)-1], 0, 3);
        return [$code, $lines];
    };

    $send = function(string $cmd) use ($fp, $debug) {
        if ($debug) { fwrite(STDERR, &quot;C: $cmd\n&quot;); }
        fwrite($fp, $cmd . &quot;\r\n&quot;);
    };

    $expect = function(int $want) use ($read) {
        [$code, $lines] = $read();
        if ($code !== $want) {
            $msg = implode(&quot;\n&quot;, $lines);
            throw new RuntimeException(&quot;Expected $want, got $code\n$msg&quot;);
        }
        return $lines;
    };

    // --- SMTP dialogue -------------------------------------------------------
    $expect(220);                                // 220 greeting
    $ehloName = gethostname() ?: &#039;localhost&#039;;
    $send(&quot;EHLO $ehloName&quot;);
    $expect(250);

    // STARTTLS
    $send(&quot;STARTTLS&quot;);
    $expect(220);                                // Ready to start TLS
    if (!stream_socket_enable_crypto($fp, true, STREAM_CRYPTO_METHOD_TLSv1_2_CLIENT | STREAM_CRYPTO_METHOD_TLSv1_3_CLIENT)) {
        throw new RuntimeException(&quot;TLS handshake failed&quot;);
    }

    // Re‑EHLO after STARTTLS
    $send(&quot;EHLO $ehloName&quot;);
    $expect(250);

    // AUTH LOGIN
    $send(&quot;AUTH LOGIN&quot;);
    $expect(334);                                // &quot;VXNlcm5hbWU6&quot; (Username:)
    $send(base64_encode($username));
    $expect(334);                                // &quot;UGFzc3dvcmQ6&quot; (Password:)
    $send(base64_encode($password));
    $expect(235);                                // Auth OK

    // MAIL/RCPT
    $send(&quot;MAIL FROM:&lt;$from&gt;&quot;);
    $expect(250);
    $send(&quot;RCPT TO:&lt;$to&gt;&quot;);
    $expect(250);

    // DATA &ndash; headers + body with dot‑stuffing
    $send(&quot;DATA&quot;);
    $expect(354);

    // Headers
    $headers = [];
    $fromHeader = $fromName !== &#039;&#039;
        ? sprintf(&#039;From: %s &lt;%s&gt;&#039;, encodeDisplayName($fromName), $from)
        : sprintf(&#039;From: &lt;%s&gt;&#039;, $from);
    $headers[] = $fromHeader;
    $headers[] = &quot;To: &lt;$to&gt;&quot;;
    $headers[] = &quot;Subject: &quot; . encodeSubject($subject);
    $headers[] = &quot;Date: &quot; . date(&#039;r&#039;);
    $headers[] = &quot;Message-ID: &lt;&quot; . bin2hex(random_bytes(16)) . &#039;@&#039; . (parse_url(&quot;https://$peerName&quot;, PHP_URL_HOST) ?: &#039;localhost&#039;) . &quot;&gt;&quot;;
    $headers[] = &quot;MIME-Version: 1.0&quot;;
    $headers[] = &quot;Content-Type: text/plain; charset=UTF-8&quot;;
    $headers[] = &quot;Content-Transfer-Encoding: 8bit&quot;;
    $headers[] = &quot;X-Mailer: PHP-SMTP/1.0&quot;;

    $data  = implode(&quot;\r\n&quot;, $headers) . &quot;\r\n\r\n&quot; . $body;

    // Dot‑stuffing per RFC5321 &sect;4.5.2
    $data = preg_replace(&#039;/\r\n\./&#039;, &quot;\r\n..&quot;, $data);
    // Ensure ends with CRLF.CRLF
    if (!str_ends_with($data, &quot;\r\n&quot;)) $data .= &quot;\r\n&quot;;

    fwrite($fp, $data . &quot;.\r\n&quot;);
    $expect(250);                                // accepted

    // QUIT
    $send(&quot;QUIT&quot;);
    $read();                                     // 221
    fclose($fp);
}

/** Encode UTF‑8 display name safely for headers */
function encodeDisplayName(string $name): string {
    // Quote if contains specials; also provide RFC2047 when needed
    if (preg_match(&#039;/[^\x20-\x7E]/&#039;, $name)) {
        return &#039;=?UTF-8?B?&#039; . base64_encode($name) . &#039;?=&#039;;
    }
    if (preg_match(&#039;/[&quot;,]/&#039;, $name)) {
        return &#039;&quot;&#039; . addcslashes($name, &#039;\\&quot;&#039;) . &#039;&quot;&#039;;
    }
    return $name;
}

/** RFC2047 encode UTF‑8 Subject if needed */
function encodeSubject(string $subject): string {
    return preg_match(&#039;/[^\x20-\x7E]/&#039;, $subject)
        ? &#039;=?UTF-8?B?&#039; . base64_encode($subject) . &#039;?=&#039;
        : $subject;
}</code></pre>				</div>
				</div>
					</div>
				</div>
				</div>
		]]></content:encoded>
					
					<wfw:commentRss>https://www.sraga.cz/azure-communication-services-od-a-po-z/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Exchange Online: Microsoft vypne Basic authentication pro Client Submission (SMTP AUTH)</title>
		<link>https://www.sraga.cz/exchange-online-microsoft-vypne-basic-autentizaci-pro-client-submission-smtp-auth/</link>
					<comments>https://www.sraga.cz/exchange-online-microsoft-vypne-basic-autentizaci-pro-client-submission-smtp-auth/#respond</comments>
		
		<dc:creator><![CDATA[Miroslav Šraga]]></dc:creator>
		<pubDate>Mon, 05 Jan 2026 09:53:22 +0000</pubDate>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Microsoft 365]]></category>
		<category><![CDATA[Azure Communication Services]]></category>
		<category><![CDATA[Basic Authentication]]></category>
		<category><![CDATA[Integrace]]></category>
		<category><![CDATA[migrace]]></category>
		<category><![CDATA[OAuth]]></category>
		<category><![CDATA[SMTP]]></category>
		<guid isPermaLink="false">https://www.sraga.cz/?p=1369</guid>

					<description><![CDATA[Microsoft provede postupné vypnutí (ukončení podpory) Basic autentizace pro „Client Submission“ (SMTP AUTH) v Exchange Online. Start je 1. března 2026 s postupným odmítáním části požadavků a finální vypnutí proběhne 30. dubna 2026. Po tomto datu musí všechny aplikace a zařízení při odesílání přes SMTP AUTH používat OAuth (Modern Authentication), jinak pokus o odeslání skončí chybou. Obsah Co přesně ... <a title="Exchange Online: Microsoft vypne Basic authentication pro Client Submission (SMTP AUTH)" class="read-more" href="https://www.sraga.cz/exchange-online-microsoft-vypne-basic-autentizaci-pro-client-submission-smtp-auth/" aria-label="Číst více o Exchange Online: Microsoft vypne Basic authentication pro Client Submission (SMTP AUTH)">Číst dál</a>]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="1369" class="elementor elementor-1369" data-elementor-post-type="post">
				<div class="elementor-element elementor-element-defe865 e-flex e-con-boxed e-con e-parent" data-id="defe865" data-element_type="container">
					<div class="e-con-inner">
				<div class="elementor-element elementor-element-a8202e2 elementor-widget elementor-widget-text-editor" data-id="a8202e2" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Microsoft provede postupné vypnutí (ukončení podpory) <strong>Basic autentizace</strong> pro „Client Submission“ (<strong>SMTP AUTH</strong>) v <strong>Exchange Online</strong>. Start je <strong>1. března 2026</strong> s postupným odmítáním části požadavků a finální vypnutí proběhne <strong>30. dubna 2026</strong>. Po tomto datu musí všechny aplikace a zařízení při odesílání přes SMTP AUTH používat <strong>OAuth (Modern Authentication)</strong>, jinak pokus o odeslání skončí chybou.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-3bd705f elementor-toc--minimized-on-tablet elementor-widget elementor-widget-table-of-contents" data-id="3bd705f" data-element_type="widget" data-settings="{&quot;exclude_headings_by_selector&quot;:[],&quot;no_headings_message&quot;:&quot;No headings were found on this page.&quot;,&quot;headings_by_tags&quot;:[&quot;h2&quot;,&quot;h3&quot;,&quot;h4&quot;,&quot;h5&quot;,&quot;h6&quot;],&quot;marker_view&quot;:&quot;numbers&quot;,&quot;minimize_box&quot;:&quot;yes&quot;,&quot;minimized_on&quot;:&quot;tablet&quot;,&quot;hierarchical_view&quot;:&quot;yes&quot;,&quot;min_height&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;min_height_tablet&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;min_height_mobile&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]}}" data-widget_type="table-of-contents.default">
				<div class="elementor-widget-container">
									<div class="elementor-toc__header">
						<h4 class="elementor-toc__header-title">
				Obsah			</h4>
										<div class="elementor-toc__toggle-button elementor-toc__toggle-button--expand" role="button" tabindex="0" aria-controls="elementor-toc__3bd705f" aria-expanded="true" aria-label="Open table of contents"><svg aria-hidden="true" class="e-font-icon-svg e-fas-chevron-down" viewBox="0 0 448 512" xmlns="http://www.w3.org/2000/svg"><path d="M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"></path></svg></div>
				<div class="elementor-toc__toggle-button elementor-toc__toggle-button--collapse" role="button" tabindex="0" aria-controls="elementor-toc__3bd705f" aria-expanded="true" aria-label="Close table of contents"><svg aria-hidden="true" class="e-font-icon-svg e-fas-chevron-up" viewBox="0 0 448 512" xmlns="http://www.w3.org/2000/svg"><path d="M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z"></path></svg></div>
					</div>
				<div id="elementor-toc__3bd705f" class="elementor-toc__body">
			<div class="elementor-toc__spinner-container">
				<svg class="elementor-toc__spinner eicon-animation-spin e-font-icon-svg e-eicon-loading" aria-hidden="true" viewBox="0 0 1000 1000" xmlns="http://www.w3.org/2000/svg"><path d="M500 975V858C696 858 858 696 858 500S696 142 500 142 142 304 142 500H25C25 237 238 25 500 25S975 237 975 500 763 975 500 975Z"></path></svg>			</div>
		</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-eec4dc9 elementor-widget elementor-widget-video" data-id="eec4dc9" data-element_type="widget" data-settings="{&quot;youtube_url&quot;:&quot;https:\/\/www.youtube.com\/watch?v=gLr2ZqnzVBI&quot;,&quot;video_type&quot;:&quot;youtube&quot;,&quot;controls&quot;:&quot;yes&quot;}" data-widget_type="video.default">
				<div class="elementor-widget-container">
							<div class="elementor-wrapper elementor-open-inline">
			<div class="elementor-video"></div>		</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-238f046 elementor-widget elementor-widget-heading" data-id="238f046" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Co přesně se mění</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-fa3c9df elementor-widget elementor-widget-text-editor" data-id="fa3c9df" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<ul><li>Microsoft ukončí podporu (vypne) Basic autentizace (uživatelské jméno + heslo v prostém textu) pro <strong>Client Submission / SMTP AUTH</strong> v <strong>Exchange Online</strong>.<br />Po dokončení se pokusy odesílat poštu přes Basic auth vrátí chybu 550 5.7.30 – Basic authentication is not supported for Client Submission. [techcommun&#8230;rosoft.com]</li><li>Zůstává <strong>funkční SMTP AUTH s OAuth</strong> (XOAUTH2), tedy moderní (tokenová) autentizace s podporou <strong>MFA</strong> a <strong>Conditional Access</strong>.</li></ul>								</div>
				</div>
				<div class="elementor-element elementor-element-864a74b elementor-widget elementor-widget-heading" data-id="864a74b" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Proč se to děje</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-a4b0161 elementor-widget elementor-widget-text-editor" data-id="a4b0161" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>No, přece, abychom se my, &#8222;ajťáci&#8220; měli čím bavit v prvním kvartále.</p><p>Ale teď vážně. Naprosté většině firem a zejména konzervativním ajťákům, se tato změna líbit opravdu nebude. Na druhou stranu &#8211; <strong>basic autentizace je zastaralá</strong> a <strong>riziková</strong>: přihlašovací údaje se posílají při každém požadavku v textové podobě a tento typ ověření neumožňuje bezpečnostní politiky jako MFA.</p><p><strong>Microsoft dlouhodobě migruje</strong> své služby na moderní autentizaci; hlavní protokoly (EAS/IMAP/POP/EWS/Autodiscover) <a href="https://techcommunity.microsoft.com/blog/exchange/improving-security---together/805892" target="_blank" rel="noopener">byly vypnuty</a> už v roce 2022–2023; Pro SMTP AUTH byla tehdy výjimka, kterou nyní Microsoft definitivně uzavírá. O tomto plánu víme již od roku <a href="https://techcommunity.microsoft.com/t5/exchange-team-blog/improving-security-together/ba-p/805892" target="_blank" rel="noopener">2019</a>, ale přiznejme si, kdo z vás to řešil a připravoval se? Chápu.</p><p>A víte, že původní plán, vypnutí podpory basic autentizace pro SMTP byl původně plánován na <strong>září 2025</strong>?</p>								</div>
				</div>
				<div class="elementor-element elementor-element-bc52cd3 elementor-widget elementor-widget-heading" data-id="bc52cd3" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Koho se změny dotknou?</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-59f5e12 elementor-widget elementor-widget-text-editor" data-id="59f5e12" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<ul><li><strong>Line-of-business aplikace</strong>, skripty, <strong>tiskárny/MFD</strong>, skenery, dohledové systémy, ERP/CRM a další řešení, která dnes posílají poštu přes <strong>smtp.office365.com</strong> s uživatelským jménem/heslem.</li><li><strong>Hybridní prostředí</strong> s Exchange On‑Prem, která přes cloud relayují poštu základní autentizací.</li></ul>								</div>
				</div>
				<div class="elementor-element elementor-element-3efeea8 elementor-widget elementor-widget-heading" data-id="3efeea8" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Jak bude změna probíhat (harmonogram)</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-54bb659 elementor-widget elementor-widget-text-editor" data-id="54bb659" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<ul><li><strong>1. března 2026</strong>: Microsoft provede zahájení – malá část pokusů o autentizaci Basic bude odmítnuta (globálně, napříč tenanty).</li><li><strong>Do 30. dubna 2026</strong>: Microsoft provede plné vypnutí – 100 % pokusů o Basic bude odmítnuto.</li><li><strong>Po 30. dubnu 2026</strong>: Basic už nebude na koncových bodech <strong>smtp.office365.com</strong> a <strong>smtp-legacy.office365.com</strong> podporován.</li></ul>								</div>
				</div>
				<div class="elementor-element elementor-element-2dc4931 elementor-alert-info elementor-widget elementor-widget-alert" data-id="2dc4931" data-element_type="widget" data-widget_type="alert.default">
				<div class="elementor-widget-container">
							<div class="elementor-alert" role="alert">

						<span class="elementor-alert-title">Poznámka</span>
			
						<span class="elementor-alert-description">Microsoft o změně informoval i přes Message Center (MC786329); v červnu 2025 byla oficiálně potvrzena aktualizace termínu na březen–duben 2026.</span>
			
			
		</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-cf482f0 elementor-widget elementor-widget-heading" data-id="cf482f0" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Co udělat teď: praktický plán v 5 krocích</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-ee2b174 elementor-widget elementor-widget-heading" data-id="ee2b174" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h5 class="elementor-heading-title elementor-size-default">1) Zmapujte používání Basic SMTP v tenantu</h5>				</div>
				</div>
				<div class="elementor-element elementor-element-9ce1bd7 elementor-widget elementor-widget-text-editor" data-id="9ce1bd7" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>V <strong>Exchange Admin Center</strong> (EAC) je k dispozici <strong>SMTP AUTH Clients Submission Report</strong> (sloupec Authentication Protocol vám ukáže Basic vs. OAuth).</p><p>Report je možné vyžádat i jako detailní export. </p><p><strong>Exchange Online Admin Center</strong> &gt; <strong>Reports</strong> &gt; <strong>Mail Flow</strong>&gt; <strong>SMTP AUTH clients report</strong></p><p>Přímý odkaz: <a href="https://admin.cloud.microsoft/exchange?#/reports/smtpauthmailflowdetails" target="_blank" rel="noopener">https://admin.cloud.microsoft/exchange?#/reports/smtpauthmailflowdetails</a></p>								</div>
				</div>
				<div class="elementor-element elementor-element-d0c26c5 elementor-widget elementor-widget-image" data-id="d0c26c5" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2026/01/Reports-SMTP-AUTH-clients-report.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="Reports SMTP AUTH clients report" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTM5MiwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNlwvMDFcL1JlcG9ydHMtU01UUC1BVVRILWNsaWVudHMtcmVwb3J0LnBuZyJ9">
							<img fetchpriority="high" decoding="async" width="768" height="434" src="https://www.sraga.cz/wp-content/uploads/2026/01/Reports-SMTP-AUTH-clients-report-768x434.png" class="attachment-medium_large size-medium_large wp-image-1392" alt="SMTP AUTH clients report" srcset="https://www.sraga.cz/wp-content/uploads/2026/01/Reports-SMTP-AUTH-clients-report-768x434.png 768w, https://www.sraga.cz/wp-content/uploads/2026/01/Reports-SMTP-AUTH-clients-report-300x170.png 300w, https://www.sraga.cz/wp-content/uploads/2026/01/Reports-SMTP-AUTH-clients-report-1024x579.png 1024w, https://www.sraga.cz/wp-content/uploads/2026/01/Reports-SMTP-AUTH-clients-report.png 1533w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-430ace8 elementor-widget elementor-widget-text-editor" data-id="430ace8" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Na obrázku je vidět cílový stav, tedy v ideálním neprobíhá žádná SMTP autentizace. Nicméně, realita bude v produkčních tenantech jiná. To, na co se zamřte, je sloupec <strong>Authentication Protocol</strong> a v něm hodnota <strong>Basic Authentication</strong></p>								</div>
				</div>
				<div class="elementor-element elementor-element-d55eb8d elementor-widget elementor-widget-image" data-id="d55eb8d" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2026/01/Reports-SMTP-AUTH-clients-report-2.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="Reports SMTP AUTH clients report 2" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTM5MywidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNlwvMDFcL1JlcG9ydHMtU01UUC1BVVRILWNsaWVudHMtcmVwb3J0LTIucG5nIn0%3D">
							<img decoding="async" width="768" height="426" src="https://www.sraga.cz/wp-content/uploads/2026/01/Reports-SMTP-AUTH-clients-report-2-768x426.png" class="attachment-medium_large size-medium_large wp-image-1393" alt="SMTP AUTH clients report" srcset="https://www.sraga.cz/wp-content/uploads/2026/01/Reports-SMTP-AUTH-clients-report-2-768x426.png 768w, https://www.sraga.cz/wp-content/uploads/2026/01/Reports-SMTP-AUTH-clients-report-2-300x166.png 300w, https://www.sraga.cz/wp-content/uploads/2026/01/Reports-SMTP-AUTH-clients-report-2-1024x567.png 1024w, https://www.sraga.cz/wp-content/uploads/2026/01/Reports-SMTP-AUTH-clients-report-2-1536x851.png 1536w, https://www.sraga.cz/wp-content/uploads/2026/01/Reports-SMTP-AUTH-clients-report-2.png 1644w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-e35ccf7 elementor-widget elementor-widget-text-editor" data-id="e35ccf7" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Alternativně využijte <a href="https://learn.microsoft.com/en-us/powershell/module/exchangepowershell/start-historicalsearch?view=exchange-ps" target="_blank" rel="noopener">Exchange Online PowerShell Historical Search</a> k rychlé identifikaci zdrojů Basic SMTP:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-497019d elementor-widget elementor-widget-code-block-for-elementor" data-id="497019d" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-okaidia' data-show-toolbar='yes'><code class='language-powershell'>
# Vytvořen&iacute; historick&eacute;ho reportu pro SMTP Client Submission
Start-HistoricalSearch -ReportTitle &quot;SMTPBasicAuth_Audit&quot; -ReportType &quot;SmtpCSReport&quot; `
  -StartDate (Get-Date).AddDays(-7) -EndDate (Get-Date) -NotifyAddress admin@domena.cz

# Kontrola průběhu
Get-HistoricalSearch | Select Identity, SubmitDate, Status, ReportTitle, EstimatedCompletionTime, JobProgress
</code></pre>				</div>
				</div>
					</div>
				</div>
		<div class="elementor-element elementor-element-7a869f4 e-flex e-con-boxed e-con e-parent" data-id="7a869f4" data-element_type="container">
					<div class="e-con-inner">
				<div class="elementor-element elementor-element-967b948 elementor-widget elementor-widget-heading" data-id="967b948" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h5 class="elementor-heading-title elementor-size-default">2) Zvolte adekvátní náhradu</h5>				</div>
				</div>
				<div class="elementor-element elementor-element-40a70fd elementor-widget elementor-widget-text-editor" data-id="40a70fd" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<ul><li><strong>Primárně</strong>: přejděte na <strong>OAuth pro SMTP AUTH</strong> (XOAUTH2).<br />Postup „<a href="https://learn.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth" target="_blank" rel="noopener">Authenticate an IMAP, POP or SMTP connection using OAuth</a>“ popisuje registraci aplikace, přidělení oprávnění a získání tokenu. </li><li><strong>Pokud OAuth není k dispozici:</strong><ul><li><strong><a href="https://learn.microsoft.com/en-us/Exchange/mail-flow-best-practices/high-volume-mails-m365" target="_blank" rel="noopener">Microsoft 365 High Volume Email</a> (HVE)</strong> – hromadná interní pošta v tenantu (GA cíl: březen 2026); <br /><strong>Microsoft prodloužil podporu Basic autentizace v HVE do září 2028</strong> pro <strong>vybrané scénáře.</strong> </li><li><strong>Exchange On‑Prem (hybrid)</strong> – vytvořte Receive Connector pro relay; autentizaci Basic ponecháte on‑prem (mimo Exchange Online).</li><li><a href="https://youtu.be/iOPTcYNzg3w" target="_blank" rel="noopener"><strong>Azure Communication Services</strong></a> Email – pro odesílání na interní i externí adresy.<br /><em><br /><a href="https://www.sraga.cz/azure-communication-services-od-a-po-z/" target="_blank" rel="noopener"><strong>Azure Communication Services od A po Z</strong></a><br /></em></li></ul></li></ul>								</div>
				</div>
				<div class="elementor-element elementor-element-e0c22fe elementor-widget elementor-widget-video" data-id="e0c22fe" data-element_type="widget" data-settings="{&quot;youtube_url&quot;:&quot;https:\/\/youtu.be\/iOPTcYNzg3w&quot;,&quot;video_type&quot;:&quot;youtube&quot;,&quot;controls&quot;:&quot;yes&quot;}" data-widget_type="video.default">
				<div class="elementor-widget-container">
							<div class="elementor-wrapper elementor-open-inline">
			<div class="elementor-video"></div>		</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-3915065 elementor-widget elementor-widget-heading" data-id="3915065" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h5 class="elementor-heading-title elementor-size-default">3) Upravte nastavení v Exchange Online</h5>				</div>
				</div>
				<div class="elementor-element elementor-element-5dc7568 elementor-widget elementor-widget-text-editor" data-id="5dc7568" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Doporučuji na úrovni <strong>celého tenantu</strong> vypnout podporu Client SMTP AUTH</p>								</div>
				</div>
				<div class="elementor-element elementor-element-1ef4a2f elementor-widget elementor-widget-code-block-for-elementor" data-id="1ef4a2f" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-okaidia' data-show-toolbar='yes'><code class='language-powershell'>
# Glob&aacute;lně zak&aacute;zat Basic SMTP AUTH
Set-TransportConfig -SmtpClientAuthenticationDisabled $true
</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-73af96d elementor-widget elementor-widget-text-editor" data-id="73af96d" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Následně pal Client SMTP Auth <strong>povolit jen pro vybrané schránky</strong>.</p><p><em>(Pozn.: nastavujte podle aktuálního stavu používání; Basic bude i tak vypnut Microsoftem globálně k 30. 4. 2026.)</em><br /><em>(Oficiální kontext k odstavení základní autentizace a dopadům na protokoly viz <a href="https://learn.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/deprecation-of-basic-authentication-exchange-online" target="_blank" rel="noopener">dokumentace</a>.)</em></p>								</div>
				</div>
				<div class="elementor-element elementor-element-1628c17 elementor-widget elementor-widget-code-block-for-elementor" data-id="1628c17" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-okaidia' data-show-toolbar='yes'><code class='language-powershell'># ZAK&Aacute;ZAT Basic SMTP AUTH na vybran&eacute;m mailboxu
Set-CASMailbox user@domena.cz -SmtpClientAuthenticationDisabled $true


# POVOLIT Basic SMTP AUTH na vybran&eacute;m mailboxu
Set-CASMailbox user@domena.cz -SmtpClientAuthenticationDisabled $false

</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-4a5c15c elementor-widget elementor-widget-heading" data-id="4a5c15c" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h5 class="elementor-heading-title elementor-size-default">4) Firmware &amp; kompatibilita zařízení</h5>				</div>
				</div>
				<div class="elementor-element elementor-element-b2fca67 elementor-widget elementor-widget-text-editor" data-id="b2fca67" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<ul><li>U <strong>MFD</strong>/tiskáren ověřte <strong>podporu OAuth</strong>/XOAUTH2; u mnoha výrobců je dostupná přes aktualizaci firmware nebo doplňkové moduly.</li><li>Pokud zařízení OAuth nepodporuje a není reálný upgrade, zvažte HVE, ACS Email nebo on‑prem relay výše nebo služby třetích stran</li></ul>								</div>
				</div>
				<div class="elementor-element elementor-element-4a482c0 elementor-alert-success elementor-widget elementor-widget-alert" data-id="4a482c0" data-element_type="widget" data-widget_type="alert.default">
				<div class="elementor-widget-container">
							<div class="elementor-alert" role="alert">

						<span class="elementor-alert-title">Doporučení</span>
			
						<span class="elementor-alert-description">Pokud je to možné, doporučuji přejít na Azure Communication Services</span>
			
			
		</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-d273722 elementor-widget elementor-widget-heading" data-id="d273722" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h5 class="elementor-heading-title elementor-size-default">5) Testujte a sledujte chyby</h5>				</div>
				</div>
				<div class="elementor-element elementor-element-8b260e3 elementor-widget elementor-widget-text-editor" data-id="8b260e3" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Po úpravách sledujte výskyt „<strong>550 5.7.30 Basic authentication is not supported for Client Submission</strong>“ — je to jasný signál, že klient stále zkouší Basic.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-7af9779 elementor-widget elementor-widget-heading" data-id="7af9779" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Nejčastější otázky (FAQ)</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-c93598d elementor-widget elementor-widget-text-editor" data-id="c93598d" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p><strong>Bude ještě možné dočasně „zapnout“ Basic?</strong><br />Ne. Microsoft už <strong>neumožní</strong> znovu aktivovat Basic v Exchange Online (tato možnost skončila po 31. 12. 2022); na SMTP AUTH teď <strong>proběhne definitivní vypnutí</strong> v březen/duben 2026.</p><p><strong>Co když mám aplikaci, která umí jen Basic a musí posílat externě?</strong><br />Zvažte <strong>Azure Communication Services</strong> – <strong>Email</strong> nebo on‑prem relay; případně řešení třetích stran (s ohledem na bezpečnost a compliance).</p><p><strong>Jak zjistím, kdo u nás ještě Basic používá?</strong><br />Využijte EAC report s „Authentication Protocol“ a/nebo Historical Search v PowerShellu (viz výše).</p>								</div>
				</div>
				<div class="elementor-element elementor-element-18ce311 elementor-widget elementor-widget-heading" data-id="18ce311" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Další kontext a doporučené postupy (navíc k oficiálnímu oznámení)</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-26a849e elementor-widget elementor-widget-text-editor" data-id="26a849e" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<ul><li><strong>Conditional Access + MFA</strong>: přechod na OAuth umožní u SMTP scénářů uplatnit zásady CA a MFA (typicky přes „application permissions“ a tok klientského přístupového tokenu). To výrazně snižuje riziko útoků na uložené heslo v zařízení.</li><li><strong>Endpointy</strong>: po dokončení změny přestanou požadavky na Basic ověření fungovat na <strong>smtp.office365.com</strong> i na <strong>smtp-legacy.office365.com</strong>. <strong>Plánujte aktualizaci konfigurací, dokumentace a runbooků.</strong></li><li><strong>HVE roadmapa</strong>: pokud posíláte velké objemy interní pošty (notifikace, IoT, tiskárny), HVE dává smysl — pamatujte ale, že je <strong>jen pro interní adresáty</strong> a <strong>Basic v HVE má rozšířenou podporu do 09/2028</strong>; přesto doporučuji plánovat přechod na OAuth co nejdříve.<br /><a href="https://techcommunity.microsoft.com/blog/exchange/high-volume-email-continued-support-for-basic-authentication--other-important-up/4411197" target="_blank" rel="noopener">High Volume Email: Continued support for Basic Authentication &amp; other important updates | Microsoft Community Hub</a></li></ul>								</div>
				</div>
				<div class="elementor-element elementor-element-9079c43 elementor-widget elementor-widget-heading" data-id="9079c43" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Další relevantní zdroje</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-99e57a7 elementor-widget elementor-widget-text-editor" data-id="99e57a7" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p><strong>Microsoft Community Hub (Exchange Team):</strong><br /><a href="https://techcommunity.microsoft.com/blog/exchange/exchange-online-to-retire-basic-auth-for-client-submission-smtp-auth/4114750" target="_blank" rel="noopener">Exchange Online to retire Basic auth for Client Submission (SMTP AUTH)</a> — harmonogram, EAC report, alternativy (OAuth, ACS, HVE).</p><p><strong>Microsoft Community Hub (Exchange Team):</strong><br /><a href="https://techcommunity.microsoft.com/blog/exchange/high-volume-email-continued-support-for-basic-authentication--other-important-up/4411197" target="_blank" rel="noopener">High Volume Email: Continued support for Basic Authentication &amp; other important updates</a> — GA cíl březen 2026, Basic v HVE podporován do 09/2028.</p><p><strong>Microsoft Learn:</strong><br /><a href="https://learn.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/deprecation-of-basic-authentication-exchange-online" target="_blank" rel="noopener">Deprecation of Basic authentication in Exchange Online</a> — pozadí, dopady, zásady a best practices.</p>								</div>
				</div>
					</div>
				</div>
				</div>
		]]></content:encoded>
					
					<wfw:commentRss>https://www.sraga.cz/exchange-online-microsoft-vypne-basic-autentizaci-pro-client-submission-smtp-auth/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Outlook &#8211; primary account cannot be removed</title>
		<link>https://www.sraga.cz/outlook-primary-account-cannot-be-removed/</link>
					<comments>https://www.sraga.cz/outlook-primary-account-cannot-be-removed/#respond</comments>
		
		<dc:creator><![CDATA[Miroslav Šraga]]></dc:creator>
		<pubDate>Fri, 28 Feb 2025 17:51:25 +0000</pubDate>
				<category><![CDATA[Správa IT]]></category>
		<category><![CDATA[Microsoft 365]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Exchange Online]]></category>
		<category><![CDATA[Outlook Desktop]]></category>
		<guid isPermaLink="false">https://www.sraga.cz/?p=1067</guid>

					<description><![CDATA[Zase mě jednou brali všichni čerti. Tentokrát kvůli nemožnosti odebrat výchozí účet MS Exchange z Outlooku Desktop. Když přejdete z jedné služby Microsoft Exchange do druhé, například z interního serveru Exchange na Office365 (Microsoft 365), a chcete zachovat aktuální profil (což běžně nedoporučuji, ale jsou případy, kdy je to potřeba), nemůžete ze svého profilu odebrat ... <a title="Outlook &#8211; primary account cannot be removed" class="read-more" href="https://www.sraga.cz/outlook-primary-account-cannot-be-removed/" aria-label="Číst více o Outlook &#8211; primary account cannot be removed">Číst dál</a>]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="1067" class="elementor elementor-1067" data-elementor-post-type="post">
				<div class="elementor-element elementor-element-52caa0b e-flex e-con-boxed e-con e-parent" data-id="52caa0b" data-element_type="container">
					<div class="e-con-inner">
				<div class="elementor-element elementor-element-825117f elementor-widget elementor-widget-text-editor" data-id="825117f" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Zase mě jednou brali všichni čerti. Tentokrát kvůli <strong>nemožnosti odebrat výchozí účet MS Exchange</strong> z <a href="https://www.sraga.cz/tag/outlook/" target="_blank" rel="noopener">Outlooku Desktop</a>. Když přejdete z jedné služby Microsoft Exchange do druhé, například z interního serveru Exchange na Office365 (Microsoft 365), a chcete <strong>zachovat aktuální profil</strong> <em>(což běžně nedoporučuji, ale jsou případy, kdy je to potřeba)</em>, nemůžete ze svého profilu odebrat původní účet Exchange. Stejně tak, když máte v profilu dva Exchange (i Online) účty a ten první potřebujete odebrat, tak se vám to nepovede a Zobrazí se vám velmi příjemná systémová hláška:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-6cd2929 elementor-blockquote--skin-border elementor-widget elementor-widget-blockquote" data-id="6cd2929" data-element_type="widget" data-widget_type="blockquote.default">
				<div class="elementor-widget-container">
							<blockquote class="elementor-blockquote">
			<p class="elementor-blockquote__content">
				The primary account cannot be removed unless it is the only account in the profile. You must remove all other Exchange accounts before removing the primary account account.			</p>
							<div class="e-q-footer">
											<cite class="elementor-blockquote__author">Microsoft Outlook</cite>
														</div>
					</blockquote>
						</div>
				</div>
				<div class="elementor-element elementor-element-fcd9cfb elementor-toc--minimized-on-tablet elementor-widget elementor-widget-table-of-contents" data-id="fcd9cfb" data-element_type="widget" data-settings="{&quot;exclude_headings_by_selector&quot;:[],&quot;headings_by_tags&quot;:[&quot;h2&quot;,&quot;h3&quot;,&quot;h4&quot;,&quot;h5&quot;,&quot;h6&quot;],&quot;marker_view&quot;:&quot;numbers&quot;,&quot;no_headings_message&quot;:&quot;No headings were found on this page.&quot;,&quot;minimize_box&quot;:&quot;yes&quot;,&quot;minimized_on&quot;:&quot;tablet&quot;,&quot;hierarchical_view&quot;:&quot;yes&quot;,&quot;min_height&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;min_height_tablet&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;min_height_mobile&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]}}" data-widget_type="table-of-contents.default">
				<div class="elementor-widget-container">
									<div class="elementor-toc__header">
						<h4 class="elementor-toc__header-title">
				Obsah			</h4>
										<div class="elementor-toc__toggle-button elementor-toc__toggle-button--expand" role="button" tabindex="0" aria-controls="elementor-toc__fcd9cfb" aria-expanded="true" aria-label="Open table of contents"><svg aria-hidden="true" class="e-font-icon-svg e-fas-chevron-down" viewBox="0 0 448 512" xmlns="http://www.w3.org/2000/svg"><path d="M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"></path></svg></div>
				<div class="elementor-toc__toggle-button elementor-toc__toggle-button--collapse" role="button" tabindex="0" aria-controls="elementor-toc__fcd9cfb" aria-expanded="true" aria-label="Close table of contents"><svg aria-hidden="true" class="e-font-icon-svg e-fas-chevron-up" viewBox="0 0 448 512" xmlns="http://www.w3.org/2000/svg"><path d="M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z"></path></svg></div>
					</div>
				<div id="elementor-toc__fcd9cfb" class="elementor-toc__body">
			<div class="elementor-toc__spinner-container">
				<svg class="elementor-toc__spinner eicon-animation-spin e-font-icon-svg e-eicon-loading" aria-hidden="true" viewBox="0 0 1000 1000" xmlns="http://www.w3.org/2000/svg"><path d="M500 975V858C696 858 858 696 858 500S696 142 500 142 142 304 142 500H25C25 237 238 25 500 25S975 237 975 500 763 975 500 975Z"></path></svg>			</div>
		</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-155e947 elementor-widget elementor-widget-heading" data-id="155e947" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Výchozí (primární) účet Exchange</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-ffaa2ce elementor-widget elementor-widget-text-editor" data-id="ffaa2ce" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Primární účet Exchange je <strong>prvním účtem přidaným do profilu</strong>. <strong>Primární účet nelze z profilu odebrat</strong>, dokud nejsou z profilu <strong>odstraněny všechny ostatní účty Exchange</strong> (když je primární účet odebrán, další přidaný účet Exchange je považován za primární).</p><p>Všechny ostatní účty Exchange přidané do profilu jsou považovány za sekundární účty.</p><p>Doporučenou metodou změny primárního účtu je znovu vytvořit profil uživatele a nejprve přidat příslušný účet. Existují však dvě další možnosti: upravit registr a poté odebrat primární účet Exchange z vašeho profilu nebo přidat do profilu soubor PST, nastavit jej jako výchozí a poté odebrat účty Exchange.</p><p>Obojí je za mě řešení postavené &#8222;na hlavu&#8220;.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-acf03e3 elementor-widget elementor-widget-heading" data-id="acf03e3" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Odstranění výchozího účtu Exchange</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-21210d9 elementor-widget elementor-widget-text-editor" data-id="21210d9" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Pokud potřebujete <strong>odstranit primární účet</strong> ze svého profilu, máte tři možnosti.</p><ol><li>Vytvořit nový profil (doporučeno)</li><li>Odebrat všechny účty Exchange ze svého profilu a poté přidat nový účet zpět</li><li>Odebrat klíč z registru, abyste mohli odstranit primární účet z registru.</li></ol><p>I když vytvoření nového profilu může být rychlejší (a je to doporučená metoda), existují i jiné metody, které můžete použít ke změně primárního účtu a <strong>zachování profilu při zachování nastavení specifických pro profil</strong>.</p><p>Přejděte na <strong>Ovládací panely</strong> &gt; <strong>Pošta</strong> a odeberte všechny účty Exchange z profilu, přičemž primární účet odeberte jako poslední. Budete muset do profilu přidat pst a nastavit jej jako výchozí datový soubor a poté restartovat aplikaci Outlook.</p><p>Zavřete Outlook a vraťte se do <strong>Ovládací panely</strong> &gt; <strong>Pošta</strong> <strong>(Microsoft Outlook)</strong> a přidejte nový účet. (Podle mých zkušeností zde nemusí být nový účet zobrazen, dokud nerestartujete Outlook.)</p><p><strong>Restartujte</strong> aplikaci Outlook. Přejděte do nastavení účtu a nastavte *.<strong>ost</strong> jako <strong>výchozí</strong>. Chcete-li odebrat soubor *.pst z profilu, budete muset aplikaci Outlook restartovat ještě jednou.</p><p>Tato metoda je vhodná asi jen v případě, kdy máte jen pár účtů Exchange. Pokud máte hodně účtů Exchange nebo poštovní schránky, které máte v profilu, jsou velké, můžete <strong>upravit registr</strong>, abyste odstranili příznak „primární“ a poté mohli účet smazat.</p><p>Úprava registru je obecně lepší možností, když hrozí, že  synchronizace poštovních schránek bude trvat dlouho (třeba jste jste na datovém připojení) nebo pokud máte ve svém profilu větší množství účtů Exchange.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-484ff31 elementor-widget elementor-widget-heading" data-id="484ff31" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Odebrání primárnho účtu pomocí úpravy registrů</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-f092d26 elementor-widget elementor-widget-text-editor" data-id="f092d26" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Odebrat příznak primárního účtu můžete také pomocí úpravy registrů. <strong>Tato metoda není oficiálně podporována Microsoftem.</strong> Pokud se cokoliv nepovede, budete si muset vytvořit nový profil, obnovit exportovaný klíč profilu nebo použít Obnovení systému k návratu k předchozímu bodu obnovení.</p><p>Zavřete aplikaci Outlook a otevřete editor registru.</p><p>Stisknutím klávesy <strong>Windows + R</strong> otevřete příkaz <strong>Spustit</strong>, do pole zadejte příkaz <strong>regedit</strong> a stiskněte klávesu <strong>Enter</strong>.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-b3db36e elementor-alert-warning elementor-widget elementor-widget-alert" data-id="b3db36e" data-element_type="widget" data-widget_type="alert.default">
				<div class="elementor-widget-container">
							<div class="elementor-alert" role="alert">

						<span class="elementor-alert-title">Upozornění</span>
			
						<span class="elementor-alert-description">Před úpravou exportujte klíče registru, abyste mohli svůj profil obnovit, pokud uděláte chybu.</span>
			
			
		</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-7e065d4 elementor-widget elementor-widget-text-editor" data-id="7e065d4" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>V editoru registrů najděte tento klíč</p>								</div>
				</div>
				<div class="elementor-element elementor-element-e39a01f elementor-widget elementor-widget-heading" data-id="e39a01f" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h5 class="elementor-heading-title elementor-size-default">Outlook 2010</h5>				</div>
				</div>
				<div class="elementor-element elementor-element-ab85954 elementor-widget elementor-widget-code-block-for-elementor" data-id="ab85954" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-okaidia' data-show-toolbar='yes'><code class='language-powershell'>HKEY_CURRENT_USER\Software\Microsoft\Windows NT\Current Version\Windows Messaging SubSystem\Profile\&lt;nazev-profilu&gt;</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-77d2884 elementor-widget elementor-widget-heading" data-id="77d2884" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h5 class="elementor-heading-title elementor-size-default">Outlook 2013</h5>				</div>
				</div>
				<div class="elementor-element elementor-element-99aa198 elementor-widget elementor-widget-code-block-for-elementor" data-id="99aa198" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-okaidia' data-show-toolbar='yes'><code class='language-powershell'>HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Outlook\Profiles\&lt;nazev-profilu&gt;</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-5fc9b45 elementor-widget elementor-widget-heading" data-id="5fc9b45" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h5 class="elementor-heading-title elementor-size-default">Outlook 2016 a novější</h5>				</div>
				</div>
				<div class="elementor-element elementor-element-844cf20 elementor-widget elementor-widget-code-block-for-elementor" data-id="844cf20" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-okaidia' data-show-toolbar='yes'><code class='language-powershell'>HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Outlook\Profiles\&lt;nazev-profilu&gt;</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-5dd2107 elementor-widget elementor-widget-text-editor" data-id="5dd2107" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Doporučuji nejrve celý klíč profilu exportovat (záloha) a poté vyhledejte a odeberte jeden (nebo oba, nebo tři) klíče registru související s primárním účtem &#8211; viz dále.</p><p>V klíčích vybraného profilu je potřeba hledat hodnotu s názvem <strong>001f6641</strong> (případně <strong>001f662b</strong>). Hodnotu s tímto názvem používá každý účet. Pro každý účet najdete nejméně dva klíče obsahující tuto hodnotu a <strong>musíte odstranit druhý klíč</strong>, který patří k primárnímu účtu (můžete smazat oba klíče, já mažu vždy oba). Po smazání klíče/klíčů je následně možné odstranit primární účet.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-544d456 elementor-alert-info elementor-widget elementor-widget-alert" data-id="544d456" data-element_type="widget" data-widget_type="alert.default">
				<div class="elementor-widget-container">
							<div class="elementor-alert" role="alert">

						<span class="elementor-alert-title">Upozornění</span>
			
						<span class="elementor-alert-description">Je potřeba smazat celý klíč registru, nejen hodnotu. Laicky řešeno - mažete celou složku vlevo - v editoru registrů.</span>
			
			
		</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-a841ae5 elementor-widget elementor-widget-text-editor" data-id="a841ae5" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Na níže uvedeném příkladu je vidět, že hledáme účet <strong>messaging.microsoft@365lab.cz</strong>, který byl použit na testování.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-10da113 elementor-widget elementor-widget-image" data-id="10da113" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2025/02/regedit-primary-mailbox1.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="regedit-primary-mailbox1" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTA4MiwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMDJcL3JlZ2VkaXQtcHJpbWFyeS1tYWlsYm94MS5wbmcifQ%3D%3D">
							<img decoding="async" width="768" height="415" src="https://www.sraga.cz/wp-content/uploads/2025/02/regedit-primary-mailbox1-768x415.png" class="attachment-medium_large size-medium_large wp-image-1082" alt="Regedit - Outlook primary mailbox" srcset="https://www.sraga.cz/wp-content/uploads/2025/02/regedit-primary-mailbox1-768x415.png 768w, https://www.sraga.cz/wp-content/uploads/2025/02/regedit-primary-mailbox1-300x162.png 300w, https://www.sraga.cz/wp-content/uploads/2025/02/regedit-primary-mailbox1-1024x553.png 1024w, https://www.sraga.cz/wp-content/uploads/2025/02/regedit-primary-mailbox1-1536x829.png 1536w, https://www.sraga.cz/wp-content/uploads/2025/02/regedit-primary-mailbox1.png 1906w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-1b10157 elementor-widget elementor-widget-image" data-id="1b10157" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2025/02/regedit-primary-mailbox2.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="regedit-primary-mailbox2" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTA4MywidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMDJcL3JlZ2VkaXQtcHJpbWFyeS1tYWlsYm94Mi5wbmcifQ%3D%3D">
							<img loading="lazy" decoding="async" width="768" height="486" src="https://www.sraga.cz/wp-content/uploads/2025/02/regedit-primary-mailbox2-768x486.png" class="attachment-medium_large size-medium_large wp-image-1083" alt="Regedit - Outlook primary mailbox" srcset="https://www.sraga.cz/wp-content/uploads/2025/02/regedit-primary-mailbox2-768x486.png 768w, https://www.sraga.cz/wp-content/uploads/2025/02/regedit-primary-mailbox2-300x190.png 300w, https://www.sraga.cz/wp-content/uploads/2025/02/regedit-primary-mailbox2-1024x648.png 1024w, https://www.sraga.cz/wp-content/uploads/2025/02/regedit-primary-mailbox2-1536x971.png 1536w, https://www.sraga.cz/wp-content/uploads/2025/02/regedit-primary-mailbox2.png 1624w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-aaa21fb elementor-widget elementor-widget-text-editor" data-id="aaa21fb" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Po nalezení a odstranění dvou nebo tří klíčů registru přejděte na <strong>Ovládací panely</strong> &gt; <strong>Pošta (Microsoft Outlook)</strong>. Zatím Outlook Desktop nezapínejte.</p><p>Přejděte na &#8222;<strong>E-mailové účty&#8230;</strong>&#8220; a nastavte požadovaný účet jako výchozí, pokud je přítomen původní účet, tak jej odeberte.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-25634e8 elementor-widget elementor-widget-image" data-id="25634e8" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2025/02/control-panel-mail.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="control-panel-mail" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTA4MSwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMDJcL2NvbnRyb2wtcGFuZWwtbWFpbC5wbmcifQ%3D%3D">
							<img loading="lazy" decoding="async" width="768" height="413" src="https://www.sraga.cz/wp-content/uploads/2025/02/control-panel-mail-768x413.png" class="attachment-medium_large size-medium_large wp-image-1081" alt="Control panel - Mail" srcset="https://www.sraga.cz/wp-content/uploads/2025/02/control-panel-mail-768x413.png 768w, https://www.sraga.cz/wp-content/uploads/2025/02/control-panel-mail-300x161.png 300w, https://www.sraga.cz/wp-content/uploads/2025/02/control-panel-mail-1024x551.png 1024w, https://www.sraga.cz/wp-content/uploads/2025/02/control-panel-mail.png 1386w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-2c53602 elementor-widget elementor-widget-text-editor" data-id="2c53602" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Nyní můžete zapnout Outlook Desktop. Pokud se zobrazí chyba, máte 2 možnosti: 1) dohledat klíč, který jste přehlédli a nesmazali, 2) obnovit registr ze zálohy.</p>								</div>
				</div>
					</div>
				</div>
				</div>
		]]></content:encoded>
					
					<wfw:commentRss>https://www.sraga.cz/outlook-primary-account-cannot-be-removed/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Jak povolit specifický typ souboru v Exchange Online (novém Outlooku)</title>
		<link>https://www.sraga.cz/jak-povolit-specificky-typ-souboru-v-exchange-online-novem-outlooku/</link>
					<comments>https://www.sraga.cz/jak-povolit-specificky-typ-souboru-v-exchange-online-novem-outlooku/#respond</comments>
		
		<dc:creator><![CDATA[Miroslav Šraga]]></dc:creator>
		<pubDate>Thu, 08 Feb 2024 11:42:51 +0000</pubDate>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Exchange Online]]></category>
		<category><![CDATA[Nový Outlook]]></category>
		<category><![CDATA[PowerShell]]></category>
		<guid isPermaLink="false">https://www.sraga.cz/?p=177</guid>

					<description><![CDATA[Setkal jsem se s problémem, že v novém Outlooku a stejně tak v OWA (Outlook Web Access) nelze otevřít specifický typ souboru. V tomto případě byl blokovaný soubor s příponou XML. Vzhledem k tomu, že spousta firem přijímá výpisy z banky právě e-mailem formou přílohy XML, je toto pro uživatele značnou komplikací. Obsah &#160; Řešení, ... <a title="Jak povolit specifický typ souboru v Exchange Online (novém Outlooku)" class="read-more" href="https://www.sraga.cz/jak-povolit-specificky-typ-souboru-v-exchange-online-novem-outlooku/" aria-label="Číst více o Jak povolit specifický typ souboru v Exchange Online (novém Outlooku)">Číst dál</a>]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="177" class="elementor elementor-177" data-elementor-post-type="post">
				<div class="elementor-element elementor-element-9b55833 e-flex e-con-boxed e-con e-parent" data-id="9b55833" data-element_type="container">
					<div class="e-con-inner">
				<div class="elementor-element elementor-element-cf79061 elementor-widget elementor-widget-text-editor" data-id="cf79061" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Setkal jsem se s problémem, že v novém Outlooku a stejně tak v OWA (Outlook Web Access) nelze otevřít specifický typ souboru. V tomto případě byl blokovaný soubor s příponou XML. Vzhledem k tomu, že spousta firem přijímá výpisy z banky právě e-mailem formou přílohy XML, je toto pro uživatele značnou komplikací.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-7b38b1f elementor-widget elementor-widget-image" data-id="7b38b1f" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2024/02/exchange-filetype.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="exchange-filetype" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTgyLCJ1cmwiOiJodHRwczpcL1wvd3d3LnNyYWdhLmN6XC93cC1jb250ZW50XC91cGxvYWRzXC8yMDI0XC8wMlwvZXhjaGFuZ2UtZmlsZXR5cGUucG5nIn0%3D">
							<img loading="lazy" decoding="async" width="768" height="459" src="https://www.sraga.cz/wp-content/uploads/2024/02/exchange-filetype-768x459.png" class="attachment-medium_large size-medium_large wp-image-182" alt="Exchange Online, Outlook - blokovaný typ souboru" srcset="https://www.sraga.cz/wp-content/uploads/2024/02/exchange-filetype-768x459.png 768w, https://www.sraga.cz/wp-content/uploads/2024/02/exchange-filetype-300x179.png 300w, https://www.sraga.cz/wp-content/uploads/2024/02/exchange-filetype.png 822w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-519be6e elementor-toc--minimized-on-tablet elementor-widget elementor-widget-table-of-contents" data-id="519be6e" data-element_type="widget" data-settings="{&quot;exclude_headings_by_selector&quot;:[],&quot;headings_by_tags&quot;:[&quot;h2&quot;,&quot;h3&quot;,&quot;h4&quot;,&quot;h5&quot;,&quot;h6&quot;],&quot;marker_view&quot;:&quot;numbers&quot;,&quot;no_headings_message&quot;:&quot;No headings were found on this page.&quot;,&quot;minimize_box&quot;:&quot;yes&quot;,&quot;minimized_on&quot;:&quot;tablet&quot;,&quot;hierarchical_view&quot;:&quot;yes&quot;,&quot;min_height&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;min_height_tablet&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;min_height_mobile&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]}}" data-widget_type="table-of-contents.default">
				<div class="elementor-widget-container">
									<div class="elementor-toc__header">
						<h4 class="elementor-toc__header-title">
				Obsah			</h4>
										<div class="elementor-toc__toggle-button elementor-toc__toggle-button--expand" role="button" tabindex="0" aria-controls="elementor-toc__519be6e" aria-expanded="true" aria-label="Open table of contents"><svg aria-hidden="true" class="e-font-icon-svg e-fas-chevron-down" viewBox="0 0 448 512" xmlns="http://www.w3.org/2000/svg"><path d="M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"></path></svg></div>
				<div class="elementor-toc__toggle-button elementor-toc__toggle-button--collapse" role="button" tabindex="0" aria-controls="elementor-toc__519be6e" aria-expanded="true" aria-label="Close table of contents"><svg aria-hidden="true" class="e-font-icon-svg e-fas-chevron-up" viewBox="0 0 448 512" xmlns="http://www.w3.org/2000/svg"><path d="M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z"></path></svg></div>
					</div>
				<div id="elementor-toc__519be6e" class="elementor-toc__body">
			<div class="elementor-toc__spinner-container">
				<svg class="elementor-toc__spinner eicon-animation-spin e-font-icon-svg e-eicon-loading" aria-hidden="true" viewBox="0 0 1000 1000" xmlns="http://www.w3.org/2000/svg"><path d="M500 975V858C696 858 858 696 858 500S696 142 500 142 142 304 142 500H25C25 237 238 25 500 25S975 237 975 500 763 975 500 975Z"></path></svg>			</div>
		</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-245bb34 elementor-widget elementor-widget-heading" data-id="245bb34" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Řešení, které doporučuje Microsoft</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-ad2c8e9 elementor-widget elementor-widget-text-editor" data-id="ad2c8e9" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Microsoft má <a href="https://support.microsoft.com/en-us/topic/outlook-blocked-access-to-the-following-potentially-unsafe-attachments-c5c4a480-041e-2466-667f-e98d389ff822" target="_blank" rel="noopener">doporučení</a>, použít soubor v jiném formátu, nebo přílohu komprimovat. S tímto se samozřejmě spokojit nechceme, takže na to půjdeme jinak.</p><p>Co budeme potřebovat? Exchange Online PowerShell modul (ExchangeOnlineManagement)</p>								</div>
				</div>
				<div class="elementor-element elementor-element-caf882f elementor-alert-danger elementor-widget elementor-widget-alert" data-id="caf882f" data-element_type="widget" data-widget_type="alert.default">
				<div class="elementor-widget-container">
							<div class="elementor-alert" role="alert">

						<span class="elementor-alert-title">Upozornění</span>
			
						<span class="elementor-alert-description">Níže uvedená nastavení jsou platná pro celý tenatnt. Typy souborů povolujte pouze za předpokldadu, že víte, jaká rizika s tímto mohou být spojena.</span>
			
			
		</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-c933d0e elementor-widget elementor-widget-heading" data-id="c933d0e" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Zjištění, zda je soubor typu .xml blokován</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-2d4ec9f elementor-widget elementor-widget-code-block-for-elementor" data-id="2d4ec9f" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-okaidia' data-show-toolbar='yes'><code class='language-powershell'>Get-OwaMailboxPolicy | Select-Object -ExpandProperty BlockedFileTypes
</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-5a227de elementor-widget elementor-widget-image" data-id="5a227de" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="768" height="433" src="https://www.sraga.cz/wp-content/uploads/2024/02/exchange-filetype_0-768x433.png" class="attachment-medium_large size-medium_large wp-image-183" alt="Exchange Online, Outlook - blokovaný typ souboru" srcset="https://www.sraga.cz/wp-content/uploads/2024/02/exchange-filetype_0-768x433.png 768w, https://www.sraga.cz/wp-content/uploads/2024/02/exchange-filetype_0-300x169.png 300w, https://www.sraga.cz/wp-content/uploads/2024/02/exchange-filetype_0-1024x577.png 1024w, https://www.sraga.cz/wp-content/uploads/2024/02/exchange-filetype_0.png 1115w" sizes="(max-width: 768px) 100vw, 768px" />															</div>
				</div>
				<div class="elementor-element elementor-element-1fbf3a8 elementor-widget elementor-widget-image" data-id="1fbf3a8" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="768" height="433" src="https://www.sraga.cz/wp-content/uploads/2024/02/exchange-filetype_1-768x433.png" class="attachment-medium_large size-medium_large wp-image-179" alt="Exchange Online, Outlook - blokovaný typ souboru" srcset="https://www.sraga.cz/wp-content/uploads/2024/02/exchange-filetype_1-768x433.png 768w, https://www.sraga.cz/wp-content/uploads/2024/02/exchange-filetype_1-300x169.png 300w, https://www.sraga.cz/wp-content/uploads/2024/02/exchange-filetype_1-1024x577.png 1024w, https://www.sraga.cz/wp-content/uploads/2024/02/exchange-filetype_1.png 1115w" sizes="(max-width: 768px) 100vw, 768px" />															</div>
				</div>
				<div class="elementor-element elementor-element-596bc7c elementor-widget elementor-widget-heading" data-id="596bc7c" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Zjištění, zda je MIME type pro XML blokován (text/xml)</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-fa37556 elementor-widget elementor-widget-code-block-for-elementor" data-id="fa37556" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-okaidia' data-show-toolbar='yes'><code class='language-powershell'>Get-OwaMailboxPolicy | Select-Object -ExpandProperty BlockedMimeTypes
</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-5ff5f09 elementor-widget elementor-widget-image" data-id="5ff5f09" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2024/02/exchange-filetype_3.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="exchange-filetype_3" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTgwLCJ1cmwiOiJodHRwczpcL1wvd3d3LnNyYWdhLmN6XC93cC1jb250ZW50XC91cGxvYWRzXC8yMDI0XC8wMlwvZXhjaGFuZ2UtZmlsZXR5cGVfMy5wbmcifQ%3D%3D">
							<img loading="lazy" decoding="async" width="768" height="433" src="https://www.sraga.cz/wp-content/uploads/2024/02/exchange-filetype_3-768x433.png" class="attachment-medium_large size-medium_large wp-image-180" alt="Exchange Online, Outlook - blokovaný typ souboru" srcset="https://www.sraga.cz/wp-content/uploads/2024/02/exchange-filetype_3-768x433.png 768w, https://www.sraga.cz/wp-content/uploads/2024/02/exchange-filetype_3-300x169.png 300w, https://www.sraga.cz/wp-content/uploads/2024/02/exchange-filetype_3-1024x577.png 1024w, https://www.sraga.cz/wp-content/uploads/2024/02/exchange-filetype_3.png 1115w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-721340c elementor-widget elementor-widget-heading" data-id="721340c" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Povolení souboru s příponou .xml</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-b11ec72 elementor-widget elementor-widget-code-block-for-elementor" data-id="b11ec72" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-okaidia' data-show-toolbar='yes'><code class='language-powershell'>Get-OwaMailboxPolicy | Set-OwaMailboxPolicy -BlockedFileTypes @{Remove = &quot;.xml&quot;}
Get-OwaMailboxPolicy | Set-OwaMailboxPolicy -AllowedFileTypes @{Add = &quot;.xml&quot;}</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-bb010d8 elementor-widget elementor-widget-heading" data-id="bb010d8" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Povolení MIME type "text/xml" a "application/xml"</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-b7e045f elementor-widget elementor-widget-code-block-for-elementor" data-id="b7e045f" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-okaidia' data-show-toolbar='yes'><code class='language-powershell'>Get-OwaMailboxPolicy | Set-OwaMailboxPolicy -BlockedMimeTypes @{Remove = &quot;text/xml&quot;, &quot;application/xml&quot;}
Get-OwaMailboxPolicy | Set-OwaMailboxPolicy &ndash;AllowedMimeTypes @{Add = &quot;text/xml&quot;, &quot;application/xml&quot;}</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-95780c9 elementor-alert-info elementor-widget elementor-widget-alert" data-id="95780c9" data-element_type="widget" data-widget_type="alert.default">
				<div class="elementor-widget-container">
							<div class="elementor-alert" role="alert">

						<span class="elementor-alert-title">Upozornění</span>
			
						<span class="elementor-alert-description">provedené změny se neprojeví hned. Je potřeba několik minut počkat, případně se uživatel odhlásí a znovu přihlásí.</span>
			
			
		</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-804a458 elementor-widget elementor-widget-heading" data-id="804a458" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Videonávod</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-d57334d elementor-widget elementor-widget-video" data-id="d57334d" data-element_type="widget" data-settings="{&quot;youtube_url&quot;:&quot;https:\/\/youtu.be\/aBIsd9Dx1xk&quot;,&quot;video_type&quot;:&quot;youtube&quot;,&quot;controls&quot;:&quot;yes&quot;}" data-widget_type="video.default">
				<div class="elementor-widget-container">
							<div class="elementor-wrapper elementor-open-inline">
			<div class="elementor-video"></div>		</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-5f09df6 elementor-widget elementor-widget-heading" data-id="5f09df6" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Užitečné odkazy</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-dc3f7b0 elementor-icon-list--layout-traditional elementor-list-item-link-full_width elementor-widget elementor-widget-icon-list" data-id="dc3f7b0" data-element_type="widget" data-widget_type="icon-list.default">
				<div class="elementor-widget-container">
							<ul class="elementor-icon-list-items">
							<li class="elementor-icon-list-item">
											<a href="https://learn.microsoft.com/en-us/exchange/troubleshoot/outlook-on-the-web-issues/cannot-open-attachments#cause" target="_blank" rel="noopener">

												<span class="elementor-icon-list-icon">
							<svg aria-hidden="true" class="e-font-icon-svg e-fas-dot-circle" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm80 248c0 44.112-35.888 80-80 80s-80-35.888-80-80 35.888-80 80-80 80 35.888 80 80z"></path></svg>						</span>
										<span class="elementor-icon-list-text">Microsoft 365 users can't open or view attachments in Outlook on the web</span>
											</a>
									</li>
								<li class="elementor-icon-list-item">
											<a href="https://support.microsoft.com/en-us/office/blocked-attachments-in-outlook-434752e1-02d3-4e90-9124-8b81e49a8519?ui=en-us&#038;rs=en-us&#038;ad=usi" target="_blank" rel="noopener">

												<span class="elementor-icon-list-icon">
							<svg aria-hidden="true" class="e-font-icon-svg e-fas-dot-circle" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm80 248c0 44.112-35.888 80-80 80s-80-35.888-80-80 35.888-80 80-80 80 35.888 80 80z"></path></svg>						</span>
										<span class="elementor-icon-list-text"> Blocked attachments in Outlook</span>
											</a>
									</li>
								<li class="elementor-icon-list-item">
											<a href="https://support.microsoft.com/en-us/topic/outlook-blocked-access-to-the-following-potentially-unsafe-attachments-c5c4a480-041e-2466-667f-e98d389ff822" target="_blank" rel="noopener">

												<span class="elementor-icon-list-icon">
							<svg aria-hidden="true" class="e-font-icon-svg e-fas-dot-circle" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm80 248c0 44.112-35.888 80-80 80s-80-35.888-80-80 35.888-80 80-80 80 35.888 80 80z"></path></svg>						</span>
										<span class="elementor-icon-list-text">Outlook blocked access to the following potentially unsafe attachments</span>
											</a>
									</li>
						</ul>
						</div>
				</div>
					</div>
				</div>
		<div class="elementor-element elementor-element-dc4c950 e-flex e-con-boxed e-con e-parent" data-id="dc4c950" data-element_type="container">
					<div class="e-con-inner">
					</div>
				</div>
				</div>
		]]></content:encoded>
					
					<wfw:commentRss>https://www.sraga.cz/jak-povolit-specificky-typ-souboru-v-exchange-online-novem-outlooku/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Vytvoření DMARC záznamu pro fallback doménu onmicrosoft.com</title>
		<link>https://www.sraga.cz/vytvoreni-dmarc-zaznamu-domenu-onmicrosoft-com/</link>
					<comments>https://www.sraga.cz/vytvoreni-dmarc-zaznamu-domenu-onmicrosoft-com/#respond</comments>
		
		<dc:creator><![CDATA[c]]></dc:creator>
		<pubDate>Wed, 07 Feb 2024 10:55:09 +0000</pubDate>
				<category><![CDATA[Bezpečnost]]></category>
		<category><![CDATA[DMARC]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[SPAM]]></category>
		<guid isPermaLink="false">https://www.sraga.cz/?p=151</guid>

					<description><![CDATA[DMARC je protokol pro ověřování e-mailů. Je navržen tak, aby umožnil majitelům e-mailových domén chránit svou doménu před neoprávněným použitím, což se běžně nazývá e-mailový spoofing. DMARC funguje společně se Sender Policy Framework (SPF) a DomainKeys Identified Mail (DKIM) pro ověření odesílatelů pošty. Věděli jste že DMARC záznam můžete nastavit také pro výchozí doménu onmicrosoft.com, ... <a title="Vytvoření DMARC záznamu pro fallback doménu onmicrosoft.com" class="read-more" href="https://www.sraga.cz/vytvoreni-dmarc-zaznamu-domenu-onmicrosoft-com/" aria-label="Číst více o Vytvoření DMARC záznamu pro fallback doménu onmicrosoft.com">Číst dál</a>]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="151" class="elementor elementor-151" data-elementor-post-type="post">
				<div class="elementor-element elementor-element-e32553a e-flex e-con-boxed e-con e-parent" data-id="e32553a" data-element_type="container">
					<div class="e-con-inner">
				<div class="elementor-element elementor-element-fc72cd7 elementor-widget elementor-widget-text-editor" data-id="fc72cd7" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>DMARC je protokol pro ověřování e-mailů. Je navržen tak, aby umožnil <strong>majitelům e-mailových domén chránit svou doménu před neoprávněným použitím</strong>, což se běžně nazývá e-mailový spoofing. DMARC funguje společně se Sender Policy Framework (SPF) a DomainKeys Identified Mail (DKIM) pro ověření odesílatelů pošty.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-7553011 elementor-alert-info elementor-widget elementor-widget-alert" data-id="7553011" data-element_type="widget" data-widget_type="alert.default">
				<div class="elementor-widget-container">
							<div class="elementor-alert" role="alert">

						<span class="elementor-alert-title">Věděli jste</span>
			
						<span class="elementor-alert-description">že DMARC záznam můžete nastavit také pro výchozí doménu onmicrosoft.com, takzvanou fallback doménu nebo také Microsoft Online Email Routing Address?</span>
			
			
		</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-d21d381 elementor-widget elementor-widget-text-editor" data-id="d21d381" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<ol><li>Otevřete si <a href="https://admin.microsoft.com" target="_blank" rel="noopener">Microsoft 365 Admin Centrum</a></li><li>Rozbalte <strong>Settings</strong> (Nastavení)</li><li>Klikněte na <strong>Domains</strong> (Domény)</li><li>Klikněte na vaši <strong>.onmicrosoft.com doménu</strong></li></ol>								</div>
				</div>
				<div class="elementor-element elementor-element-2b43653 elementor-widget elementor-widget-image" data-id="2b43653" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2024/02/DMARC-onmicrosoft_1.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="DMARC-onmicrosoft_1" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTU2LCJ1cmwiOiJodHRwczpcL1wvd3d3LnNyYWdhLmN6XC93cC1jb250ZW50XC91cGxvYWRzXC8yMDI0XC8wMlwvRE1BUkMtb25taWNyb3NvZnRfMS5wbmcifQ%3D%3D">
							<img loading="lazy" decoding="async" width="768" height="677" src="https://www.sraga.cz/wp-content/uploads/2024/02/DMARC-onmicrosoft_1-768x677.png" class="attachment-medium_large size-medium_large wp-image-156" alt="DMARC záznam pro doménu onmicrosoft.com" srcset="https://www.sraga.cz/wp-content/uploads/2024/02/DMARC-onmicrosoft_1-768x677.png 768w, https://www.sraga.cz/wp-content/uploads/2024/02/DMARC-onmicrosoft_1-300x265.png 300w, https://www.sraga.cz/wp-content/uploads/2024/02/DMARC-onmicrosoft_1-1024x903.png 1024w, https://www.sraga.cz/wp-content/uploads/2024/02/DMARC-onmicrosoft_1.png 1169w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-deca7df elementor-widget elementor-widget-text-editor" data-id="deca7df" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>5. Klikněte na záložku <strong>DNS Recods</strong> (DNS záznamy)<br />6. Klikněte na <strong>+Add record</strong> (Přidat záznamú</p>								</div>
				</div>
				<div class="elementor-element elementor-element-4f25302 elementor-widget elementor-widget-image" data-id="4f25302" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2024/02/DMARC-onmicrosoft_2.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="DMARC-onmicrosoft_2" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTU1LCJ1cmwiOiJodHRwczpcL1wvd3d3LnNyYWdhLmN6XC93cC1jb250ZW50XC91cGxvYWRzXC8yMDI0XC8wMlwvRE1BUkMtb25taWNyb3NvZnRfMi5wbmcifQ%3D%3D">
							<img loading="lazy" decoding="async" width="768" height="677" src="https://www.sraga.cz/wp-content/uploads/2024/02/DMARC-onmicrosoft_2-768x677.png" class="attachment-medium_large size-medium_large wp-image-155" alt="DMARC záznam pro doménu onmicrosoft.com" srcset="https://www.sraga.cz/wp-content/uploads/2024/02/DMARC-onmicrosoft_2-768x677.png 768w, https://www.sraga.cz/wp-content/uploads/2024/02/DMARC-onmicrosoft_2-300x265.png 300w, https://www.sraga.cz/wp-content/uploads/2024/02/DMARC-onmicrosoft_2-1024x903.png 1024w, https://www.sraga.cz/wp-content/uploads/2024/02/DMARC-onmicrosoft_2.png 1169w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-720d959 elementor-widget elementor-widget-text-editor" data-id="720d959" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>7. Vyberte typ záznamu TXT<br />8. Název záznamu _dmarc<br />9. Hodnota záznamu dle potřeby (none, quarantine, reject)</p><p>Více informací o<a href="https://www.cloudpartner.cz/dmarc-jak-zlepsit-dorucitelnost-vasich-e-mailu/" target="_blank" rel="noopener"> nastavení DMARC záznamu</a> můžete najít třeba <a href="https://www.cloudpartner.cz/dmarc-jak-zlepsit-dorucitelnost-vasich-e-mailu/" target="_blank" rel="noopener">zde</a>.</p><p>10. Nastavení uložte pomocí tlačítka <strong>Save</strong> (Uložit)</p>								</div>
				</div>
				<div class="elementor-element elementor-element-ab7dbee elementor-widget elementor-widget-code-highlight" data-id="ab7dbee" data-element_type="widget" data-widget_type="code-highlight.default">
				<div class="elementor-widget-container">
							<div class="prismjs-default copy-to-clipboard ">
			<pre data-line="" class="highlight-height language-javascript line-numbers">
				<code readonly="true" class="language-javascript">
					<xmp>v=DMARC1; p=quarantine; pct=100

v=DMARC1; p=reject; pct=100</xmp>
				</code>
			</pre>
		</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-0ed94eb elementor-widget elementor-widget-image" data-id="0ed94eb" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2024/02/DMARC-onmicrosoft_3.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="DMARC-onmicrosoft_3" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTU0LCJ1cmwiOiJodHRwczpcL1wvd3d3LnNyYWdhLmN6XC93cC1jb250ZW50XC91cGxvYWRzXC8yMDI0XC8wMlwvRE1BUkMtb25taWNyb3NvZnRfMy5wbmcifQ%3D%3D">
							<img loading="lazy" decoding="async" width="768" height="677" src="https://www.sraga.cz/wp-content/uploads/2024/02/DMARC-onmicrosoft_3-768x677.png" class="attachment-medium_large size-medium_large wp-image-154" alt="DMARC záznam pro doménu onmicrosoft.com" srcset="https://www.sraga.cz/wp-content/uploads/2024/02/DMARC-onmicrosoft_3-768x677.png 768w, https://www.sraga.cz/wp-content/uploads/2024/02/DMARC-onmicrosoft_3-300x265.png 300w, https://www.sraga.cz/wp-content/uploads/2024/02/DMARC-onmicrosoft_3-1024x903.png 1024w, https://www.sraga.cz/wp-content/uploads/2024/02/DMARC-onmicrosoft_3.png 1169w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-1b7417c elementor-widget elementor-widget-text-editor" data-id="1b7417c" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>11. DMARC záznam je vytvořen. Zkontrolovat si jej můžete například pomocí nástroje <a href="https://www.mxtoolbox.com" target="_blank" rel="noopener">mxtoolbox.com</a></p>								</div>
				</div>
				<div class="elementor-element elementor-element-9a65cf2 elementor-widget elementor-widget-image" data-id="9a65cf2" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2024/02/DMARC-onmicrosoft_4.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="DMARC-onmicrosoft_4" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTUzLCJ1cmwiOiJodHRwczpcL1wvd3d3LnNyYWdhLmN6XC93cC1jb250ZW50XC91cGxvYWRzXC8yMDI0XC8wMlwvRE1BUkMtb25taWNyb3NvZnRfNC5wbmcifQ%3D%3D">
							<img loading="lazy" decoding="async" width="768" height="677" src="https://www.sraga.cz/wp-content/uploads/2024/02/DMARC-onmicrosoft_4-768x677.png" class="attachment-medium_large size-medium_large wp-image-153" alt="DMARC záznam pro doménu onmicrosoft.com" srcset="https://www.sraga.cz/wp-content/uploads/2024/02/DMARC-onmicrosoft_4-768x677.png 768w, https://www.sraga.cz/wp-content/uploads/2024/02/DMARC-onmicrosoft_4-300x265.png 300w, https://www.sraga.cz/wp-content/uploads/2024/02/DMARC-onmicrosoft_4-1024x903.png 1024w, https://www.sraga.cz/wp-content/uploads/2024/02/DMARC-onmicrosoft_4.png 1169w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
					</div>
				</div>
		<div class="elementor-element elementor-element-c5d5ec2 e-flex e-con-boxed e-con e-parent" data-id="c5d5ec2" data-element_type="container">
					<div class="e-con-inner">
				<div class="elementor-element elementor-element-4d1dc3b elementor-widget elementor-widget-heading" data-id="4d1dc3b" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Videonávod</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-45c4092 elementor-widget elementor-widget-video" data-id="45c4092" data-element_type="widget" data-settings="{&quot;youtube_url&quot;:&quot;https:\/\/youtu.be\/4WvIsAXOvp4&quot;,&quot;video_type&quot;:&quot;youtube&quot;,&quot;controls&quot;:&quot;yes&quot;}" data-widget_type="video.default">
				<div class="elementor-widget-container">
							<div class="elementor-wrapper elementor-open-inline">
			<div class="elementor-video"></div>		</div>
						</div>
				</div>
					</div>
				</div>
				</div>
		]]></content:encoded>
					
					<wfw:commentRss>https://www.sraga.cz/vytvoreni-dmarc-zaznamu-domenu-onmicrosoft-com/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Exchange Hybrid deployment: jak opravit duplikované mailboxy</title>
		<link>https://www.sraga.cz/exchange-hybrid-deployment-jak-opravit-duplikovane-mailboxy/</link>
					<comments>https://www.sraga.cz/exchange-hybrid-deployment-jak-opravit-duplikovane-mailboxy/#respond</comments>
		
		<dc:creator><![CDATA[Miroslav Šraga]]></dc:creator>
		<pubDate>Mon, 13 Feb 2023 11:19:21 +0000</pubDate>
				<category><![CDATA[Azure AD / Entra ID]]></category>
		<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Microsoft 365]]></category>
		<category><![CDATA[duplicity]]></category>
		<category><![CDATA[Hybrid]]></category>
		<category><![CDATA[mailbox]]></category>
		<guid isPermaLink="false">https://www.sraga.cz/?p=624</guid>

					<description><![CDATA[Jeden náš významný zákazník se na nás obrátil s žádostí o pomoc. Provozuje Microsoft Office 365 v hybridním režimu s Microsoft Exchange 2016. U několika uživatelů se objevil problém, že interní pošta je doručována bez problémů, ale pošta „z venku“ jim do schránky nechodí. Pošta není vidět ani v Outlooku, ani v Outlooku Online. Po ... <a title="Exchange Hybrid deployment: jak opravit duplikované mailboxy" class="read-more" href="https://www.sraga.cz/exchange-hybrid-deployment-jak-opravit-duplikovane-mailboxy/" aria-label="Číst více o Exchange Hybrid deployment: jak opravit duplikované mailboxy">Číst dál</a>]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="624" class="elementor elementor-624" data-elementor-post-type="post">
				<div class="elementor-element elementor-element-6754d07 e-flex e-con-boxed e-con e-parent" data-id="6754d07" data-element_type="container">
					<div class="e-con-inner">
				<div class="elementor-element elementor-element-877dc5d elementor-widget elementor-widget-text-editor" data-id="877dc5d" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Jeden náš významný zákazník se na nás obrátil s žádostí o pomoc. Provozuje Microsoft Office 365 v hybridním režimu s Microsoft Exchange 2016. U několika uživatelů se objevil problém, že interní pošta je doručována bez problémů, ale pošta „z venku“ jim do schránky nechodí. Pošta není vidět ani v Outlooku, ani v Outlooku Online.</p><p>Po prověření situace jsme zjistili, že problém je v tom, že mailboxy uživatelů jsou založeny duplicitně v Exchange on-premises a zároveň v Office 365 (Exchange Online). Pošta, která byla zasílána z venku proto nebyla doručována do on-premises mailboxu, ale zůstávala v mailboxu, který byl v Exchange Online. Logicky pak uživatelé nemohli ve svém poštovním klientovi tyto zprávy najít.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-327bc9f elementor-toc--minimized-on-tablet elementor-widget elementor-widget-table-of-contents" data-id="327bc9f" data-element_type="widget" data-settings="{&quot;exclude_headings_by_selector&quot;:[],&quot;headings_by_tags&quot;:[&quot;h2&quot;,&quot;h3&quot;,&quot;h4&quot;,&quot;h5&quot;,&quot;h6&quot;],&quot;marker_view&quot;:&quot;numbers&quot;,&quot;no_headings_message&quot;:&quot;No headings were found on this page.&quot;,&quot;minimize_box&quot;:&quot;yes&quot;,&quot;minimized_on&quot;:&quot;tablet&quot;,&quot;hierarchical_view&quot;:&quot;yes&quot;,&quot;min_height&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;min_height_tablet&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]},&quot;min_height_mobile&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:[]}}" data-widget_type="table-of-contents.default">
				<div class="elementor-widget-container">
									<div class="elementor-toc__header">
						<h4 class="elementor-toc__header-title">
				Obsah			</h4>
										<div class="elementor-toc__toggle-button elementor-toc__toggle-button--expand" role="button" tabindex="0" aria-controls="elementor-toc__327bc9f" aria-expanded="true" aria-label="Open table of contents"><svg aria-hidden="true" class="e-font-icon-svg e-fas-chevron-down" viewBox="0 0 448 512" xmlns="http://www.w3.org/2000/svg"><path d="M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"></path></svg></div>
				<div class="elementor-toc__toggle-button elementor-toc__toggle-button--collapse" role="button" tabindex="0" aria-controls="elementor-toc__327bc9f" aria-expanded="true" aria-label="Close table of contents"><svg aria-hidden="true" class="e-font-icon-svg e-fas-chevron-up" viewBox="0 0 448 512" xmlns="http://www.w3.org/2000/svg"><path d="M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z"></path></svg></div>
					</div>
				<div id="elementor-toc__327bc9f" class="elementor-toc__body">
			<div class="elementor-toc__spinner-container">
				<svg class="elementor-toc__spinner eicon-animation-spin e-font-icon-svg e-eicon-loading" aria-hidden="true" viewBox="0 0 1000 1000" xmlns="http://www.w3.org/2000/svg"><path d="M500 975V858C696 858 858 696 858 500S696 142 500 142 142 304 142 500H25C25 237 238 25 500 25S975 237 975 500 763 975 500 975Z"></path></svg>			</div>
		</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-56ed1c9 elementor-widget elementor-widget-heading" data-id="56ed1c9" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Zdvojené poštovní schrány (duplicity mailboxů)</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-1e3abd2 elementor-widget elementor-widget-text-editor" data-id="1e3abd2" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Pokud jsou poštovní schránky zakládány v cloudu, tak v rámci Microsoft 365 je logika, která zajišťuje, aby nevznikaly duplicitní mailboxy v Exchange Online a v Exchange on-premise. Asi si dokážete představit, jaký to je zmatek, když se zprávy z on-premise Exchange doručují zase jen do on-premisess Exchange a zprávy v rámci cloudu se doručují zase jen v rámci Exchange Online.</p><p>Pokud je ale poštovní schránka založena v Exchange on premises, je za synchronizaci atributů do služby Entra ID (Azure AD) odpovědný proces synchronizace Entra Connect (Azure AD Connect). Jedním z atributů, který se synchronizuje z on-premises do Azure AD je „<strong>ExchangeGUID</strong>„.</p><p>Tady je příklad, jak zjistit ExchangeGUID mailboxu v <strong>on-premise Exchange</strong>:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-bf881b4 elementor-widget elementor-widget-code-block-for-elementor" data-id="bf881b4" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-okaidia' data-show-toolbar='yes'><code class='language-powershell'>Get-Recipient jan.xxxxx| fl name,recipienttype,exchangeGuid

Name          : Jan Xxxx
RecipientType : UserMailbox
ExchangeGuid  : 6ec2eb5f-4a92-4f27-xxxx-27c168c1a28f</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-0d30d95 elementor-widget elementor-widget-text-editor" data-id="0d30d95" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Když AAD Connect dokončí synchronizační cyklus, lze to ověřit na objektu poštovního uživatele v <strong>Exchange Online</strong>, kde by mělo být <strong>stejné ExchanegGUID</strong>. Každá poštovní schránka v on premise by měla být reprezentována objektem poštovního uživatele v online.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-b7d4884 elementor-widget elementor-widget-code-block-for-elementor" data-id="b7d4884" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-okaidia' data-show-toolbar='yes'><code class='language-powershell'>Get-Recipient jan.xxxxx| fl name,recipienttype,exchangeGuid


Name          : Jan Xxxxx
RecipientType : UserMailbox
ExchangeGuid  : da344687-715f-xxxx-880b-13b9da229c96</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-54e35b0 elementor-widget elementor-widget-text-editor" data-id="54e35b0" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>V tomto případě je ale vidět, že <strong>ExchangeGUID se liší</strong>, to znamená, že <span style="text-decoration: underline;">uživatel má schránku jak v Exchange on premise tak v Exchange Online</span>. Toto lze ověřit také přes ECP.</p><p><strong>Exchange Online:</strong></p>								</div>
				</div>
				<div class="elementor-element elementor-element-d94a100 elementor-widget elementor-widget-image" data-id="d94a100" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-01.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="exchange-hybrid-duplicated-mailbox-01" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NjI2LCJ1cmwiOiJodHRwczpcL1wvd3d3LnNyYWdhLmN6XC93cC1jb250ZW50XC91cGxvYWRzXC8yMDI0XC8wNFwvZXhjaGFuZ2UtaHlicmlkLWR1cGxpY2F0ZWQtbWFpbGJveC0wMS5wbmcifQ%3D%3D">
							<img loading="lazy" decoding="async" width="768" height="218" src="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-01-768x218.png" class="attachment-medium_large size-medium_large wp-image-626" alt="Exchange hybrid Deployment duplicated mailbox" srcset="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-01-768x218.png 768w, https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-01-300x85.png 300w, https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-01.png 942w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-25b0d3f elementor-widget elementor-widget-text-editor" data-id="25b0d3f" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p><strong>Exchange on premises:</strong></p>								</div>
				</div>
				<div class="elementor-element elementor-element-ad289f5 elementor-widget elementor-widget-image" data-id="ad289f5" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-02.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="exchange-hybrid-duplicated-mailbox-02" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NjI3LCJ1cmwiOiJodHRwczpcL1wvd3d3LnNyYWdhLmN6XC93cC1jb250ZW50XC91cGxvYWRzXC8yMDI0XC8wNFwvZXhjaGFuZ2UtaHlicmlkLWR1cGxpY2F0ZWQtbWFpbGJveC0wMi5wbmcifQ%3D%3D">
							<img loading="lazy" decoding="async" width="768" height="234" src="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-02-768x234.png" class="attachment-medium_large size-medium_large wp-image-627" alt="Exchange hybrid Deployment duplicated mailbox" srcset="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-02-768x234.png 768w, https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-02-300x91.png 300w, https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-02.png 966w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-6d44eba elementor-alert-info elementor-widget elementor-widget-alert" data-id="6d44eba" data-element_type="widget" data-widget_type="alert.default">
				<div class="elementor-widget-container">
							<div class="elementor-alert" role="alert">

						<span class="elementor-alert-title">Věděli jste</span>
			
						<span class="elementor-alert-description">že účet v Active Directory můžete sloučit s existujícím účtem v Entra ID? <a href="https://www.sraga.cz/jak-synchronizovat-on-prem-ad-ucty-s-existujicimi-ucty-v-entra-id/" target="_blank">Jak synchronizovat on-prem AD účty s existujícími účty v Entra ID</a></span>
			
			
		</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-8330cf9 elementor-widget elementor-widget-text-editor" data-id="8330cf9" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Náš zákazník má všechny schránky (z určitého důvodu) umístěny v Exchange on premise. Proto by v Enterprise ECP měla být u uživatele informace „mailbox type: Office 365“ a to není. <strong>Schránka tedy skutečně existuje na dvou místech</strong>.</p><p>Jak tuto situaci napravit? Jsou dvě metody</p><ul><li><strong>Smazat účet v Entra ID (Azure Active Directory)</strong></li><li>Odebrat licenci Exchange Online</li></ul><p>Obě metody mají svá pro a proti. V tomto případě jsme se rozhodli že půjdeme první cestou, tedy cestou smazání účtu v Entra ID (Azure Active Directory), ale tak, abychom minimalizovali případné škody.</p><p><strong>Výhody tohoto postupu:</strong></p><ul><li>Smazání účtu je poměrně jednoduchý proces</li><li>Mailbox může být migrován z on-premise do cloudu a zpět hned, jakmile proběhne sychnoziace Azure AD Conenct</li><li><strong>Exchange Online podporuje spojení mailboxů, takže uživatel nepřijde o zprávy</strong>. Zprávy z obou mailboxů by měly být zachovány</li></ul><p><strong>Je zde také pár potenciálních nevýhod tohoto řešení:</strong></p><ul><li>Jedná se o kompletní obnovu/reset cloudového účtu</li><li><span style="text-decoration: underline;"><strong>Všechna oprávnění udělení tomuto účtu v rámci služby (vlastnictví webu v Sharepoint / OneDrive apod.) budou ztracena</strong></span></li><li>Jakékoliv členství v cloudových distribučních seznamech bude ztraceno</li><li>Může dojít ke krátkému výpadku toku pošty u spravovaného účtu (z důvodu odstranění a znovu vytvoření objektu v Exchange Online)</li></ul><p>Nejprve ověříme, že mailbox v Exchange Online existuje a shoduje se s účtem v on premise Exchange</p><p><strong>Exchane Online Powershell:</strong></p>								</div>
				</div>
				<div class="elementor-element elementor-element-8934aee elementor-widget elementor-widget-code-block-for-elementor" data-id="8934aee" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-okaidia' data-show-toolbar='yes'><code class='language-powershell'>Get-mailbox jan.xxxx</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-9a4764c elementor-widget elementor-widget-image" data-id="9a4764c" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-03-1024x74-1.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="exchange-hybrid-duplicated-mailbox-03-1024x74" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NjMwLCJ1cmwiOiJodHRwczpcL1wvd3d3LnNyYWdhLmN6XC93cC1jb250ZW50XC91cGxvYWRzXC8yMDI0XC8wNFwvZXhjaGFuZ2UtaHlicmlkLWR1cGxpY2F0ZWQtbWFpbGJveC0wMy0xMDI0eDc0LTEucG5nIn0%3D">
							<img loading="lazy" decoding="async" width="768" height="56" src="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-03-1024x74-1-768x56.png" class="attachment-medium_large size-medium_large wp-image-630" alt="Exchanhe Get-mailbox" srcset="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-03-1024x74-1-768x56.png 768w, https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-03-1024x74-1-300x22.png 300w, https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-03-1024x74-1.png 1024w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-1984acd elementor-widget elementor-widget-text-editor" data-id="1984acd" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p><strong>On-Premises Exchange PowerShell:</strong></p>								</div>
				</div>
				<div class="elementor-element elementor-element-abd6efa elementor-widget elementor-widget-code-block-for-elementor" data-id="abd6efa" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-okaidia' data-show-toolbar='yes'><code class='language-powershell'>Get-mailbox jan.xxxx</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-ebd526d elementor-widget elementor-widget-image" data-id="ebd526d" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-04.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="exchange-hybrid-duplicated-mailbox-04" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NjI5LCJ1cmwiOiJodHRwczpcL1wvd3d3LnNyYWdhLmN6XC93cC1jb250ZW50XC91cGxvYWRzXC8yMDI0XC8wNFwvZXhjaGFuZ2UtaHlicmlkLWR1cGxpY2F0ZWQtbWFpbGJveC0wNC5wbmcifQ%3D%3D">
							<img loading="lazy" decoding="async" width="681" height="101" src="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-04.png" class="attachment-medium_large size-medium_large wp-image-629" alt="Exchange Get-mailbox" srcset="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-04.png 681w, https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-04-300x44.png 300w" sizes="(max-width: 681px) 100vw, 681px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-9e2d305 elementor-widget elementor-widget-text-editor" data-id="9e2d305" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>V <a href="https://admin.microsoft.com" target="_blank" rel="noopener">Microsoft 365 Admin centru</a> ověříme, že je účet synchronizován z on-premises Active Directory</p>								</div>
				</div>
				<div class="elementor-element elementor-element-105807d elementor-widget elementor-widget-image" data-id="105807d" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-05-1024x58-1.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="exchange-hybrid-duplicated-mailbox-05-1024x58" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NjI4LCJ1cmwiOiJodHRwczpcL1wvd3d3LnNyYWdhLmN6XC93cC1jb250ZW50XC91cGxvYWRzXC8yMDI0XC8wNFwvZXhjaGFuZ2UtaHlicmlkLWR1cGxpY2F0ZWQtbWFpbGJveC0wNS0xMDI0eDU4LTEucG5nIn0%3D">
							<img loading="lazy" decoding="async" width="768" height="44" src="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-05-1024x58-1-768x44.png" class="attachment-medium_large size-medium_large wp-image-628" alt="Exchange Get-mailbox" srcset="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-05-1024x58-1-768x44.png 768w, https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-05-1024x58-1-300x17.png 300w, https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-05-1024x58-1.png 1024w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-eb7777f elementor-widget elementor-widget-text-editor" data-id="eb7777f" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Tak, <strong>máme ověřeno, že se jedná o tentýž účet</strong> a že tento uživatel <strong>má mailbox v on-premises i v cloudu</strong>.</p><p>Abychom mohli zahájit nápravu, je třeba si na začátku zjistit a zapsat několik informací, hlavně <strong>ExchangeGUID mailboxu v Exchange Online</strong>:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-8c41b62 elementor-widget elementor-widget-code-block-for-elementor" data-id="8c41b62" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-okaidia' data-show-toolbar='yes'><code class='language-powershell'>Get-mailbox jan.xxxx | select-object ExchangeGUID</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-c02fd01 elementor-widget elementor-widget-image" data-id="c02fd01" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-06.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="exchange-hybrid-duplicated-mailbox-06" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NjM3LCJ1cmwiOiJodHRwczpcL1wvd3d3LnNyYWdhLmN6XC93cC1jb250ZW50XC91cGxvYWRzXC8yMDI0XC8wNFwvZXhjaGFuZ2UtaHlicmlkLWR1cGxpY2F0ZWQtbWFpbGJveC0wNi5wbmcifQ%3D%3D">
							<img loading="lazy" decoding="async" width="768" height="98" src="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-06-768x98.png" class="attachment-medium_large size-medium_large wp-image-637" alt="Exchange select-object ExchangeGUID" srcset="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-06-768x98.png 768w, https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-06-300x38.png 300w, https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-06.png 777w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-d141d91 elementor-widget elementor-widget-text-editor" data-id="d141d91" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Je také dobré si <strong>uložit</strong> informace z parametru <strong>EmailAddresses</strong> na Exchange on-premises (viz dále problém 2 – chyba IMCEAEX)</p>								</div>
				</div>
				<div class="elementor-element elementor-element-a15178f elementor-widget elementor-widget-image" data-id="a15178f" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-07.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="exchange-hybrid-duplicated-mailbox-07" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NjM2LCJ1cmwiOiJodHRwczpcL1wvd3d3LnNyYWdhLmN6XC93cC1jb250ZW50XC91cGxvYWRzXC8yMDI0XC8wNFwvZXhjaGFuZ2UtaHlicmlkLWR1cGxpY2F0ZWQtbWFpbGJveC0wNy5wbmcifQ%3D%3D">
							<img loading="lazy" decoding="async" width="768" height="146" src="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-07-768x146.png" class="attachment-medium_large size-medium_large wp-image-636" alt="Exchange Get-Recipient" srcset="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-07-768x146.png 768w, https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-07-300x57.png 300w, https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-07.png 892w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-32882d8 elementor-widget elementor-widget-text-editor" data-id="32882d8" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Pomocí <a href="https://learn.microsoft.com/en-us/powershell/module/msonline/remove-msoluser?view=azureadps-1.0" target="_blank" rel="noopener">Entra ID</a> (Azure Active Directory) <a href="https://learn.microsoft.com/en-us/powershell/module/msonline/remove-msoluser?view=azureadps-1.0" target="_blank" rel="noopener">PowerShell</a> <strong>smažeme účet a odebereme z „koše“</strong></p>								</div>
				</div>
				<div class="elementor-element elementor-element-0d40050 elementor-widget elementor-widget-code-block-for-elementor" data-id="0d40050" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-okaidia' data-show-toolbar='yes'><code class='language-powershell'>Remove-MsolUser -UserPrincipalName jan.xxxxx@domena.cz -Force
Remove-MsolUser -UserPrincipalName jan.xxxxx@domena.cz -Force -RemoveFromRecycleBin</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-21614c3 elementor-widget elementor-widget-text-editor" data-id="21614c3" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Výmaz si můžete ověřit pomocí powershell příkazu <a href="https://learn.microsoft.com/en-us/powershell/module/msonline/get-msoluser?view=azureadps-1.0" target="_blank" rel="noopener"><strong>Get-MsolUser</strong></a>, kdy by uživatel neměl být nalezen mezi aktivními uživateli.</p><p>Příkaz by tedy měl vrátit chybu:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-1557180 elementor-widget elementor-widget-image" data-id="1557180" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-08.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="exchange-hybrid-duplicated-mailbox-08" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NjM1LCJ1cmwiOiJodHRwczpcL1wvd3d3LnNyYWdhLmN6XC93cC1jb250ZW50XC91cGxvYWRzXC8yMDI0XC8wNFwvZXhjaGFuZ2UtaHlicmlkLWR1cGxpY2F0ZWQtbWFpbGJveC0wOC5wbmcifQ%3D%3D">
							<img loading="lazy" decoding="async" width="768" height="331" src="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-08-768x331.png" class="attachment-medium_large size-medium_large wp-image-635" alt="Get-MsolUser" srcset="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-08-768x331.png 768w, https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-08-300x129.png 300w, https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-08.png 835w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-aa53796 elementor-widget elementor-widget-text-editor" data-id="aa53796" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>V <strong>Exchange Online</strong> si ověříme, že mailbox již neexistuje</p>								</div>
				</div>
				<div class="elementor-element elementor-element-471a7a5 elementor-widget elementor-widget-code-block-for-elementor" data-id="471a7a5" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-okaidia' data-show-toolbar='yes'><code class='language-powershell'>Get-mailbox jan.xxxx</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-47daee0 elementor-widget elementor-widget-image" data-id="47daee0" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-09-1024x118-1.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="exchange-hybrid-duplicated-mailbox-09-1024x118" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NjM0LCJ1cmwiOiJodHRwczpcL1wvd3d3LnNyYWdhLmN6XC93cC1jb250ZW50XC91cGxvYWRzXC8yMDI0XC8wNFwvZXhjaGFuZ2UtaHlicmlkLWR1cGxpY2F0ZWQtbWFpbGJveC0wOS0xMDI0eDExOC0xLnBuZyJ9">
							<img loading="lazy" decoding="async" width="768" height="89" src="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-09-1024x118-1-768x89.png" class="attachment-medium_large size-medium_large wp-image-634" alt="Exchange Online Get-mailbox" srcset="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-09-1024x118-1-768x89.png 768w, https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-09-1024x118-1-300x35.png 300w, https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-09-1024x118-1.png 1024w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-d18c234 elementor-widget elementor-widget-text-editor" data-id="d18c234" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Mailbox by měl nyní být ve stavu „<strong>SoftDeleted</strong>„</p>								</div>
				</div>
				<div class="elementor-element elementor-element-e0ae979 elementor-widget elementor-widget-code-block-for-elementor" data-id="e0ae979" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-okaidia' data-show-toolbar='yes'><code class='language-powershell'>Get-Mailbox jan.xxxx -SoftDeletedMailbox</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-b8471de elementor-widget elementor-widget-image" data-id="b8471de" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-10-1024x74-1.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="exchange-hybrid-duplicated-mailbox-10-1024x74" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NjQwLCJ1cmwiOiJodHRwczpcL1wvd3d3LnNyYWdhLmN6XC93cC1jb250ZW50XC91cGxvYWRzXC8yMDI0XC8wNFwvZXhjaGFuZ2UtaHlicmlkLWR1cGxpY2F0ZWQtbWFpbGJveC0xMC0xMDI0eDc0LTEucG5nIn0%3D">
							<img loading="lazy" decoding="async" width="768" height="56" src="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-10-1024x74-1-768x56.png" class="attachment-medium_large size-medium_large wp-image-640" alt="Get-Mailbox -SoftDeletedMailbox" srcset="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-10-1024x74-1-768x56.png 768w, https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-10-1024x74-1-300x22.png 300w, https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-10-1024x74-1.png 1024w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-1a36130 elementor-widget elementor-widget-text-editor" data-id="1a36130" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Nyní jsme ve stavu, kdy <strong>vazba mezi účty</strong> v Online a v on premises byla „<strong>vyčištěna</strong>“. Nyní může proběhnout další kolo synchronizace <a href="https://www.sraga.cz/category/azure-ad-entra-id/" target="_blank" rel="noopener">Entra Connect</a> (Azure Active Directory Connect). Objekt by měl být znovu načten z on-premises Active Directory (může to chvilku trvat – synchronizace probíhá každých 30 minut, jinak se dá aktuální nastavení zjistit pomocí příkazu „<a href="https://www.sraga.cz/uzitecne-prikazy-pro-azure-ad-connect-entra-connect/" target="_blank" rel="noopener"><strong>Get-ADSyncScheduler</strong></a>„)</p>								</div>
				</div>
				<div class="elementor-element elementor-element-0d02678 elementor-widget elementor-widget-code-block-for-elementor" data-id="0d02678" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-okaidia' data-show-toolbar='yes'><code class='language-powershell'>Get-MsolUser -UserPrincipalName jan.xxxxx@domena.cz</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-7877d58 elementor-widget elementor-widget-image" data-id="7877d58" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-11.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="exchange-hybrid-duplicated-mailbox-11" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NjM5LCJ1cmwiOiJodHRwczpcL1wvd3d3LnNyYWdhLmN6XC93cC1jb250ZW50XC91cGxvYWRzXC8yMDI0XC8wNFwvZXhjaGFuZ2UtaHlicmlkLWR1cGxpY2F0ZWQtbWFpbGJveC0xMS5wbmcifQ%3D%3D">
							<img loading="lazy" decoding="async" width="768" height="189" src="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-11-768x189.png" class="attachment-medium_large size-medium_large wp-image-639" alt="Get-Msoluser" srcset="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-11-768x189.png 768w, https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-11-300x74.png 300w, https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-11.png 832w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-f42453e elementor-widget elementor-widget-heading" data-id="f42453e" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Sloučení mailboxů</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-61d99c0 elementor-widget elementor-widget-text-editor" data-id="61d99c0" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Pro sloučení schránek je potřeba, aby oba mailboxy byly přítomny v Exchange Online.</p><p>Pokud je tedy vše <strong>v pořádku</strong>, může být účet migrován z on-premise do Exchange Online. Toto není povinný krok, ale je vhodné toto provést v případě, kdy chceme <strong>propojit oba mailboxy</strong>.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-ff03d7e elementor-widget elementor-widget-image" data-id="ff03d7e" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-12.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="exchange-hybrid-duplicated-mailbox-12" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NjM4LCJ1cmwiOiJodHRwczpcL1wvd3d3LnNyYWdhLmN6XC93cC1jb250ZW50XC91cGxvYWRzXC8yMDI0XC8wNFwvZXhjaGFuZ2UtaHlicmlkLWR1cGxpY2F0ZWQtbWFpbGJveC0xMi5wbmcifQ%3D%3D">
							<img loading="lazy" decoding="async" width="504" height="207" src="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-12.png" class="attachment-medium_large size-medium_large wp-image-638" alt="Migrate to Exchange Online" srcset="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-12.png 504w, https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-12-300x123.png 300w" sizes="(max-width: 504px) 100vw, 504px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-10b5443 elementor-widget elementor-widget-text-editor" data-id="10b5443" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Průběh migrace lze sledovat také přes powershell. Informaci o tom, že byla migrace dokončena tak získáte zpravidla dříve, než přes ECP rozhraní. Stačí použít příkaz:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-7fc871b elementor-widget elementor-widget-code-block-for-elementor" data-id="7fc871b" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-okaidia' data-show-toolbar='yes'><code class='language-powershell'>Get-MigrationUserStatistics -Identity jan.xxxxx@domena.cz -IncludeReport | Format-List Status,Error,Report</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-159cd4d elementor-widget elementor-widget-text-editor" data-id="159cd4d" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Jakmile je migrace dokončena, v Exchange Online se objeví objekt (mailbox). Ve stavu „před sychnronizací“ mailbox neexistuje (viz obrázek níže)</p>								</div>
				</div>
				<div class="elementor-element elementor-element-6e303a4 elementor-widget elementor-widget-code-block-for-elementor" data-id="6e303a4" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-okaidia' data-show-toolbar='yes'><code class='language-powershell'>Get-Mailbox jan.xxxx</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-4a7b5c0 elementor-widget elementor-widget-image" data-id="4a7b5c0" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="900" height="186" src="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-14-1024x212-1.png" class="attachment-large size-large wp-image-641" alt="Get-mailbox" srcset="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-14-1024x212-1.png 1024w, https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-14-1024x212-1-300x62.png 300w, https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-14-1024x212-1-768x159.png 768w" sizes="(max-width: 900px) 100vw, 900px" />															</div>
				</div>
				<div class="elementor-element elementor-element-489bbf8 elementor-widget elementor-widget-text-editor" data-id="489bbf8" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Pro dokončení obnovy mailboxu (spojení mailboxů za účelem zachování e-mailových zpráv), bude potřeba znát <strong>ExchaneGUID migrovaného mailboxu</strong>.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-e01f19b elementor-widget elementor-widget-code-block-for-elementor" data-id="e01f19b" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-okaidia' data-show-toolbar='yes'><code class='language-powershell'>Get-Mailbox jan.xxxx | Select-Object exchangeGUID</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-f91bc39 elementor-widget elementor-widget-text-editor" data-id="f91bc39" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>A také bude potřeba <strong>ExchangeGUID mailboxu</strong>, který je v režimu „<strong>SoftDeleted</strong>“ – toto GUID jsme si poznačili na začátku postupu.</p><p>V tuto chvíli přiřaďte uživateli zpět licenci Office 365 (aby měl zalicencovaný mailbox)</p><p><strong>Pokud známe obě ID</strong>, můžeme zahájit proces spojení mailboxů:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-f1a11ec elementor-widget elementor-widget-code-block-for-elementor" data-id="f1a11ec" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-okaidia' data-show-toolbar='yes'><code class='language-powershell'>New-MailboxRestoreRequest -SourceMailbox [ExchangeGUID kter&eacute; jsme si uložili] -TargetMailbox [ExchangeGUID mailboxu v Exchange Online] &ndash;AllowLegacyDNMismatch</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-9a94111 elementor-widget elementor-widget-image" data-id="9a94111" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-15-1024x179-1.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="exchange-hybrid-duplicated-mailbox-15-1024x179" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NjQ2LCJ1cmwiOiJodHRwczpcL1wvd3d3LnNyYWdhLmN6XC93cC1jb250ZW50XC91cGxvYWRzXC8yMDI0XC8wNFwvZXhjaGFuZ2UtaHlicmlkLWR1cGxpY2F0ZWQtbWFpbGJveC0xNS0xMDI0eDE3OS0xLnBuZyJ9">
							<img loading="lazy" decoding="async" width="768" height="134" src="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-15-1024x179-1-768x134.png" class="attachment-medium_large size-medium_large wp-image-646" alt="New-MailboxRestoreRequest" srcset="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-15-1024x179-1-768x134.png 768w, https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-15-1024x179-1-300x52.png 300w, https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-15-1024x179-1.png 1024w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-6f0b336 elementor-widget elementor-widget-text-editor" data-id="6f0b336" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Průběžně lze kontrolovat stav pomocí příkazu „get-mailboxRestoreRequest„, kdy sloupec status může obsahovat 3 stavy: Queued, InProgress a Completed nebo Failed</p>								</div>
				</div>
				<div class="elementor-element elementor-element-87ae0ab elementor-alert-warning elementor-widget elementor-widget-alert" data-id="87ae0ab" data-element_type="widget" data-widget_type="alert.default">
				<div class="elementor-widget-container">
							<div class="elementor-alert" role="alert">

						<span class="elementor-alert-title">Upozornění</span>
			
						<span class="elementor-alert-description">Pokud příkaz skončí chybou, zkuste přidat parametr -TargetFolder „CilovaSlozka“ – zprávy ze Soft deleted mailboxu se obnoví do této složky. Pokud to nepomůže, podívejte se níže na řešení případných problémů. </span>
			
			
		</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-b23377f elementor-alert-info elementor-widget elementor-widget-alert" data-id="b23377f" data-element_type="widget" data-widget_type="alert.default">
				<div class="elementor-widget-container">
							<div class="elementor-alert" role="alert">

						<span class="elementor-alert-title">Informace</span>
			
						<span class="elementor-alert-description">Pokud se Vám dlouho zobrazoval status „InProgress“ a nakonec restore zkočil „Failed“ – ověřte přímo v mailboxu, jestli zprávy náhodou nebyli obnoveny, setkal jsem se s případem, kdy takový restore skončil jako „Failed“, ale uživatel potvrdil, že zprávy má ve schránce jak z Office 365 tak s Exchange On-premise“</span>
			
			
		</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-39780c1 elementor-widget elementor-widget-text-editor" data-id="39780c1" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Pokud je vše v pořádku a příkaz doběhl do stavu Completed, máte téměř hotovo. Nyní již stačí jen provést migraci schránky zpět z Exchange Online do Exchange On-premises (pokud je to potřeba).</p>								</div>
				</div>
				<div class="elementor-element elementor-element-a917b31 elementor-widget elementor-widget-heading" data-id="a917b31" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Řešení možných problémů</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-70b7936 elementor-widget elementor-widget-heading" data-id="70b7936" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h6 class="elementor-heading-title elementor-size-default">Problém #1: Příkaz New-MailboxRestoreRequest neustále končí chybou</h6>				</div>
				</div>
				<div class="elementor-element elementor-element-cce382d elementor-widget elementor-widget-text-editor" data-id="cce382d" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Pokud zprávy ve schránce prostě nejsou, je třeba jít štěstí trochu naproti. S tímto problémem jsme se setkali a přímo jsme jej nevyřešili, ale našli jsme „obezličku“, která sice nemusí úplně všem vyhovovat, ale pro naše potřeby byla zcela dostačující.</p><p>E-maily obnovíme do sdíleného mailboxu, který vytvoříme příkazem:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-d926406 elementor-widget elementor-widget-code-block-for-elementor" data-id="d926406" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-okaidia' data-show-toolbar='yes'><code class='language-powershell'>$NameSharedMailbox = &quot;jan_xxx_shared&quot;

New-Mailbox -Shared -Name $NameSharedMailbox -DisplayName $NameSharedMailbox -Alias $NameSharedMailbox</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-38c3bbc elementor-widget elementor-widget-image" data-id="38c3bbc" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-16-1024x181-1.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="exchange-hybrid-duplicated-mailbox-16-1024x181" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NjQ1LCJ1cmwiOiJodHRwczpcL1wvd3d3LnNyYWdhLmN6XC93cC1jb250ZW50XC91cGxvYWRzXC8yMDI0XC8wNFwvZXhjaGFuZ2UtaHlicmlkLWR1cGxpY2F0ZWQtbWFpbGJveC0xNi0xMDI0eDE4MS0xLnBuZyJ9">
							<img loading="lazy" decoding="async" width="768" height="136" src="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-16-1024x181-1-768x136.png" class="attachment-medium_large size-medium_large wp-image-645" alt="New-Mailbox" srcset="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-16-1024x181-1-768x136.png 768w, https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-16-1024x181-1-300x53.png 300w, https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-16-1024x181-1.png 1024w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-b9fe884 elementor-widget elementor-widget-text-editor" data-id="b9fe884" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Následně si do proměnné uložíme GUID tohoto mailboxu</p>								</div>
				</div>
				<div class="elementor-element elementor-element-bb6a737 elementor-widget elementor-widget-code-block-for-elementor" data-id="bb6a737" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-okaidia' data-show-toolbar='yes'><code class='language-powershell'>$ShareMailboxGetGUID = Get-Mailbox -Identity $NameSharedMailbox</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-b8e9cad elementor-widget elementor-widget-text-editor" data-id="b8e9cad" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Provedeme <strong>restore Soft Deleted Mailboxu</strong> stejným způsobem, jako jsme se pokoušeli dříve, ale nyní restore provedeme do vytvořeného sdíleného mailboxu.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-cebc1e4 elementor-widget elementor-widget-code-block-for-elementor" data-id="cebc1e4" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-okaidia' data-show-toolbar='yes'><code class='language-powershell'>New-MailboxRestoreRequest -SourceMailbox  [ExchangeGUID kter&eacute; jsme si uložili]   -TargetMailbox $ShareMailboxGetGUID.PrimarySmtpAddress -AllowLegacyDNMismatch -Verbose</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-b6f055f elementor-widget elementor-widget-image" data-id="b6f055f" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-17-1024x229-1.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="exchange-hybrid-duplicated-mailbox-17-1024x229" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NjQ0LCJ1cmwiOiJodHRwczpcL1wvd3d3LnNyYWdhLmN6XC93cC1jb250ZW50XC91cGxvYWRzXC8yMDI0XC8wNFwvZXhjaGFuZ2UtaHlicmlkLWR1cGxpY2F0ZWQtbWFpbGJveC0xNy0xMDI0eDIyOS0xLnBuZyJ9">
							<img loading="lazy" decoding="async" width="768" height="172" src="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-17-1024x229-1-768x172.png" class="attachment-medium_large size-medium_large wp-image-644" alt="Get-mailboxrestorerequest" srcset="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-17-1024x229-1-768x172.png 768w, https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-17-1024x229-1-300x67.png 300w, https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-17-1024x229-1.png 1024w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-8b5010c elementor-widget elementor-widget-text-editor" data-id="8b5010c" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Obnova schránky by měla proběhnout bez problémů.</p><p>Nyní máte dvě možnosti<br />1) Připojit uživateli sdílený mailbox a zprávy přesunour ručně, nebo<br />2) Zkopírovat zprávy ze sdíleného mailboxu do mailboxu uživatele (do složky „Zaloha“)</p>								</div>
				</div>
				<div class="elementor-element elementor-element-5620bc3 elementor-widget elementor-widget-code-block-for-elementor" data-id="5620bc3" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-okaidia' data-show-toolbar='yes'><code class='language-powershell'>Search-Mailbox jan_malat_shared@cspsd.cz  -TargetMailbox jan.xxxx@domena.cz -TargetFolder &quot;Zaloha&quot; -LogLevel Full</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-5c24b10 elementor-widget elementor-widget-image" data-id="5c24b10" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-18-1024x393-1.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="exchange-hybrid-duplicated-mailbox-18-1024x393" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NjQzLCJ1cmwiOiJodHRwczpcL1wvd3d3LnNyYWdhLmN6XC93cC1jb250ZW50XC91cGxvYWRzXC8yMDI0XC8wNFwvZXhjaGFuZ2UtaHlicmlkLWR1cGxpY2F0ZWQtbWFpbGJveC0xOC0xMDI0eDM5My0xLnBuZyJ9">
							<img loading="lazy" decoding="async" width="768" height="295" src="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-18-1024x393-1-768x295.png" class="attachment-medium_large size-medium_large wp-image-643" alt="Search-Mailbox" srcset="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-18-1024x393-1-768x295.png 768w, https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-18-1024x393-1-300x115.png 300w, https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-18-1024x393-1.png 1024w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-186143a elementor-widget elementor-widget-heading" data-id="186143a" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h6 class="elementor-heading-title elementor-size-default">Problém #2: „Doručení těmto příjemcům nebo skupinám se nepodařilo“</h6>				</div>
				</div>
				<div class="elementor-element elementor-element-3ac8db7 elementor-widget elementor-widget-text-editor" data-id="3ac8db7" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Při pokusu o doručení zprávy příjemci v rámci domény se vrátí (ne)doručenka s chybou:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-d08bdd5 elementor-widget elementor-widget-code-block-for-elementor" data-id="d08bdd5" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-okaidia' data-show-toolbar='yes'><code class='language-powershell'>E-mailovou adresu, kterou jste zadali, se nepovedlo naj&iacute;t. Zkontrolujte si pros&iacute;m e-mailovou adresu př&iacute;jemce a zkuste zpr&aacute;vu poslat znovu. Pokud s t&iacute;m budou d&aacute;l probl&eacute;my, kontaktujte pros&iacute;m sv&eacute;ho spr&aacute;vce e-mailu. 

Diagnostick&eacute; informace pro spr&aacute;vce: Server pro generov&aacute;n&iacute;: EXxxx.adds.xxxx.cz IMCEAEX-_o=XXXXXX_ou=Exchange+20Administrative+20Group+20+28FYDIBOHF23SPDLT+29_cn=Recipients_cn=7e7d3xxxxxxxxxxxxb702e7d69a663e-Jxxxxxxxx+20Xxxxxxxx@xxxxxxxx.cz Remote Server returned &#039;550 5.1.11 RESOLVER.ADR.ExRecipNotFound; Recipient not found by Exchange Legacy encapsulated email address lookup&#039;</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-a3bfc8e elementor-widget elementor-widget-image" data-id="a3bfc8e" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-19.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="exchange-hybrid-duplicated-mailbox-19" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6NjQyLCJ1cmwiOiJodHRwczpcL1wvd3d3LnNyYWdhLmN6XC93cC1jb250ZW50XC91cGxvYWRzXC8yMDI0XC8wNFwvZXhjaGFuZ2UtaHlicmlkLWR1cGxpY2F0ZWQtbWFpbGJveC0xOS5wbmcifQ%3D%3D">
							<img loading="lazy" decoding="async" width="768" height="329" src="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-19-768x329.png" class="attachment-medium_large size-medium_large wp-image-642" alt="Doručení těmto příjemcům nebo skupinám se nepodařilo" srcset="https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-19-768x329.png 768w, https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-19-300x128.png 300w, https://www.sraga.cz/wp-content/uploads/2024/04/exchange-hybrid-duplicated-mailbox-19.png 941w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-35038a7 elementor-widget elementor-widget-text-editor" data-id="35038a7" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Tato chyba se vyskytuje pouze v případě, kdy odesílatel zprávy použil aplikaci Microsoft Outlook a vybral adresáta z našeptávače. Zde je v cache uloženo tzv „<strong>LegacyExchangeDN</strong>„, které odkazuje na původní ID mailové schránky (slučovali jsme 2 schránky do jedné). Náprava je jednoduchá – do e-mailových adres u daného uživatele <strong>přidat (stávající nechat, nic neměnit)</strong> parametr X500, který bude obsahovat právě zmíněné původní <strong>LegacyExchangeDN</strong> (viz. informace z parametru EmailAddresses, které jste si uložili na začátku).</p><p>Více informací a postup je zpracován zde: <a href="https://support.microsoft.com/en-gb/help/2807779/imceaex-non-delivery-report-when-sending-emails-to-internal-users" target="_blank" rel="noopener">https://support.microsoft.com/en-gb/help/2807779/imceaex-non-delivery-report-when-sending-emails-to-internal-users</a></p>								</div>
				</div>
					</div>
				</div>
				</div>
		]]></content:encoded>
					
					<wfw:commentRss>https://www.sraga.cz/exchange-hybrid-deployment-jak-opravit-duplikovane-mailboxy/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
