<?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>Miroslav Šraga &#8211; Miroslav Šraga</title>
	<atom:link href="https://www.sraga.cz/author/clp-admin/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>Mon, 26 Jan 2026 12:05:33 +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>Kvalita signálu LTE: Jak číst a rozumět hodnotám signálu</title>
		<link>https://www.sraga.cz/kvalita-signalu-lte/</link>
					<comments>https://www.sraga.cz/kvalita-signalu-lte/#respond</comments>
		
		<dc:creator><![CDATA[Miroslav Šraga]]></dc:creator>
		<pubDate>Mon, 26 Jan 2026 12:05:33 +0000</pubDate>
				<category><![CDATA[Správa IT]]></category>
		<category><![CDATA[CQI]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[LTE]]></category>
		<category><![CDATA[Mikrotik]]></category>
		<category><![CDATA[modem]]></category>
		<category><![CDATA[RSRP]]></category>
		<category><![CDATA[RSRQ]]></category>
		<category><![CDATA[RSSI]]></category>
		<category><![CDATA[signál]]></category>
		<category><![CDATA[SINR]]></category>
		<guid isPermaLink="false">https://www.sraga.cz/?p=875</guid>

					<description><![CDATA[Obsah &#160; Mobilní sítě LTE jsou nedílnou součástí našeho každodenního života a kvalita signálu, kterou přijímáme na našich zařízeních, může mít zásadní vliv na rychlost a stabilitu připojení. Je třeba si uvědomit, že s mobilním signálem se nesetkáváme jen při používání našich telefonů a tabletů, ale také v průmyslových zařízeních, routerech nebo na záložních či ... <a title="Kvalita signálu LTE: Jak číst a rozumět hodnotám signálu" class="read-more" href="https://www.sraga.cz/kvalita-signalu-lte/" aria-label="Číst více o Kvalita signálu LTE: Jak číst a rozumět hodnotám signálu">Číst dál</a>]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="875" class="elementor elementor-875" data-elementor-post-type="post">
				<div class="elementor-element elementor-element-233e196 e-flex e-con-boxed e-con e-parent" data-id="233e196" data-element_type="container">
					<div class="e-con-inner">
				<div class="elementor-element elementor-element-f7562fb elementor-toc--minimized-on-tablet elementor-widget elementor-widget-table-of-contents" data-id="f7562fb" 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__f7562fb" 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__f7562fb" 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__f7562fb" 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-0a8b830 elementor-widget elementor-widget-text-editor" data-id="0a8b830" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Mobilní sítě LTE jsou nedílnou součástí našeho každodenního života a kvalita signálu, kterou přijímáme na našich zařízeních, může mít zásadní vliv na rychlost a stabilitu připojení. Je třeba si uvědomit, že s mobilním signálem se nesetkáváme jen při používání našich telefonů a tabletů, ale také v průmyslových zařízeních, routerech nebo na záložních či dohledových linkách. Pro lepší pochopení kvality LTE signálu je důležité znát a porozumět několika klíčovým parametrům, které jsou běžně měřeny a vyhodnocovány. Patří mezi ně <strong>síla signálu, RSRP, RSSI, RSRQ, SINR a CQI</strong>. Pojďme si je vysvětlit podrobněji.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-c3f86e1 elementor-widget elementor-widget-heading" data-id="c3f86e1" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Síla signálu</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-b8f82f5 elementor-widget elementor-widget-text-editor" data-id="b8f82f5" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Síla signálu vyjadřuje intenzitu elektromagnetické vlny, která přichází z vysílače k vašemu zařízení. Čím silnější je signál, tím lepší je možnost navázání a udržení stabilního spojení. V LTE síti se síla signálu obvykle měří pomocí <strong>RSRP</strong> a <strong>RSSI</strong>.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-118ac9d elementor-widget elementor-widget-heading" data-id="118ac9d" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">RSRP (Reference Signal Received Power)</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-cd2aefb elementor-widget elementor-widget-text-editor" data-id="cd2aefb" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>RSRP představuje <strong>sílu přijímaného referenčního signálu</strong> a je jedním z nejdůležitějších parametrů pro hodnocení kvality LTE signálu. Hodnoty RSRP jsou vyjádřeny v dBm (decibelech vůči 1 mW) a pohybují se v záporných číslech. <strong>Vyšší</strong> (méně záporná) <strong>hodnota</strong> znamená <strong>lepší sílu signálu</strong>.</p><p>Dobré hodnoty: -80 dBm a vyšší<br />Přijatelné hodnoty: -80 dBm až -100 dBm<br />Špatné hodnoty: pod -100 dBm</p>								</div>
				</div>
				<div class="elementor-element elementor-element-f6162fc elementor-widget elementor-widget-heading" data-id="f6162fc" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">RSSI (Received Signal Strength Indicator)</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-a6da045 elementor-widget elementor-widget-text-editor" data-id="a6da045" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>RSSI měří <strong>celkovou úroveň přijímaného signálu včetně šumu</strong> a interferencí. V LTE síti má RSSI menší význam než RSRP, ale stále poskytuje cenné informace o celkové intenzitě signálu. Čím <strong>vyšší</strong> je hodnota RSSI, tím <strong>lepší</strong> je kvalita signálu, ale také záleží na tom, jaký podíl z této hodnoty tvoří šum.</p><p>Dobré hodnoty: -65 dBm a vyšší<br />Přijatelné hodnoty: -65 dBm až -85 dBm<br />Špatné hodnoty: pod -85 dBm</p>								</div>
				</div>
				<div class="elementor-element elementor-element-9d6c439 elementor-widget elementor-widget-heading" data-id="9d6c439" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">RSRQ (Reference Signal Received Quality)</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-a109a03 elementor-widget elementor-widget-text-editor" data-id="a109a03" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>RSRQ představuje <strong>kvalitu referenčního signálu</strong> a je klíčové pro hodnocení interferencí a <strong>rušení v síti</strong>. RSRQ bere v úvahu nejen sílu signálu, ale i množství rušení v okolí. <strong>Vyšší</strong> hodnoty znamenají <strong>lepší</strong> kvalitu signálu.</p><p>Dobré hodnoty: -10 dB a vyšší<br />Přijatelné hodnoty: -10 dB až -15 dB<br />Špatné hodnoty: pod -15 dB</p>								</div>
				</div>
				<div class="elementor-element elementor-element-f38eb58 elementor-widget elementor-widget-heading" data-id="f38eb58" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">SINR (Signal to Interference and Noise Ratio)</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-4a59b32 elementor-widget elementor-widget-text-editor" data-id="4a59b32" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>SINR je <strong>poměr mezi užitečným signálem a šumem</strong> či interferencemi v síti. <strong>Vysoké hodnoty</strong> SINR znamenají, že signál má <strong>malý podíl rušení</strong>, což vede k vyšší stabilitě a rychlosti přenosu dat.</p><p>Dobré hodnoty: 20 dB a vyšší<br />Přijatelné hodnoty: 13 dB až 20 dB<br />Špatné hodnoty: pod 13 dB</p>								</div>
				</div>
				<div class="elementor-element elementor-element-0a13a36 elementor-widget elementor-widget-heading" data-id="0a13a36" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">CQI (Channel Quality Indicator)</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-4e2851a elementor-widget elementor-widget-text-editor" data-id="4e2851a" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>CQI je indikátor <strong>kvality kanálu</strong>, který zařízení používá <strong>pro komunikaci</strong>. Na základě této hodnoty se určuje, jaké modulace a kódování může síť používat pro efektivní přenos dat. <strong>Vyšší hodnoty</strong> CQI znamenají <strong>lepší kvalitu</strong> přenosu a vyšší rychlosti.</p><p>Dobré hodnoty: 7 a vyšší<br />Přijatelné hodnoty: 4 až 6<br />Špatné hodnoty: pod 4</p>								</div>
				</div>
				<div class="elementor-element elementor-element-24cdb35 elementor-widget elementor-widget-heading" data-id="24cdb35" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Přehledová tabulka hodnot</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-c805cc5 elementor-widget elementor-widget-text-editor" data-id="c805cc5" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<table width="409"><tbody><tr><td width="64"><strong>Parametr</strong></td><td width="102"><strong>Dobré hodnoty</strong></td><td width="136"><strong>Přijatelné hodnoty</strong></td><td width="107"><strong>Špatné hodnoty</strong></td></tr><tr><td width="64"><strong>RSRP</strong></td><td width="102">-80 dBm a vyšší</td><td width="136">-80 dBm až -100 dBm</td><td width="107">pod -100 dBm</td></tr><tr><td width="64"><strong>RSSI</strong></td><td width="102">-65 dBm a vyšší</td><td width="136">-65 dBm až -85 dBm</td><td width="107">pod -85 dBm</td></tr><tr><td width="64"><strong>RSRQ</strong></td><td width="102">-10 dB a vyšší</td><td width="136">-10 dB až -15 dB</td><td width="107">pod -15 dB</td></tr><tr><td width="64"><strong>SINR</strong></td><td width="102">20 dB a vyšší</td><td width="136">13 dB až 20 dB</td><td width="107">pod 13 dB</td></tr><tr><td width="64"><strong>CQI</strong></td><td width="102">7 a vyšší</td><td width="136">4 až 6</td><td width="107">pod 4</td></tr></tbody></table>								</div>
				</div>
				<div class="elementor-element elementor-element-30c82ee elementor-widget elementor-widget-heading" data-id="30c82ee" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Závěr</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-320edca elementor-widget elementor-widget-text-editor" data-id="320edca" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Kvalita LTE signálu je ovlivněna několika parametry, jako jsou RSRP, RSSI, RSRQ, SINR a CQI. Každý z těchto parametrů přináší specifické informace o síle, kvalitě a stabilitě signálu, které jsou klíčové pro optimalizaci připojení. Ideální je, když jsou všechny hodnoty ve výše zmíněných &#8222;dobrých&#8220; rozmezích, což zajistí rychlé a spolehlivé připojení. Pokud zaznamenáváte špatný signál, může pomoci přiblížení se k vysílači nebo použití externí antény. Další informace o indikátorech kvality LTE v modemech se můžete dočít také v <a href="https://support.zyxel.eu/hc/cs/articles/360005188999-Kvalita-sign%C3%A1lu-LTE-5G-parametry-kvality-sign%C3%A1lu-LTE-a-5G#01H92WFF8W9PTTF1MVKP484PMA" target="_blank" rel="noopener">tomto článku</a>.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-4fdfb6f elementor-widget elementor-widget-heading" data-id="4fdfb6f" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Další Externí zdroje</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-8e9d1d1 elementor-widget elementor-widget-text-editor" data-id="8e9d1d1" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<ul><li><a href="https://ictis.cz/rssi-rsrp-rsrq-sinr-kvalita-signalu-podrobne/" target="_blank" rel="noopener">RSSI RSRP RSRQ SINR CQI kvalita bezdrátu čili signálu podrobně</a></li><li><a href="https://www.alza.cz/co-je-lte" target="_blank" rel="noopener">Co je LTE?</a></li><li><a href="https://vyvoj.hw.cz/testovani-a-mereni/mereni-vykonove-urovne-v-lte-systemech.html" target="_blank" rel="noopener">Měření výkonové úrovně v LTE systémech</a></li></ul>								</div>
				</div>
					</div>
				</div>
				</div>
		]]></content:encoded>
					
					<wfw:commentRss>https://www.sraga.cz/kvalita-signalu-lte/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<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>Raspberry PI &#8211; L2TP VPN over IPsec + PSK (Mikrotik)</title>
		<link>https://www.sraga.cz/raspberry-pi-l2tp-vpn-over-ipsec-psk-mikrotik/</link>
					<comments>https://www.sraga.cz/raspberry-pi-l2tp-vpn-over-ipsec-psk-mikrotik/#respond</comments>
		
		<dc:creator><![CDATA[Miroslav Šraga]]></dc:creator>
		<pubDate>Sun, 18 Jan 2026 11:32:17 +0000</pubDate>
				<category><![CDATA[Správa IT]]></category>
		<category><![CDATA[IPsec]]></category>
		<category><![CDATA[L2TP]]></category>
		<category><![CDATA[Mikrotik]]></category>
		<category><![CDATA[Raspberry]]></category>
		<category><![CDATA[VPN]]></category>
		<guid isPermaLink="false">https://www.sraga.cz/?p=1420</guid>

					<description><![CDATA[Nastala potřeba navázat persistentní VPN z prostředí Raspberry Pi (Dekstop) vůči Mikrotik L2TP VPN s IPsec a předsdíleným klíčem. Za normálních okolností by se nabízelo použití Wireguard VPN nebo OpenVPN, nicméně v tomto případě jsem limitován pouze možností použít L2TP. Je tedy potřeba nastavit &#8222;Raspberry Pi L2TP/IPsec Always‑On VPN Client&#8220; Obsah Cílem návodu je Plně ... <a title="Raspberry PI &#8211; L2TP VPN over IPsec + PSK (Mikrotik)" class="read-more" href="https://www.sraga.cz/raspberry-pi-l2tp-vpn-over-ipsec-psk-mikrotik/" aria-label="Číst více o Raspberry PI &#8211; L2TP VPN over IPsec + PSK (Mikrotik)">Číst dál</a>]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="1420" class="elementor elementor-1420" data-elementor-post-type="post">
				<div class="elementor-element elementor-element-8226ddf e-flex e-con-boxed e-con e-parent" data-id="8226ddf" data-element_type="container">
					<div class="e-con-inner">
				<div class="elementor-element elementor-element-01fa021 elementor-widget elementor-widget-text-editor" data-id="01fa021" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Nastala potřeba navázat persistentní VPN z prostředí Raspberry Pi (Dekstop) vůči Mikrotik L2TP VPN s IPsec a předsdíleným klíčem. Za normálních okolností by se nabízelo použití Wireguard VPN nebo OpenVPN, nicméně v tomto případě jsem limitován pouze možností použít L2TP.</p><p>Je tedy potřeba nastavit &#8222;Raspberry Pi L2TP/IPsec <strong>Always‑On</strong> VPN Client&#8220;</p>								</div>
				</div>
				<div class="elementor-element elementor-element-ae32391 elementor-toc--minimized-on-tablet elementor-widget elementor-widget-table-of-contents" data-id="ae32391" 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__ae32391" 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__ae32391" 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__ae32391" 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-06a8e9a elementor-widget elementor-widget-heading" data-id="06a8e9a" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Cílem návodu je</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-af0e61a elementor-widget elementor-widget-text-editor" data-id="af0e61a" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<ul><li>Plně automatický VPN klient s automatickou opravou</li><li>Automaticky se připojuje při spuštění</li><li>Znovu se připojuje v případě výpadku IP, přerušení L2TP, selhání PPP nebo restartu MikroTiku</li><li>Routy, které se aktivují pouze při spuštění ppp0</li><li>IPsec je vždy spouštěn jako první</li><li>Čistá, stabilní a funkční konfigurace</li></ul><p>Ačkoliv účelem je VPN klient, který se napojuje na zařízení Mikrotik, postup by měl být funkční také pro Windows RRAS, WatchGuard, Draytek, UniFi, Zyxel případně jakýkoliv y L2TP/IPsec PSK server.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-5aac2f1 elementor-widget elementor-widget-heading" data-id="5aac2f1" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Instalace potřebných balíčků</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-3202a10 elementor-widget elementor-widget-code-block-for-elementor" data-id="3202a10" 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-bash'>#  Install required packages

sudo apt update 

sudo apt install strongswan strongswan-starter xl2tpd </code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-e1d6ace elementor-widget elementor-widget-heading" data-id="e1d6ace" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Konfigurace IPsec (strongSwan)</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-44a9792 elementor-widget elementor-widget-code-block-for-elementor" data-id="44a9792" 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-bash'>#  Configure IPsec (strongSwan)

sudo nano /etc/ipsec.conf</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-5c763c5 elementor-widget elementor-widget-text-editor" data-id="5c763c5" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Do textového editoru vložte tyto údaje:</p><p><strong>YOUR_VPN_SERVER_IP</strong> &#8211; Tento text nahraďte veřejnou IP adresou vašeho VPN serveru</p>								</div>
				</div>
				<div class="elementor-element elementor-element-f736d98 elementor-widget elementor-widget-code-block-for-elementor" data-id="f736d98" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-default' data-show-toolbar='yes'><code class='language-bash'>config setup
    charondebug=&quot;ike 1, knl 1, cfg 0&quot;

conn L2TP-VPN
    keyexchange=ikev1
    ike=aes256-sha1-modp1024,aes128-sha1-modp1024,3des-sha1-modp1024!
    esp=aes256-sha1,aes128-sha1,3des-sha1!
    type=transport
    authby=secret
    forceencaps=yes

    left=%defaultroute
    leftprotoport=17/1701
    right=YOUR_VPN_SERVER_IP
    rightprotoport=17/1701

    dpdaction=restart
    dpddelay=30s
    auto=add</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-78b56e4 elementor-widget elementor-widget-heading" data-id="78b56e4" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">IPsec předsdílený klíč (PSK)</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-4d344c1 elementor-widget elementor-widget-code-block-for-elementor" data-id="4d344c1" 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-bash'>#Create the IPsec PSK 

sudo nano /etc/ipsec.secrets
</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-4969fb9 elementor-widget elementor-widget-text-editor" data-id="4969fb9" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Do textového editoru vložte tyto údaje:</p><p><strong>YOUR_VPN_SERVER_IP</strong> &#8211; Tento text nahraďte veřejnou IP adresou vašeho VPN serveru</p><p><strong>YOUR_PSK</strong> &#8211; Tento text nahraďte předsdíleným klíčem</p>								</div>
				</div>
				<div class="elementor-element elementor-element-8cd337f elementor-widget elementor-widget-code-block-for-elementor" data-id="8cd337f" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-default' data-show-toolbar='yes'><code class='language-bash'>%any YOUR_VPN_SERVER_IP : PSK &quot;YOUR_PSK&quot;</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-c2cc5b0 elementor-widget elementor-widget-text-editor" data-id="c2cc5b0" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Obsah souboru bude vypadat například takto:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-0fa010b elementor-widget elementor-widget-code-block-for-elementor" data-id="0fa010b" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-default' data-show-toolbar='yes'><code class='language-bash'>%any 1.2.3.4 : PSK &quot;8a9x6C2WBktR3PmNjmWW&quot;</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-3f20fea elementor-widget elementor-widget-heading" data-id="3f20fea" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Nastavení L2TP (xl2tpd) – Client (LAC) Mode</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-6625254 elementor-widget elementor-widget-code-block-for-elementor" data-id="6625254" 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-bash'># Configure L2TP (xl2tpd) &ndash; Client (LAC) Mode

sudo nano /etc/xl2tpd/xl2tpd.conf</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-36a2498 elementor-widget elementor-widget-text-editor" data-id="36a2498" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Do textového editoru vložte tyto údaje:</p><p><strong>YOUR_VPN_SERVER_IP</strong> &#8211; Tento text nahraďte veřejnou IP adresou vašeho VPN serveru</p><p><strong>L2TP-VPN</strong> &#8211; název vašeho VPN rozhraní (identifikace). Tento údaj lze změnit, ale je potřeba následně dále v konfiguraci používat stejné označení</p>								</div>
				</div>
				<div class="elementor-element elementor-element-ee24f8a elementor-widget elementor-widget-code-block-for-elementor" data-id="ee24f8a" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-default' data-show-toolbar='yes'><code class='language-bash'>[global]
port = 1701

[lac L2TP-VPN]
lns = YOUR_VPN_SERVER_IP
pppoptfile = /etc/ppp/options.l2tpd.client
autodial = yes
redial = yes
redial timeout = 15
length bit = yes
ppp debug = yes</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-edca916 elementor-widget elementor-widget-heading" data-id="edca916" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Konfigurace PPP (MS‑CHAPv2)</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-5b35e2c elementor-widget elementor-widget-code-block-for-elementor" data-id="5b35e2c" 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-bash'># Configure PPP (MS‑CHAPv2)

sudo nano /etc/xl2tpd/xl2tpd.confsudo nano /etc/ppp/options.l2tpd.client</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-dd2940b elementor-widget elementor-widget-text-editor" data-id="dd2940b" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Do textového editoru vložte tyto údaje:</p><p><strong>YOUR_USERNAME</strong> &#8211; Tento text reprezentuje uživatelské jméno pro přihlášení k VPN. Nahraďte jej tedy uživatelským jménem. Pro správné fungování je potřeba toto jméno vyplnit  na řádku &#8222;name&#8220; i &#8222;user&#8220;.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-d9f43fe elementor-widget elementor-widget-code-block-for-elementor" data-id="d9f43fe" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-default' data-show-toolbar='yes'><code class='language-bash'>noauth

name YOUR_USERNAME
user YOUR_USERNAME

refuse-pap
refuse-chap
refuse-mschap
refuse-eap

mtu 1350
mru 1350

hide-password
persist
nodefaultroute
usepeerdns

lcp-echo-interval 20
lcp-echo-failure 5
debug
dump</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-3f48a9c elementor-widget elementor-widget-heading" data-id="3f48a9c" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Přidání hesla (CHAP)</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-4b3c88a elementor-widget elementor-widget-text-editor" data-id="4b3c88a" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Lze použít textový editor vyvolaný příkazem sudo nano, nebo jednorázově přidat údaje rovnou z příkazového řádku.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-ce26c15 elementor-widget elementor-widget-code-block-for-elementor" data-id="ce26c15" 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-bash'># Option 1 - edit file

sudo nano /etc/ppp/chap-secrets </code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-7a4f8ed elementor-widget elementor-widget-text-editor" data-id="7a4f8ed" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Do textového editoru vložte tyto údaje:</p><p><strong>YOUR_USERNAME</strong> &#8211; Tento text reprezentuje uživatelské jméno pro přihlášení k VPN. Nahraďte jej tedy uživatelským jménem.</p><p><strong>YOUR_PASSWORD</strong> &#8211; Tento text reprezentuje heslo pro přihlášení k VPN. </p>								</div>
				</div>
				<div class="elementor-element elementor-element-fdf25ae elementor-widget elementor-widget-code-block-for-elementor" data-id="fdf25ae" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-default' data-show-toolbar='yes'><code class='language-bash'>&quot;YOUR_USERNAME&quot;    *    &quot;YOUR_PASSWORD&quot;    *</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-08a8759 elementor-widget elementor-widget-text-editor" data-id="08a8759" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Případně varianta jednorázového přidání z příkazové řádky:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-56412b6 elementor-widget elementor-widget-code-block-for-elementor" data-id="56412b6" 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-bash'># Option 2 - Add credentials to CHAP secrets directly from command line

sudo bash -c &#039;cat &gt; /etc/ppp/chap-secrets &lt;&lt;EOF
&quot;YOUR_USERNAME&quot;  *  &quot;YOUR_PASSWORD&quot;  *
EOF&#039;
sudo chmod 600 /etc/ppp/chap-secrets</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-6355aab elementor-widget elementor-widget-text-editor" data-id="6355aab" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Nastavte oprávnění pro vytvořený soubor</p>								</div>
				</div>
				<div class="elementor-element elementor-element-f98f006 elementor-widget elementor-widget-code-block-for-elementor" data-id="f98f006" 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-bash'># Set permissions for chap-secrets

sudo chmod 600 /etc/ppp/chap-secrets</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-f0d9128 elementor-widget elementor-widget-heading" data-id="f0d9128" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">První spuštění a test</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-3c1e792 elementor-widget elementor-widget-code-block-for-elementor" data-id="3c1e792" 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-bash'># Restart services
sudo systemctl restart strongswan-starter
sudo systemctl restart xl2tpd

# Bring up IPsec:
sudo ipsec restart
sudo ipsec up L2TP-VPN

#Start the L2TP tunnel:
echo &quot;c L2TP-VPN&quot; | sudo tee /var/run/xl2tpd/l2tp-control

# Verify PPP interface:
ip addr show ppp0
</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-560d398 elementor-widget elementor-widget-heading" data-id="560d398" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Vytvoření routingu pro vybrané sítě</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-a10d4f6 elementor-widget elementor-widget-code-block-for-elementor" data-id="a10d4f6" 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-bash'># Add split‑tunnel routes (only your selected subnets over VPN)

sudo nano /etc/ppp/ip-up.d/vpn-routes</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-53138b9 elementor-widget elementor-widget-text-editor" data-id="53138b9" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Do textového editoru vložte tyto údaje:</p><p>Sítě 19<!--ScriptorStartFragment-->2.168.100.0/24<!--ScriptorEndFragment--> a <!--ScriptorStartFragment-->10.20.30.0/24<!--ScriptorEndFragment--> nahraďte subnety, dle potřeby</p>								</div>
				</div>
				<div class="elementor-element elementor-element-c25b1cd elementor-widget elementor-widget-code-block-for-elementor" data-id="c25b1cd" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-default' data-show-toolbar='yes'><code class='language-bash'>#!/bin/sh
ip route replace 192.168.100.0/24 dev ppp0
ip route replace 10.20.30.0/24 dev ppp0</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-78b9a06 elementor-widget elementor-widget-text-editor" data-id="78b9a06" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Nastavte vytvořený soubor jako &#8222;spustitelný&#8220;</p>								</div>
				</div>
				<div class="elementor-element elementor-element-5f5e194 elementor-widget elementor-widget-code-block-for-elementor" data-id="5f5e194" 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-bash'># Make executable

sudo chmod +x /etc/ppp/ip-up.d/vpn-routes</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-4562ad4 elementor-widget elementor-widget-heading" data-id="4562ad4" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Automatické připojení VPN po startu operačního systému</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-26b3129 elementor-widget elementor-widget-code-block-for-elementor" data-id="26b3129" 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-bash'># Auto‑start at boot (strongSwan + xl2tpd)

sudo systemctl enable strongswan-starter
sudo systemctl enable xl2tpd</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-63c237e elementor-widget elementor-widget-text-editor" data-id="63c237e" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Je potřeba zajistit, aby xl2tph startoval až po té, co je nastartována služba pro IPsec</p>								</div>
				</div>
				<div class="elementor-element elementor-element-56677f3 elementor-widget elementor-widget-code-block-for-elementor" data-id="56677f3" 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-bash'># Ensure xl2tpd starts after IPsec

sudo mkdir -p /etc/systemd/system/xl2tpd.service.d
sudo nano /etc/systemd/system/xl2tpd.service.d/override.conf</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-825c346 elementor-widget elementor-widget-text-editor" data-id="825c346" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Do textového editoru vložte tyto údaje:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-9632ae9 elementor-widget elementor-widget-code-block-for-elementor" data-id="9632ae9" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-default' data-show-toolbar='yes'><code class='language-bash'>[Unit]
After=strongswan-starter.service
Wants=strongswan-starter.service</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-2b65441 elementor-widget elementor-widget-text-editor" data-id="2b65441" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Dále je potřeba systémovou službu znovu načíst</p>								</div>
				</div>
				<div class="elementor-element elementor-element-8710e55 elementor-widget elementor-widget-code-block-for-elementor" data-id="8710e55" 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-bash'># Reload

sudo systemctl daemon-reload</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-ac91fb7 elementor-widget elementor-widget-heading" data-id="ac91fb7" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Volitelně: hlídání, že je VPN připojena (Keepalive Watchdog)</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-aa4bee7 elementor-widget elementor-widget-code-block-for-elementor" data-id="aa4bee7" 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-bash'># Optional but Recommended: Keepalive Watchdog, Create file:

sudo nano /usr/local/bin/vpn-keepalive.sh</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-2ff27a7 elementor-widget elementor-widget-text-editor" data-id="2ff27a7" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Do textového editoru vložte tyto údaje:</p><p><strong>L2TP-VPN</strong> &#8211; název vašeho VPN rozhraní (identifikace). Tento údaj lze změnit, ale je potřeba následně dále v konfiguraci používat stejné označení</p>								</div>
				</div>
				<div class="elementor-element elementor-element-ffb418c elementor-widget elementor-widget-code-block-for-elementor" data-id="ffb418c" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-default' data-show-toolbar='yes'><code class='language-bash'>#!/bin/bash

# Restart IPsec if lost
if ! ipsec status | grep -q &quot;ESTABLISHED&quot;; then
    ipsec restart
    sleep 4
fi

# Reconnect L2TP if ppp0 not active
if ! ip link show ppp0 &gt;/dev/null 2&gt;&amp;1; then
    echo &quot;c L2TP-VPN&quot; &gt; /var/run/xl2tpd/l2tp-control
fi</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-b6f519f elementor-widget elementor-widget-text-editor" data-id="b6f519f" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Nastavte vytvořený soubor jako &#8222;spustitelný&#8220;</p>								</div>
				</div>
				<div class="elementor-element elementor-element-99eb11a elementor-widget elementor-widget-code-block-for-elementor" data-id="99eb11a" 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-bash'># Make executable

sudo chmod +x /usr/local/bin/vpn-keepalive.sh</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-c2cd849 elementor-widget elementor-widget-code-block-for-elementor" data-id="c2cd849" 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-bash'># Systemd service

sudo nano /etc/systemd/system/vpn-keepalive.service</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-9ed63e2 elementor-widget elementor-widget-text-editor" data-id="9ed63e2" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Do textového editoru vložte tyto údaje:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-c8b0dd0 elementor-widget elementor-widget-code-block-for-elementor" data-id="c8b0dd0" data-element_type="widget" data-widget_type="code-block-for-elementor.default">
				<div class="elementor-widget-container">
					<pre class='line-numbers theme-default' data-show-toolbar='yes'><code class='language-bash'>[Unit]
Description=L2TP/IPsec VPN Keepalive
After=network-online.target strongswan-starter.service xl2tpd.service
Wants=network-online.target

[Service]
ExecStart=/bin/bash -c &quot;while true; do /usr/local/bin/vpn-keepalive.sh; sleep 20; done&quot;
Restart=always

[Install]
WantedBy=multi-user.target</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-cfae505 elementor-widget elementor-widget-code-block-for-elementor" data-id="cfae505" 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-bash'># Enable service

sudo systemctl daemon-reload
sudo systemctl enable --now vpn-keepalive</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-8917653 elementor-widget elementor-widget-heading" data-id="8917653" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Ověření stavu VPN</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-636f355 elementor-widget elementor-widget-code-block-for-elementor" data-id="636f355" 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-bash'># Check IPsec
sudo ipsec statusall

# Check L2TP/PPP
ip addr show ppp0

# Check routes
ip r</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-73aceb5 elementor-widget elementor-widget-heading" data-id="73aceb5" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Další užitečné příkazy</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-ab89cfd elementor-widget elementor-widget-code-block-for-elementor" data-id="ab89cfd" 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-bash'># Restart VPN 
sudo systemctl restart strongswan-starter xl2tpd 
sudo ipsec restart &amp;&amp; sudo ipsec up L2TP-VPN-MASTERDC 

echo &quot;c L2TP-VPN&quot; | sudo tee /var/run/xl2tpd/l2tp-control 

# Stav xl2tpd
sudo journalctl -fu xl2tpd

# IP adresa VPN rozhran&iacute; 
ip addr show ppp0 

# zobrazen&iacute; routovac&iacute; tabulky 
ip route show 
route -n 
ip route show table all 

</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-3c0d87d elementor-widget elementor-widget-heading" data-id="3c0d87d" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Nastavení na straně Mikrotik</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-8252b35 elementor-widget elementor-widget-image" data-id="8252b35" 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/mikrotik-l2tp-vpn-ipsec-1.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="mikrotik-l2tp-vpn-ipsec-1" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTQzNiwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNlwvMDFcL21pa3JvdGlrLWwydHAtdnBuLWlwc2VjLTEucG5nIn0%3D">
							<img fetchpriority="high" decoding="async" width="658" height="507" src="https://www.sraga.cz/wp-content/uploads/2026/01/mikrotik-l2tp-vpn-ipsec-1.png" class="attachment-medium_large size-medium_large wp-image-1436" alt="Mikrotik L2TP VPN IPSEC PSK" srcset="https://www.sraga.cz/wp-content/uploads/2026/01/mikrotik-l2tp-vpn-ipsec-1.png 658w, https://www.sraga.cz/wp-content/uploads/2026/01/mikrotik-l2tp-vpn-ipsec-1-300x231.png 300w" sizes="(max-width: 658px) 100vw, 658px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-85a7d56 elementor-widget elementor-widget-image" data-id="85a7d56" 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/mikrotik-l2tp-vpn-ipsec-2.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="mikrotik-l2tp-vpn-ipsec-2" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTQzNSwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNlwvMDFcL21pa3JvdGlrLWwydHAtdnBuLWlwc2VjLTIucG5nIn0%3D">
							<img decoding="async" width="581" height="708" src="https://www.sraga.cz/wp-content/uploads/2026/01/mikrotik-l2tp-vpn-ipsec-2.png" class="attachment-medium_large size-medium_large wp-image-1435" alt="Mikrotik L2TP VPN IPSEC PSK" srcset="https://www.sraga.cz/wp-content/uploads/2026/01/mikrotik-l2tp-vpn-ipsec-2.png 581w, https://www.sraga.cz/wp-content/uploads/2026/01/mikrotik-l2tp-vpn-ipsec-2-246x300.png 246w" sizes="(max-width: 581px) 100vw, 581px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-33e841e elementor-widget elementor-widget-image" data-id="33e841e" 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/mikrotik-l2tp-vpn-ipsec-3.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="mikrotik-l2tp-vpn-ipsec-3" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTQzNCwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNlwvMDFcL21pa3JvdGlrLWwydHAtdnBuLWlwc2VjLTMucG5nIn0%3D">
							<img decoding="async" width="456" height="542" src="https://www.sraga.cz/wp-content/uploads/2026/01/mikrotik-l2tp-vpn-ipsec-3.png" class="attachment-medium_large size-medium_large wp-image-1434" alt="Mikrotik L2TP VPN IPSEC PSK" srcset="https://www.sraga.cz/wp-content/uploads/2026/01/mikrotik-l2tp-vpn-ipsec-3.png 456w, https://www.sraga.cz/wp-content/uploads/2026/01/mikrotik-l2tp-vpn-ipsec-3-252x300.png 252w" sizes="(max-width: 456px) 100vw, 456px" />								</a>
															</div>
				</div>
					</div>
				</div>
				</div>
		]]></content:encoded>
					
					<wfw:commentRss>https://www.sraga.cz/raspberry-pi-l2tp-vpn-over-ipsec-psk-mikrotik/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 loading="lazy" 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 loading="lazy" 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>Integrace Shelly PlugS Gen3 do Loxone</title>
		<link>https://www.sraga.cz/integrace-shelly-plugs-gen3-do-loxone/</link>
					<comments>https://www.sraga.cz/integrace-shelly-plugs-gen3-do-loxone/#respond</comments>
		
		<dc:creator><![CDATA[Miroslav Šraga]]></dc:creator>
		<pubDate>Tue, 30 Dec 2025 18:16:36 +0000</pubDate>
				<category><![CDATA[Loxone]]></category>
		<category><![CDATA[Integrace]]></category>
		<category><![CDATA[Loxon]]></category>
		<category><![CDATA[Shelly PlugS Gen3]]></category>
		<guid isPermaLink="false">https://www.sraga.cz/?p=1246</guid>

					<description><![CDATA[Doma nastala potřeba řídit, kdy dětem bude fungovat televize a kdy naopak televize nebude dostupná. Chtěl jsem něco, co bude ovládat přímo zásuvku, do které je napojena jak samotná TV tak i SetTopBox. Vzhledem k tomu, že již ovládám jiné spotřebiče pomocí DIN Rail modulů od Shelly, hledal jsem řešení i pro tento případn. Rozhodl ... <a title="Integrace Shelly PlugS Gen3 do Loxone" class="read-more" href="https://www.sraga.cz/integrace-shelly-plugs-gen3-do-loxone/" aria-label="Číst více o Integrace Shelly PlugS Gen3 do Loxone">Číst dál</a>]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="1246" class="elementor elementor-1246" data-elementor-post-type="post">
				<div class="elementor-element elementor-element-03d7655 e-flex e-con-boxed e-con e-parent" data-id="03d7655" data-element_type="container">
					<div class="e-con-inner">
				<div class="elementor-element elementor-element-834c06f elementor-widget elementor-widget-text-editor" data-id="834c06f" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Doma nastala potřeba řídit, kdy dětem bude fungovat televize a kdy naopak televize nebude dostupná. Chtěl jsem něco, co bude ovládat přímo zásuvku, do které je napojena jak samotná TV tak i SetTopBox. Vzhledem k tomu, že již ovládám jiné spotřebiče pomocí DIN Rail modulů od Shelly, hledal jsem řešení i pro tento případn. Rozhodl jsem se vyzkouše integraci Shelly PlugS Gen3 s Loxone. Zjistil jsem, že PlugS se od ostatních modelů mírně liší strukturou API, ale integrace se nakonec zdařila.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-89f75d2 elementor-toc--minimized-on-tablet elementor-widget elementor-widget-table-of-contents" data-id="89f75d2" 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__89f75d2" 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__89f75d2" 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__89f75d2" 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-f4743bb elementor-widget elementor-widget-heading" data-id="f4743bb" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Ovládání relé v zásuvce (Virtual Output)</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-9bafb17 elementor-alert-info elementor-widget elementor-widget-alert" data-id="9bafb17" 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">Pro zařízení  Shelly Gen2 a vyšší je možné volání RPC (Remote Procedure Call) přes HTTP. Příkazy jsou pak ve tvaru:
<br />
http://[IP_ADRESA_SHELLY]/rpc/Switch.Set?id=0&amp;on=true</span>
			
			
		</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-835d246 elementor-widget elementor-widget-text-editor" data-id="835d246" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Začněme tím jednodušším a co v Google vyběhne na první dobrou. Jak z Loxone zapnout nebo vypnout relé v Shelly zásuvce. K tomu je potřeba vytvořit tzv. &#8222;<strong>Virtuální výstup</strong>&#8220; a poslat do Shelly <strong>příkaz</strong> pro vypnutí / zapnutí.</p><p>Dokumentace k tomuto příkazu je zde:</p><ul><li><a href="https://shelly-api-docs.shelly.cloud/gen1/#shelly-plug-plugs-relay-0" target="_blank" rel="noopener">https://shelly-api-docs.shelly.cloud/gen1/#shelly-plug-plugs-relay-0</a></li><li><a href="https://shelly-api-docs.shelly.cloud/gen2/General/RPCChannels/#get-with-query-string" target="_blank" rel="noopener">https://shelly-api-docs.shelly.cloud/gen2/General/RPCChannels/#get-with-query-string</a></li><li><a href="https://shelly.guide/webhooks-https-requests/" target="_blank" rel="noopener">https://shelly.guide/webhooks-https-requests/</a></li></ul><p>Nejprve je tedy potřrba <strong>vytvořit Virtuální výstup. </strong>Důležité je vyplnit:</p><ul><li><strong>Označení</strong> &#8211; Název výstupu, v mém případě &#8222;<em>Shelly_PlugGen3_2NP_TV_DAVID</em>&#8222;</li><li><strong>Adresa</strong> &#8211; adresa Shelly PlugS<ul><li>ve tvaru <strong><em>http://[IP_ADRESA]</em></strong></li><li>například http://192.168.1.10</li><li>pokud používáte ověřování jménem a heslem na straně Shelly, je potřeba tvar upravit na:<br /><em><strong>http://{username}:{password}@{IP_ADDRESA}:80<br /></strong></em><strong>POZOR: Loxone Miniserver Gen1 má s ověřováním problém</strong> a osvědčilo se mi (bohužel) ověřování nepoužívat</li></ul></li><li>Doporučuji nechat zatrženu volbu &#8222;Po odeslání ukončit spojení&#8220;</li></ul>								</div>
				</div>
				<div class="elementor-element elementor-element-7146f09 elementor-widget elementor-widget-image" data-id="7146f09" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VO1.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="loxone-config-shelly-plug-s-gen3-VO1" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTI1MiwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMTJcL2xveG9uZS1jb25maWctc2hlbGx5LXBsdWctcy1nZW4zLVZPMS5wbmcifQ%3D%3D">
							<img loading="lazy" decoding="async" width="759" height="623" src="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VO1.png" class="attachment-medium_large size-medium_large wp-image-1252" alt="Loxone COnfig Shelly PlugS Gen3 Virtual Output" srcset="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VO1.png 759w, https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VO1-300x246.png 300w" sizes="(max-width: 759px) 100vw, 759px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-0117c66 elementor-widget elementor-widget-text-editor" data-id="0117c66" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Po vytvoření virtuálního výstupu je potřeba vytvořit <strong>&#8222;Příkaz pro virtuální výstup&#8220;</strong> v Loxone Configu je to označeno, podle mě, trochu nelogicky jako <strong>&#8222;Virtuální výstup příkazu&#8220;. </strong></p><p>Důležité parametry jsou:</p><ul><li><strong>Označení</strong> &#8211; slouží jako identifikace výstupu, v mém případe &#8222;<em>Relay0-TV-David</em>&#8222;<ul><li>Označení Relay0 používám unifikovaně, protože mám i zařízení, která mají více relé a chci zachovat jmennou konvenci</li></ul></li><li><strong>Instrukce při zapnutí</strong> &#8211; /relay/0?turn=on</li><li><strong>HTTP při zapnutí</strong> &#8211; GET</li><li><strong>Instrukce při</strong> <strong>vypnutí</strong> &#8211; /relay/0?turn=off</li><li><strong>HTTP při vypnutí </strong>&#8211; GET</li><li><strong>První opakování</strong> &#8211; 10<ul><li>Zajistí, že pokud na tento výstup posíláme logickou 1, tak pokud je tento výstup aktivní déle než (v tomto případě) 10 vteřin, instrukce se zopakuje</li></ul></li><li><strong>Interval opakování</strong> &#8211; 10<ul><li>Zajistí, že pokud na tento výstup posíláme logickou 1, tak pokud je tento výstup stále aktivní, instrukce se každých 10 vteřin zopakuje</li><li>Doporučuji nastavit interval mezi 5 &#8211; 10 vteřinami, aby se zbytečně Loxone miniserver nezatěžoval, ale aby opakování instrukce netrvalo příliš dlouho.</li><li>Opakování není potřeba nutně nastavovat, ale v případě, že někdo změní stav relé na úrovni Shelly aplikace nebo Shelly webu, tak bude v Loxone jiná informace, než je skutečný stav. V mém případě je Loxone vždy zdrojem pravdy</li></ul></li></ul>								</div>
				</div>
				<div class="elementor-element elementor-element-65309de elementor-widget elementor-widget-image" data-id="65309de" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VO2.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="loxone-config-shelly-plug-s-gen3-VO2" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTI1MywidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMTJcL2xveG9uZS1jb25maWctc2hlbGx5LXBsdWctcy1nZW4zLVZPMi5wbmcifQ%3D%3D">
							<img loading="lazy" decoding="async" width="756" height="597" src="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VO2.png" class="attachment-medium_large size-medium_large wp-image-1253" alt="Loxone COnfig Shelly PlugS Gen3 Virtual Output" srcset="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VO2.png 756w, https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VO2-300x237.png 300w" sizes="(max-width: 756px) 100vw, 756px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-865d91a elementor-widget elementor-widget-text-editor" data-id="865d91a" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Nyní je již možné zásuvku ovládat. V Loxone Configu stačí přidat <strong>tlačítko / vypínač</strong> a odesílat instrukce do Shelly.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-167cca4 elementor-widget elementor-widget-image" data-id="167cca4" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VO3.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="loxone-config-shelly-plug-s-gen3-VO3" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTI1NiwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMTJcL2xveG9uZS1jb25maWctc2hlbGx5LXBsdWctcy1nZW4zLVZPMy5wbmcifQ%3D%3D">
							<img loading="lazy" decoding="async" width="393" height="89" src="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VO3.png" class="attachment-large size-large wp-image-1256" alt="Loxone Config Shelly PlugS Gen3" srcset="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VO3.png 393w, https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VO3-300x68.png 300w" sizes="(max-width: 393px) 100vw, 393px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-6dcdf1b elementor-widget elementor-widget-image" data-id="6dcdf1b" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VO4.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="loxone-config-shelly-plug-s-gen3-VO4" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTI1NSwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMTJcL2xveG9uZS1jb25maWctc2hlbGx5LXBsdWctcy1nZW4zLVZPNC5wbmcifQ%3D%3D">
							<img loading="lazy" decoding="async" width="398" height="89" src="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VO4.png" class="attachment-large size-large wp-image-1255" alt="Loxone Config Shelly PlugS Gen3" srcset="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VO4.png 398w, https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VO4-300x67.png 300w" sizes="(max-width: 398px) 100vw, 398px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-710deed elementor-widget elementor-widget-text-editor" data-id="710deed" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Přímo ve web rozhraní Shelly PlugS lze pak sledovat změnu stavu v sekci Diagnostics</p><p>Data, která jsou zaslaná z Loxone, mají uvedeno <strong>&#8222;source&#8220;:&#8220;http&#8220;</strong> a hodnota <strong>&#8222;output&#8220;</strong> je <strong>true</strong> nebo <strong>false</strong> podle toho, zda Shelly dostává příkaz pro zapnutí nebo vypnutí.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-736b4e4 elementor-widget elementor-widget-image" data-id="736b4e4" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VO5.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="loxone-config-shelly-plug-s-gen3-VO5" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTI1NCwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMTJcL2xveG9uZS1jb25maWctc2hlbGx5LXBsdWctcy1nZW4zLVZPNS5wbmcifQ%3D%3D">
							<img loading="lazy" decoding="async" width="768" height="299" src="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VO5-768x299.png" class="attachment-medium_large size-medium_large wp-image-1254" alt="Diagnostics Shelly PlugS Gen3" srcset="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VO5-768x299.png 768w, https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VO5-300x117.png 300w, https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VO5-1024x399.png 1024w, https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VO5.png 1388w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-040b47c elementor-widget elementor-widget-heading" data-id="040b47c" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Restart / reboot Shelly (Virtual Output)</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-d3a686a elementor-widget elementor-widget-text-editor" data-id="d3a686a" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Když už vytváříme Virtuální výstup (Virtual Output / VO), lze si do Loxone přidat ještě jeden příkaz, pomocí kterého lze restartovat (reboot) Shelly Plug. Ovládání tohoto výstupu doporučuji tlačítkem nebo jedním impulzem který VO aktivuje a příkaz <span style="text-decoration: underline;">jednou</span> odešle.</p><p><strong>&#8222;Virtuální výstup příkazu&#8220;</strong> a jeho parametry:</p><ul><li><strong>Označení:</strong> RebootShelly</li><li><strong>Instrukce při zapnutí:</strong> /rpc/Shelly.Reboot</li><li><strong>HTTP při zapnutí:</strong> GET</li></ul><p><strong>Dokumentace</strong>:</p><ul><li><a href="https://shelly-api-docs.shelly.cloud/gen2/ComponentsAndServices/Shelly/#shellyreboot" target="_blank" rel="noopener">https://shelly-api-docs.shelly.cloud/gen2/ComponentsAndServices/Shelly/#shellyreboot</a></li><li><a href="https://shelly-api-docs.shelly.cloud/gen2/ComponentsAndServices/Shelly/#shellyreboot-example" target="_blank" rel="noopener">https://shelly-api-docs.shelly.cloud/gen2/ComponentsAndServices/Shelly/#shellyreboot-example</a></li></ul>								</div>
				</div>
				<div class="elementor-element elementor-element-05b1dc8 elementor-widget elementor-widget-image" data-id="05b1dc8" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VO6.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="loxone-config-shelly-plug-s-gen3-VO6" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTI2MywidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMTJcL2xveG9uZS1jb25maWctc2hlbGx5LXBsdWctcy1nZW4zLVZPNi5wbmcifQ%3D%3D">
							<img loading="lazy" decoding="async" width="762" height="621" src="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VO6.png" class="attachment-medium_large size-medium_large wp-image-1263" alt="Loxone Shelly Reboot" srcset="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VO6.png 762w, https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VO6-300x244.png 300w" sizes="(max-width: 762px) 100vw, 762px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-ec7d321 elementor-widget elementor-widget-heading" data-id="ec7d321" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Získávání provozních stavů ze Shelly do Loxone (HTTP Virtual Input)</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-d9eef91 elementor-widget elementor-widget-text-editor" data-id="d9eef91" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Získávat provozní data ze Shelly lze několika způsoby. Jedním ze způsobů je pomocí <strong>pravidelného dotazování</strong> pomocí HTTP příkazu. A aby toho nebylo málo, jsou hned 2 HTTP endpointy, kterých se lze dotazovat.</p><p> </p>								</div>
				</div>
				<div class="elementor-element elementor-element-fcb8eb8 elementor-widget elementor-widget-heading" data-id="fcb8eb8" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h5 class="elementor-heading-title elementor-size-default">HTTP Endpoint: /relay/id</h5>				</div>
				</div>
				<div class="elementor-element elementor-element-c4a6a9d elementor-widget elementor-widget-text-editor" data-id="c4a6a9d" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Volání tohoto endpointu vrací základní informace o relé. Shelly PlugS Gen3 má pouze jedno relé (ID: 0), jiné modely ale mohou mít relé více, pak je potřeba pro ovládání konkrétního relé, upravit hodnotu ID.</p><p>Endpoint, který budeme volat je tedy ve tvaru: <strong>http://{username}:{password}@{IP_ADDRESS}:80/relay/0</strong> nebo bez ověření <strong>http://{IP_ADDRESS}/relay/0</strong></p><p>Když si tuto adresu dáte do internetového prohlížeče, vrátí se vám odpověď ve tvaru JSON, která vypadá přibližně takto:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-90b7597 elementor-widget elementor-widget-image" data-id="90b7597" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI1.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="loxone-config-shelly-plug-s-gen3-VI1" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTI3MCwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMTJcL2xveG9uZS1jb25maWctc2hlbGx5LXBsdWctcy1nZW4zLVZJMS5wbmcifQ%3D%3D">
							<img loading="lazy" decoding="async" width="528" height="257" src="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI1.png" class="attachment-medium_large size-medium_large wp-image-1270" alt="Loxone Virtual HTTP Input Shelly" srcset="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI1.png 528w, https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI1-300x146.png 300w" sizes="(max-width: 528px) 100vw, 528px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-4ae739a elementor-widget elementor-widget-text-editor" data-id="4ae739a" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Raw JSON odpověď pak má tuto strukturu:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-e5c029a elementor-widget elementor-widget-code-block-for-elementor" data-id="e5c029a" 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-json'>{&quot;ison&quot;: true, &quot;has_timer&quot;:false, &quot;timer_started_at&quot;: 0, &quot;timer_duration&quot;: 0.00, &quot;timer_remaining&quot;: 0.00, &quot;overpower&quot;: false, &quot;source&quot;: &quot;http&quot;}</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-d6f09f4 elementor-widget elementor-widget-text-editor" data-id="d6f09f4" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Pro získávání dat je tedy potřeba přidat nový <strong>Virtuální HTTP vstup</strong> s těmito parametry:</p><ul><li><strong>Označení</strong>: V mém případě &#8222;<em>Shelly_PlugGen3_2NP_TV_DAVID_relay0</em>&#8222;</li><li><strong>URL</strong>: <em>http://[IP_ADRESA]/relay/0</em><ul><li>například: <em>http://192.168.1.10/relay/0</em> nebo <em>http://admin:heslo@192.168.1.10/relay/0</em></li></ul></li><li><strong>Dotazovací cyklus</strong>: <em>10 vteřin</em><ul><li>Doporučuji nastavit interval mezi 10-15 vteřinami, aby se zbytečně Loxone miniserver nezatěžoval, ale aby opakování instrukce netrvalo příliš dlouho.</li></ul></li></ul>								</div>
				</div>
				<div class="elementor-element elementor-element-1436903 elementor-widget elementor-widget-image" data-id="1436903" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI2.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="loxone-config-shelly-plug-s-gen3-VI2" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTI3MiwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMTJcL2xveG9uZS1jb25maWctc2hlbGx5LXBsdWctcy1nZW4zLVZJMi5wbmcifQ%3D%3D">
							<img loading="lazy" decoding="async" width="768" height="223" src="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI2-768x223.png" class="attachment-medium_large size-medium_large wp-image-1272" alt="Loxone Virtual HTTP Input Shelly" srcset="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI2-768x223.png 768w, https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI2-300x87.png 300w, https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI2.png 827w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-9cc3f63 elementor-widget elementor-widget-text-editor" data-id="9cc3f63" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Po vytvoření virtuálního HTTP vstupu je na čase získávat data pomocí jednotlivých HTTP příkazů. Seznam všech příkazů je popsán v <a href="https://shelly-api-docs.shelly.cloud/gen2/ComponentsAndServices/Switch/#http-endpoint-relayid" target="_blank" rel="noopener">této dokumentaci</a>, já se v tomto případě zaměřím pouze na <strong>získání stavu relé 0</strong>.</p><p>Důležitá je pro nás tedy informace <strong>&#8222;ison&#8220;: true</strong>, která má datový typ <strong>Boolean</strong> a vrací <strong>true, pokud je relé sepnuto</strong>, ve všech ostatních případech vrací <strong>false.</strong></p><p>Pro virtuální HTTP vstup je tedy potřeba vytvořit <strong>Virtuální vstup HTTP příkazu</strong> s těmito parametry:</p><ul><li><strong>Označení:</strong> v mém případě &#8222;<em>OUT0-TV-David</em>&#8222;</li><li><strong>Rozeznání příkazu</strong>: &#8222;ison&#8220;: <span style="color: #ff0000;">\1</span></li><li><strong>Vstupní hodnota 1</strong>: 102</li><li><strong>Zobrazená hodnota 1:</strong> 0</li><li><strong>Vstupní hodnota 2:</strong> 116</li><li><strong>Zobrazená hodnota 2:</strong> 1</li></ul><p>Hodnota <strong>102</strong> reprezentuje logickou 0, tedy hodnotu <strong>FALSE</strong></p><p>Hodnota <strong>116</strong> reprezentuje logickou 1, tedy hodnotu <strong>TRUE</strong></p><p>Pokud chceme v Loxone Configu pracovat s 1 pro identifikaci zapnutého relé a 0 pro vypnuté relé, je potřeba:</p><ol><li>použít opravu vstupních hodnot (viz tento příklad)</li><li>nebo výstup posílat do funkčního bloku Stav a tam hodnoty transformovat (viz obrázek níže)</li><li>nebo pracovat v programu s hodnotami 102 resp 116</li></ol>								</div>
				</div>
				<div class="elementor-element elementor-element-b86373f elementor-widget elementor-widget-image" data-id="b86373f" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI3.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="loxone-config-shelly-plug-s-gen3-VI3" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTI4MCwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMTJcL2xveG9uZS1jb25maWctc2hlbGx5LXBsdWctcy1nZW4zLVZJMy5wbmcifQ%3D%3D">
							<img loading="lazy" decoding="async" width="768" height="587" src="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI3-768x587.png" class="attachment-medium_large size-medium_large wp-image-1280" alt="Loxone Virtual HTTP Input Shelly" srcset="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI3-768x587.png 768w, https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI3-300x229.png 300w, https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI3.png 958w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-d1f6580 elementor-widget elementor-widget-image" data-id="d1f6580" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="937" height="496" src="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI4.png" class="attachment-large size-large wp-image-1279" alt="Loxone Stav" srcset="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI4.png 937w, https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI4-300x159.png 300w, https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI4-768x407.png 768w" sizes="(max-width: 937px) 100vw, 937px" />															</div>
				</div>
				<div class="elementor-element elementor-element-db0d5a4 elementor-widget elementor-widget-text-editor" data-id="db0d5a4" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>V Loxone lze paj s takovým vstupem pracovat stejně, jako s jakýmkoliv jiným vstupem a pracovat s jeho výslednou hodnotou. <strong>Hotnota se aktualizuje v definovaném intervalu.</strong></p>								</div>
				</div>
				<div class="elementor-element elementor-element-01e9756 elementor-widget elementor-widget-image" data-id="01e9756" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI5.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="loxone-config-shelly-plug-s-gen3-VI5" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTI4MSwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMTJcL2xveG9uZS1jb25maWctc2hlbGx5LXBsdWctcy1nZW4zLVZJNS5wbmcifQ%3D%3D">
							<img loading="lazy" decoding="async" width="200" height="59" src="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI5.png" class="attachment-medium_large size-medium_large wp-image-1281" alt="Loxone Virtual HTTP Input Shelly" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-507b376 elementor-widget elementor-widget-text-editor" data-id="507b376" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Kromě atributu ison, lze použít i další atributy pro vytvoření příkazu pro vstup:</p><table width="826"><tbody><tr><td width="197"><strong>Atribut</strong></td><td width="159"><strong>Datový typ</strong></td><td width="470"><strong>Popis</strong></td></tr><tr><td width="197">ison</td><td width="159">boolean</td><td>True, pokud je spínač zapnutý, jinak false</td></tr><tr><td width="197">has_timer</td><td width="159">boolean</td><td>True, pokud je časovač zapnutý, jinak false</td></tr><tr><td width="197">timer_started_at</td><td width="159">number</td><td>Unix časové razítko, čas spuštění časovače (UTC)</td></tr><tr><td width="197">timer_duration</td><td width="159">number</td><td>Doba trvání časovače v sekundách</td></tr><tr><td width="197">timer_remaining</td><td width="159">number</td><td>Zbývající čas (v sekundách) do provedení požadavku</td></tr><tr><td width="197">overpower</td><td width="159">boolean</td><td>True, pokud došlo k přetížení, jinak false (zobrazeno, pokud je relevantní)</td></tr><tr><td width="197">source</td><td width="159">string</td><td>Zdroj posledního příkazu, například: init, WS_in, http, &#8230;</td></tr></tbody></table>								</div>
				</div>
				<div class="elementor-element elementor-element-b2424be elementor-widget elementor-widget-heading" data-id="b2424be" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h5 class="elementor-heading-title elementor-size-default">HTTP Endpoint: /rpc/Switch.GetStatus?id=</h5>				</div>
				</div>
				<div class="elementor-element elementor-element-10ce2b1 elementor-widget elementor-widget-text-editor" data-id="10ce2b1" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Volání tohoto endpointu vrací rozšířené informace nejen o stavu relé, ale také provozní stavy zásuvky. Shelly PlugS Gen3 má pouze jedno relé (ID: 0), jiné modely ale mohou mít relé více, pak je potřeba pro ovládání konkrétního relé, upravit hodnotu ID.</p><p>Endpoint, který budeme volat je tedy ve tvaru: <strong>http://{username}:{password}@{IP_ADDRESS}:80/rpc/Switch.GetStatus?id=0</strong> nebo bez ověření <strong>http://{IP_ADDRESS}/rpc/Switch.GetStatus?id=0</strong></p><p>Když si tuto adresu dáte do internetového prohlížeče, vrátí se vám odpověď ve tvaru JSON, která vypadá přibližně takto:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-50890be elementor-widget elementor-widget-image" data-id="50890be" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-HTTP-RPC-1.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="loxone-config-shelly-plug-s-gen3-VI-HTTP-RPC-1" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTI4OCwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMTJcL2xveG9uZS1jb25maWctc2hlbGx5LXBsdWctcy1nZW4zLVZJLUhUVFAtUlBDLTEucG5nIn0%3D">
							<img loading="lazy" decoding="async" width="586" height="595" src="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-HTTP-RPC-1.png" class="attachment-medium_large size-medium_large wp-image-1288" alt="Loxone Virtual HTTP Input Shelly" srcset="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-HTTP-RPC-1.png 586w, https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-HTTP-RPC-1-295x300.png 295w" sizes="(max-width: 586px) 100vw, 586px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-cc6d5d6 elementor-widget elementor-widget-text-editor" data-id="cc6d5d6" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Raw JSON odpověď pak má tuto strukturu:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-891ea07 elementor-widget elementor-widget-code-block-for-elementor" data-id="891ea07" 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-json'>{&quot;id&quot;:0, &quot;source&quot;:&quot;http&quot;, &quot;output&quot;:true, &quot;apower&quot;:3.6, &quot;voltage&quot;:242.5, &quot;freq&quot;:50.0, &quot;current&quot;:0.051, &quot;aenergy&quot;:{&quot;total&quot;:46369.397,&quot;by_minute&quot;:[0.000,210.202,0.000],&quot;minute_ts&quot;:1767112800}, &quot;ret_aenergy&quot;:{&quot;total&quot;:0.000,&quot;by_minute&quot;:[0.000,0.000,0.000],&quot;minute_ts&quot;:1767112800},&quot;temperature&quot;:{&quot;tC&quot;:40.6, &quot;tF&quot;:105.0}}</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-7d36256 elementor-widget elementor-widget-text-editor" data-id="7d36256" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Pro získávání dat je tedy potřeba přidat nový <strong>Virtuální HTTP vstup</strong> s těmito parametry:</p><ul><li><strong>Označení</strong>: V mém případě &#8222;<em>Shelly_PlugGen3_2NP_TV_DAVID_RPC0</em>&#8222;</li><li><strong>URL</strong>: <em>http://[IP_ADRESA]/rpc/Switch.GetStatus?id=0</em><ul><li>například: <em>http://192.168.1.10/</em>rpc/Switch.GetStatus?id=0 nebo <em>http://admin:heslo@192.168.1.10/rpc/Switch.GetStatus?id=0</em></li></ul></li><li><strong>Dotazovací cyklus</strong>: <em>10 vteřin</em><ul><li>Doporučuji nastavit interval mezi 10-15 vteřinami, aby se zbytečně Loxone miniserver nezatěžoval, ale aby opakování instrukce netrvalo příliš dlouho.</li></ul></li></ul>								</div>
				</div>
				<div class="elementor-element elementor-element-e3f62ca elementor-widget elementor-widget-image" data-id="e3f62ca" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-HTTP-RPC-2.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="loxone-config-shelly-plug-s-gen3-VI-HTTP-RPC-2" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTI5NSwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMTJcL2xveG9uZS1jb25maWctc2hlbGx5LXBsdWctcy1nZW4zLVZJLUhUVFAtUlBDLTIucG5nIn0%3D">
							<img loading="lazy" decoding="async" width="768" height="262" src="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-HTTP-RPC-2-768x262.png" class="attachment-medium_large size-medium_large wp-image-1295" alt="Loxone Virtual HTTP Input Shelly" srcset="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-HTTP-RPC-2-768x262.png 768w, https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-HTTP-RPC-2-300x102.png 300w, https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-HTTP-RPC-2.png 880w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-6986e1a elementor-widget elementor-widget-text-editor" data-id="6986e1a" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Po vytvoření virtuálního HTTP vstupu je na čase získávat data pomocí jednotlivých HTTP příkazů. Seznam všech příkazů je popsán v <a href="https://shelly-api-docs.shelly.cloud/gen2/ComponentsAndServices/Switch#switchgetstatus" target="_blank" rel="noopener">této dokumentaci</a>, já se v tomto případě nyní zaměřím na <strong>získání stavu relé 0</strong>.</p><p>Důležitá je pro nás tedy informace <strong>&#8222;output&#8220;: true</strong>, která má datový typ <strong>Boolean</strong> a vrací <strong>true, pokud je relé sepnuto</strong>, ve všech ostatních případech vrací <strong>false.</strong></p><p>Pro virtuální HTTP vstup je tedy potřeba vytvořit <strong>Virtuální vstup HTTP příkazu</strong> s těmito parametry:</p><ul><li><strong>Označení:</strong> v mém případě &#8222;Stav relé 0&#8220;</li><li><strong>Rozeznání příkazu</strong>: &#8222;output&#8220;:<span style="color: #ff0000;">\1</span></li><li><strong>Vstupní hodnota 1</strong>: 102</li><li><strong>Zobrazená hodnota 1:</strong> 0</li><li><strong>Vstupní hodnota 2:</strong> 116</li><li><strong>Zobrazená hodnota 2:</strong> 1</li></ul><p>Hodnota <strong>102</strong> reprezentuje logickou 0, tedy hodnotu <strong>FALSE</strong></p><p>Hodnota <strong>116</strong> reprezentuje logickou 1, tedy hodnotu <strong>TRUE</strong></p><p>Výsledek je pak úplně stejný, jako v přechozím případě.</p><p>Pojďme si ale ukázat, jaké <a href="https://shelly-api-docs.shelly.cloud/gen2/ComponentsAndServices/Switch#status" target="_blank" rel="noopener">další hodnoty</a> lze získat z JSON odpovědi.</p><table width="1333"><tbody><tr><td width="154"><strong>Atribut</strong></td><td width="190"><strong>Datový typ</strong></td><td width="190"><strong>Rozeznání příkazu Loxone</strong></td><td width="799"><strong>Popis</strong></td></tr><tr><td width="154">id</td><td width="190">number</td><td width="190"> </td><td width="799">Id instance komponenty spínače</td></tr><tr><td width="154">source</td><td width="190">string</td><td width="190"> </td><td width="799">Zdroj posledního příkazu, například: init, WS_in, http, &#8230;</td></tr><tr><td width="154">output</td><td width="190">boolean</td><td width="190">&#8222;output&#8220;:\1</td><td>True, pokud je spínač zapnutý, jinak False</td></tr><tr><td width="154">timer_started_at</td><td width="190">number</td><td width="190">&#8222;timer_started_at&#8220;:\v</td><td width="799">Unix časové razítko, čas spuštění časovače (UTC)</td></tr><tr><td width="154">timer_duration</td><td width="190">number</td><td width="190">&#8222;timer_duration&#8220;:\v</td><td width="799">Doba trvání časovače v sekundách</td></tr><tr><td width="154">apower</td><td width="190">number</td><td width="190">&#8222;apower&#8220;:\v</td><td width="799">Poslední naměřený okamžitý činný výkon (ve Wattech)</td></tr><tr><td width="154">voltage</td><td width="190">number</td><td width="190">&#8222;voltage&#8220;:\v</td><td width="799">Poslední naměřené napětí (ve Voltech)</td></tr><tr><td width="154">current</td><td width="190">number</td><td width="190">&#8222;current&#8220;:\v</td><td width="799">Poslední naměřený proud (v Ampérech)</td></tr><tr><td width="154">pf</td><td width="190">number</td><td width="190">&#8222;pf&#8220;:\v</td><td width="799">Poslední naměřený účiník</td></tr><tr><td width="154">freq</td><td width="190">number</td><td width="190">&#8222;freq&#8220;:\v</td><td width="799">Poslední naměřená síťová frekvence (v Hz)</td></tr><tr><td width="154">total</td><td width="190">number</td><td width="190">&#8222;total&#8220;:\v</td><td width="799">Celková spotřeba energie (ve Watthodinách)</td></tr><tr><td width="154">tC</td><td width="190">number or null</td><td width="190">&#8222;tC&#8220;:\v</td><td width="799">Teplota ve stupních Celsia (null pokud mimo rozsah měření)</td></tr></tbody></table>								</div>
				</div>
				<div class="elementor-element elementor-element-5e0b75e elementor-arrows-position-inside elementor-pagination-position-outside elementor-widget elementor-widget-image-carousel" data-id="5e0b75e" data-element_type="widget" data-settings="{&quot;navigation&quot;:&quot;both&quot;,&quot;autoplay&quot;:&quot;yes&quot;,&quot;pause_on_hover&quot;:&quot;yes&quot;,&quot;pause_on_interaction&quot;:&quot;yes&quot;,&quot;autoplay_speed&quot;:5000,&quot;infinite&quot;:&quot;yes&quot;,&quot;speed&quot;:500}" data-widget_type="image-carousel.default">
				<div class="elementor-widget-container">
							<div class="elementor-image-carousel-wrapper swiper" role="region" aria-roledescription="carousel" aria-label="Obrázkový kolotoč" dir="ltr">
			<div class="elementor-image-carousel swiper-wrapper" aria-live="off">
								<div class="swiper-slide" role="group" aria-roledescription="slide" aria-label="1 z 6"><a data-elementor-open-lightbox="yes" data-elementor-lightbox-slideshow="5e0b75e" data-elementor-lightbox-title="loxone-config-shelly-plug-s-gen3-VI-HTTP-RPC-4-stav-rele" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTMwNiwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMTJcL2xveG9uZS1jb25maWctc2hlbGx5LXBsdWctcy1nZW4zLVZJLUhUVFAtUlBDLTQtc3Rhdi1yZWxlLnBuZyIsInNsaWRlc2hvdyI6IjVlMGI3NWUifQ%3D%3D" href="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-HTTP-RPC-4-stav-rele.png"><figure class="swiper-slide-inner"><img decoding="async" class="swiper-slide-image" src="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-HTTP-RPC-4-stav-rele-150x150.png" alt="Loxone - Shelly Plug - Stav relé" /><figcaption class="elementor-image-carousel-caption">Loxone - Shelly Plug - Stav relé</figcaption></figure></a></div><div class="swiper-slide" role="group" aria-roledescription="slide" aria-label="2 z 6"><a data-elementor-open-lightbox="yes" data-elementor-lightbox-slideshow="5e0b75e" data-elementor-lightbox-title="loxone-config-shelly-plug-s-gen3-VI-HTTP-RPC-4-frekvence" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTMwMiwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMTJcL2xveG9uZS1jb25maWctc2hlbGx5LXBsdWctcy1nZW4zLVZJLUhUVFAtUlBDLTQtZnJla3ZlbmNlLnBuZyIsInNsaWRlc2hvdyI6IjVlMGI3NWUifQ%3D%3D" href="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-HTTP-RPC-4-frekvence.png"><figure class="swiper-slide-inner"><img decoding="async" class="swiper-slide-image" src="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-HTTP-RPC-4-frekvence-150x150.png" alt="Loxone - Shelly Plug - Frekvence" /><figcaption class="elementor-image-carousel-caption">Loxone - Shelly Plug - Frekvence</figcaption></figure></a></div><div class="swiper-slide" role="group" aria-roledescription="slide" aria-label="3 z 6"><a data-elementor-open-lightbox="yes" data-elementor-lightbox-slideshow="5e0b75e" data-elementor-lightbox-title="loxone-config-shelly-plug-s-gen3-VI-HTTP-RPC-4-napeti" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTMwMywidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMTJcL2xveG9uZS1jb25maWctc2hlbGx5LXBsdWctcy1nZW4zLVZJLUhUVFAtUlBDLTQtbmFwZXRpLnBuZyIsInNsaWRlc2hvdyI6IjVlMGI3NWUifQ%3D%3D" href="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-HTTP-RPC-4-napeti.png"><figure class="swiper-slide-inner"><img decoding="async" class="swiper-slide-image" src="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-HTTP-RPC-4-napeti-150x150.png" alt="Loxone - Shelly Plug - Napětí" /><figcaption class="elementor-image-carousel-caption">Loxone - Shelly Plug - Napětí</figcaption></figure></a></div><div class="swiper-slide" role="group" aria-roledescription="slide" aria-label="4 z 6"><a data-elementor-open-lightbox="yes" data-elementor-lightbox-slideshow="5e0b75e" data-elementor-lightbox-title="loxone-config-shelly-plug-s-gen3-VI-HTTP-RPC-4-proud" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTMwNCwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMTJcL2xveG9uZS1jb25maWctc2hlbGx5LXBsdWctcy1nZW4zLVZJLUhUVFAtUlBDLTQtcHJvdWQucG5nIiwic2xpZGVzaG93IjoiNWUwYjc1ZSJ9" href="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-HTTP-RPC-4-proud.png"><figure class="swiper-slide-inner"><img decoding="async" class="swiper-slide-image" src="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-HTTP-RPC-4-proud-150x150.png" alt="Loxone - Shelly Plug - Proud" /><figcaption class="elementor-image-carousel-caption">Loxone - Shelly Plug - Proud</figcaption></figure></a></div><div class="swiper-slide" role="group" aria-roledescription="slide" aria-label="5 z 6"><a data-elementor-open-lightbox="yes" data-elementor-lightbox-slideshow="5e0b75e" data-elementor-lightbox-title="loxone-config-shelly-plug-s-gen3-VI-HTTP-RPC-4-teplota" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTMwNSwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMTJcL2xveG9uZS1jb25maWctc2hlbGx5LXBsdWctcy1nZW4zLVZJLUhUVFAtUlBDLTQtdGVwbG90YS5wbmciLCJzbGlkZXNob3ciOiI1ZTBiNzVlIn0%3D" href="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-HTTP-RPC-4-teplota.png"><figure class="swiper-slide-inner"><img decoding="async" class="swiper-slide-image" src="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-HTTP-RPC-4-teplota-150x150.png" alt="Loxone - Shelly Plug - Teplota" /><figcaption class="elementor-image-carousel-caption">Loxone - Shelly Plug - Teplota</figcaption></figure></a></div><div class="swiper-slide" role="group" aria-roledescription="slide" aria-label="6 z 6"><a data-elementor-open-lightbox="yes" data-elementor-lightbox-slideshow="5e0b75e" data-elementor-lightbox-title="loxone-config-shelly-plug-s-gen3-VI-HTTP-RPC-4-vykon-zasuvky" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTMwNywidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMTJcL2xveG9uZS1jb25maWctc2hlbGx5LXBsdWctcy1nZW4zLVZJLUhUVFAtUlBDLTQtdnlrb24temFzdXZreS5wbmciLCJzbGlkZXNob3ciOiI1ZTBiNzVlIn0%3D" href="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-HTTP-RPC-4-vykon-zasuvky.png"><figure class="swiper-slide-inner"><img decoding="async" class="swiper-slide-image" src="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-HTTP-RPC-4-vykon-zasuvky-150x150.png" alt="Loxone - Shelly Plug - Výkon zásuvky" /><figcaption class="elementor-image-carousel-caption">Loxone - Shelly Plug - Výkon zásuvky</figcaption></figure></a></div>			</div>
												<div class="elementor-swiper-button elementor-swiper-button-prev" role="button" tabindex="0">
						<svg aria-hidden="true" class="e-font-icon-svg e-eicon-chevron-left" viewBox="0 0 1000 1000" xmlns="http://www.w3.org/2000/svg"><path d="M646 125C629 125 613 133 604 142L308 442C296 454 292 471 292 487 292 504 296 521 308 533L604 854C617 867 629 875 646 875 663 875 679 871 692 858 704 846 713 829 713 812 713 796 708 779 692 767L438 487 692 225C700 217 708 204 708 187 708 171 704 154 692 142 675 129 663 125 646 125Z"></path></svg>					</div>
					<div class="elementor-swiper-button elementor-swiper-button-next" role="button" tabindex="0">
						<svg aria-hidden="true" class="e-font-icon-svg e-eicon-chevron-right" viewBox="0 0 1000 1000" xmlns="http://www.w3.org/2000/svg"><path d="M696 533C708 521 713 504 713 487 713 471 708 454 696 446L400 146C388 133 375 125 354 125 338 125 325 129 313 142 300 154 292 171 292 187 292 204 296 221 308 233L563 492 304 771C292 783 288 800 288 817 288 833 296 850 308 863 321 871 338 875 354 875 371 875 388 867 400 854L696 533Z"></path></svg>					</div>
				
									<div class="swiper-pagination"></div>
									</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-a73420e elementor-widget elementor-widget-text-editor" data-id="a73420e" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>V Loxone Configu lze pak s jednotlivými vstupy pracovat tak, jak jste zvyklí.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-99d9a14 elementor-widget elementor-widget-image" data-id="99d9a14" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-HTTP-RPC-5.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="loxone-config-shelly-plug-s-gen3-VI-HTTP-RPC-5" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTMxNCwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMTJcL2xveG9uZS1jb25maWctc2hlbGx5LXBsdWctcy1nZW4zLVZJLUhUVFAtUlBDLTUucG5nIn0%3D">
							<img loading="lazy" decoding="async" width="358" height="205" src="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-HTTP-RPC-5.png" class="attachment-medium_large size-medium_large wp-image-1314" alt="Loxone Virtual HTTP Input Shelly" srcset="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-HTTP-RPC-5.png 358w, https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-HTTP-RPC-5-300x172.png 300w" sizes="(max-width: 358px) 100vw, 358px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-e99b3af elementor-widget elementor-widget-text-editor" data-id="e99b3af" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Ačkoliv je řešení pomocí HTTP Virtuálních vstupů funkčním a robustním řešením<strong>, </strong>jeho velkou <strong>nevýhodou je rychlost. </strong>Změnu jakéhokoliv stavu nezískáváte online, ale v pravidelných intervalech na základě dotazování.</p><p>Mnohem efektivnější řešení je použití <strong>Virtuálních UDP vstupů</strong> a informací zasílaných <strong>aktivně ze Shelly</strong> pomocí <strong>RPC.</strong></p>								</div>
				</div>
				<div class="elementor-element elementor-element-b89f15a elementor-widget elementor-widget-heading" data-id="b89f15a" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Získávání provozních stavů ze Shelly do Loxone (UDP Virtual Input)</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-c943b15 elementor-widget elementor-widget-text-editor" data-id="c943b15" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Existuje mnohem lepší způsob, jak do Loxone získávat provozní informace ze Shelly a to téměř okamžitě. Shelly je možné nastavit tak, že aktivně odešle do Loxone informace (atributy a jejich hodnoty), které se změnily. Je potřeba provést nastavení na straně Shelly i na straně Loxone.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-1edf9ff elementor-widget elementor-widget-heading" data-id="1edf9ff" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h5 class="elementor-heading-title elementor-size-default">Nastavení Shelly RPC over UDP</h5>				</div>
				</div>
				<div class="elementor-element elementor-element-a80c49e elementor-widget elementor-widget-text-editor" data-id="a80c49e" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Přihlaste se do webového rozhraní Shelly a přejděte to <strong>Settings</strong> &#8211; <strong>RPC over UDP</strong></p><p>V části <strong>Destination address</strong> zadejte adresu Loxone miniserveru ve tvaru [IP_ADRESA_LOXONE]:[UDP_PORT]</p><ul><li>Například: 192.168.1.20:10020</li><li>Číslo portu musí být unikátní a nesmí být sdíleno s jiným zařízením, které by komunikovalo s Loxone</li></ul><p>V části <strong>Listening port</strong> zadejte číslo UDP portu, na kterém bude poslouchat Shelly</p><ul><li>Například 10019</li></ul>								</div>
				</div>
				<div class="elementor-element elementor-element-9d64787 elementor-widget elementor-widget-image" data-id="9d64787" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-1.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-1" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTMyMSwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMTJcL2xveG9uZS1jb25maWctc2hlbGx5LXBsdWctcy1nZW4zLVZJLVVEUC1SUEMtMS5wbmcifQ%3D%3D">
							<img loading="lazy" decoding="async" width="768" height="236" src="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-1-768x236.png" class="attachment-medium_large size-medium_large wp-image-1321" alt="Shelly RPC over UDP to Loxone" srcset="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-1-768x236.png 768w, https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-1-300x92.png 300w, https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-1.png 942w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-649ef94 elementor-widget elementor-widget-heading" data-id="649ef94" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Nastavení UDP input v Loxone</h2>				</div>
				</div>
					</div>
				</div>
		<div class="elementor-element elementor-element-a2b517b e-flex e-con-boxed e-con e-parent" data-id="a2b517b" data-element_type="container">
					<div class="e-con-inner">
				<div class="elementor-element elementor-element-bff240a elementor-widget elementor-widget-text-editor" data-id="bff240a" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Po uložení hodnot, začne Shelly automaticky posílat data do Loxone (na zvolenou IP adrese a na zvolený UDP port, tedy 10020).</p><p>Dalším krokem je vytvoření <strong>Virtuálního UDP vstupu</strong> pomocí Loxone Configu. Vytvoření takového vstupu je jednoduché, je potřeba zadat pouze minimální parametry:</p><ul><li><strong>Označení: </strong>v mém případě &#8222;<em>Shelly_PlugGen3_2NP_TV_DAVID</em>&#8222;</li><li><strong>UDP port</strong>: v mém případě &#8222;<em>10020</em>&#8222;</li></ul>								</div>
				</div>
				<div class="elementor-element elementor-element-8c69319 elementor-widget elementor-widget-image" data-id="8c69319" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-2.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-2" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTMyOCwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMTJcL2xveG9uZS1jb25maWctc2hlbGx5LXBsdWctcy1nZW4zLVZJLVVEUC1SUEMtMi5wbmcifQ%3D%3D">
							<img loading="lazy" decoding="async" width="768" height="610" src="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-2-768x610.png" class="attachment-medium_large size-medium_large wp-image-1328" alt="Shelly RPC over UDP to Loxone Virtual Input" srcset="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-2-768x610.png 768w, https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-2-300x238.png 300w, https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-2.png 827w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-28222fc elementor-widget elementor-widget-text-editor" data-id="28222fc" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Pomocí UDP Monitoru lze nyní sledovat, jaká data posílá Shelly do Loxone a odchytat textová data, která obsahují požadované informace.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-dbbc9d9 elementor-widget elementor-widget-image" data-id="dbbc9d9" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-3.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-3" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTMzMiwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMTJcL2xveG9uZS1jb25maWctc2hlbGx5LXBsdWctcy1nZW4zLVZJLVVEUC1SUEMtMy5wbmcifQ%3D%3D">
							<img loading="lazy" decoding="async" width="768" height="77" src="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-3-768x77.png" class="attachment-medium_large size-medium_large wp-image-1332" alt="Shelly RPC over UDP to Loxone Virtual Input" srcset="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-3-768x77.png 768w, https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-3-300x30.png 300w, https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-3-1024x103.png 1024w, https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-3.png 1511w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-c50227f elementor-widget elementor-widget-text-editor" data-id="c50227f" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Na základě těchto informací lze vytvořit jednotlivé <strong>UDP Virtuální příkazy</strong>, které budou obsahovat potřebná data a hlavně v téměř reálném čase.</p><p>Po vytvoření virtuálního UDP vstupu je na čase získávat data pomocí jednotlivých UDP příkazů. Seznam všech příkazů je popsán opět v <a href="https://shelly-api-docs.shelly.cloud/gen2/ComponentsAndServices/Switch#switchgetstatus" target="_blank" rel="noopener">této dokumentaci</a>, já se v tomto případě nyní zaměřím na <strong>získání stavu relé 0</strong>.</p><p>Důležitá je pro nás tedy informace <strong>&#8222;output&#8220;: true</strong>, která má datový typ <strong>Boolean</strong> a vrací <strong>true, pokud je relé sepnuto</strong>, ve všech ostatních případech vrací <strong>false.</strong></p><p>Pro virtuální HTTP vstup je tedy potřeba vytvořit <strong>Virtuální vstup HTTP příkazu</strong> s těmito parametry:</p><ul><li><strong>Označení:</strong> v mém případě &#8222;<em>RelayStatus0-TV-David</em>&#8222;</li><li><strong>Rozeznání příkazu</strong>: &#8222;output&#8220;:\1</li><li><strong>Vstupní hodnota 1</strong>: 102</li><li><strong>Zobrazená hodnota 1:</strong> 0</li><li><strong>Vstupní hodnota 2:</strong> 116</li><li><strong>Zobrazená hodnota 2:</strong> 1</li></ul><p>Hodnota <strong>102</strong> reprezentuje logickou 0, tedy hodnotu <strong>FALSE</strong></p><p>Hodnota <strong>116</strong> reprezentuje logickou 1, tedy hodnotu <strong>TRUE</strong></p><p>Výsledek je pak úplně stejný, jako v přechozím případě.</p><p>Pojďme si ale ukázat, jaké <a href="https://shelly-api-docs.shelly.cloud/gen2/ComponentsAndServices/Switch#status" target="_blank" rel="noopener">další hodnoty</a> lze získat z JSON odpovědi.</p><table width="1333"><tbody><tr><td width="154"><strong>Atribut</strong></td><td width="190"><strong>Datový typ</strong></td><td width="190"><strong>Rozeznání příkazu Loxone</strong></td><td width="799"><strong>Popis</strong></td></tr><tr><td width="154">id</td><td width="190">number</td><td width="190"> </td><td width="799">Id instance komponenty spínače</td></tr><tr><td width="154">source</td><td width="190">string</td><td width="190"> </td><td width="799">Zdroj posledního příkazu, například: init, WS_in, http, &#8230;</td></tr><tr><td width="154">output</td><td width="190">boolean</td><td width="190">&#8222;output&#8220;:\1</td><td>True, pokud je spínač zapnutý, jinak False</td></tr><tr><td width="154">apower</td><td width="190">number</td><td width="190">&#8222;apower&#8220;:\v</td><td width="799">Poslední naměřený okamžitý činný výkon (ve Wattech)</td></tr><tr><td width="154">voltage</td><td width="190">number</td><td width="190">&#8222;voltage&#8220;:\v</td><td width="799">Poslední naměřené napětí (ve Voltech)</td></tr><tr><td width="154">current</td><td width="190">number</td><td width="190">&#8222;current&#8220;:\v</td><td width="799">Poslední naměřený proud (v Ampérech)</td></tr><tr><td width="154">total</td><td width="190">number</td><td width="190">&#8222;total&#8220;:\v</td><td width="799">Celková spotřeba energie (ve Watthodinách)</td></tr></tbody></table><p> </p><p>Další užitečné odkazy:</p><ul><li><a href="https://shelly-api-docs.shelly.cloud/gen2/General/RPCChannels/#udp" target="_blank" rel="noopener">https://shelly-api-docs.shelly.cloud/gen2/General/RPCChannels/#udp</a></li><li><a href="https://shelly-api-docs.shelly.cloud/gen2/Devices/Gen3/ShellyPlugSG3#status" target="_blank" rel="noopener">https://shelly-api-docs.shelly.cloud/gen2/Devices/Gen3/ShellyPlugSG3#status</a></li></ul>								</div>
				</div>
				<div class="elementor-element elementor-element-da7f339 elementor-arrows-position-inside elementor-pagination-position-outside elementor-widget elementor-widget-image-carousel" data-id="da7f339" data-element_type="widget" data-settings="{&quot;navigation&quot;:&quot;both&quot;,&quot;autoplay&quot;:&quot;yes&quot;,&quot;pause_on_hover&quot;:&quot;yes&quot;,&quot;pause_on_interaction&quot;:&quot;yes&quot;,&quot;autoplay_speed&quot;:5000,&quot;infinite&quot;:&quot;yes&quot;,&quot;speed&quot;:500}" data-widget_type="image-carousel.default">
				<div class="elementor-widget-container">
							<div class="elementor-image-carousel-wrapper swiper" role="region" aria-roledescription="carousel" aria-label="Obrázkový kolotoč" dir="ltr">
			<div class="elementor-image-carousel swiper-wrapper" aria-live="off">
								<div class="swiper-slide" role="group" aria-roledescription="slide" aria-label="1 z 6"><a data-elementor-open-lightbox="yes" data-elementor-lightbox-slideshow="da7f339" data-elementor-lightbox-title="loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-4-relay-status" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTM0MywidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMTJcL2xveG9uZS1jb25maWctc2hlbGx5LXBsdWctcy1nZW4zLVZJLVVEUC1SUEMtNC1yZWxheS1zdGF0dXMucG5nIiwic2xpZGVzaG93IjoiZGE3ZjMzOSJ9" href="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-4-relay-status.png"><figure class="swiper-slide-inner"><img decoding="async" class="swiper-slide-image" src="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-4-relay-status-150x150.png" alt="Shelly RPC over UDP to Loxone Virtual Input - Relay status" /><figcaption class="elementor-image-carousel-caption">Shelly RPC over UDP to Loxone Virtual Input - Relay status</figcaption></figure></a></div><div class="swiper-slide" role="group" aria-roledescription="slide" aria-label="2 z 6"><a data-elementor-open-lightbox="yes" data-elementor-lightbox-slideshow="da7f339" data-elementor-lightbox-title="loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-4-voltage" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTMzOSwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMTJcL2xveG9uZS1jb25maWctc2hlbGx5LXBsdWctcy1nZW4zLVZJLVVEUC1SUEMtNC12b2x0YWdlLnBuZyIsInNsaWRlc2hvdyI6ImRhN2YzMzkifQ%3D%3D" href="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-4-voltage.png"><figure class="swiper-slide-inner"><img decoding="async" class="swiper-slide-image" src="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-4-voltage-150x150.png" alt="Shelly RPC over UDP to Loxone Virtual Input - Voltage" /><figcaption class="elementor-image-carousel-caption">Shelly RPC over UDP to Loxone Virtual Input - Voltage</figcaption></figure></a></div><div class="swiper-slide" role="group" aria-roledescription="slide" aria-label="3 z 6"><a data-elementor-open-lightbox="yes" data-elementor-lightbox-slideshow="da7f339" data-elementor-lightbox-title="loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-4-total" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTM0MCwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMTJcL2xveG9uZS1jb25maWctc2hlbGx5LXBsdWctcy1nZW4zLVZJLVVEUC1SUEMtNC10b3RhbC5wbmciLCJzbGlkZXNob3ciOiJkYTdmMzM5In0%3D" href="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-4-total.png"><figure class="swiper-slide-inner"><img decoding="async" class="swiper-slide-image" src="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-4-total-150x150.png" alt="Shelly RPC over UDP to Loxone Virtual Input - Total" /><figcaption class="elementor-image-carousel-caption">Shelly RPC over UDP to Loxone Virtual Input - Total</figcaption></figure></a></div><div class="swiper-slide" role="group" aria-roledescription="slide" aria-label="4 z 6"><a data-elementor-open-lightbox="yes" data-elementor-lightbox-slideshow="da7f339" data-elementor-lightbox-title="loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-4-power" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTM0MSwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMTJcL2xveG9uZS1jb25maWctc2hlbGx5LXBsdWctcy1nZW4zLVZJLVVEUC1SUEMtNC1wb3dlci5wbmciLCJzbGlkZXNob3ciOiJkYTdmMzM5In0%3D" href="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-4-power.png"><figure class="swiper-slide-inner"><img decoding="async" class="swiper-slide-image" src="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-4-power-150x150.png" alt="Shelly RPC over UDP to Loxone Virtual Input - Power" /><figcaption class="elementor-image-carousel-caption">Shelly RPC over UDP to Loxone Virtual Input - Power</figcaption></figure></a></div><div class="swiper-slide" role="group" aria-roledescription="slide" aria-label="5 z 6"><a data-elementor-open-lightbox="yes" data-elementor-lightbox-slideshow="da7f339" data-elementor-lightbox-title="loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-4-current" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTM0MiwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMTJcL2xveG9uZS1jb25maWctc2hlbGx5LXBsdWctcy1nZW4zLVZJLVVEUC1SUEMtNC1jdXJyZW50LnBuZyIsInNsaWRlc2hvdyI6ImRhN2YzMzkifQ%3D%3D" href="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-4-current.png"><figure class="swiper-slide-inner"><img decoding="async" class="swiper-slide-image" src="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-4-current-150x150.png" alt="Shelly RPC over UDP to Loxone Virtual Input - Current" /><figcaption class="elementor-image-carousel-caption">Shelly RPC over UDP to Loxone Virtual Input - Current</figcaption></figure></a></div><div class="swiper-slide" role="group" aria-roledescription="slide" aria-label="6 z 6"><a data-elementor-open-lightbox="yes" data-elementor-lightbox-slideshow="da7f339" data-elementor-lightbox-title="loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-3" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTMzMiwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMTJcL2xveG9uZS1jb25maWctc2hlbGx5LXBsdWctcy1nZW4zLVZJLVVEUC1SUEMtMy5wbmciLCJzbGlkZXNob3ciOiJkYTdmMzM5In0%3D" href="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-3.png"><figure class="swiper-slide-inner"><img decoding="async" class="swiper-slide-image" src="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-3-150x150.png" alt="Shelly RPC over UDP to Loxone Virtual Input" /><figcaption class="elementor-image-carousel-caption">Shelly RPC over UDP to Loxone Virtual Input</figcaption></figure></a></div>			</div>
												<div class="elementor-swiper-button elementor-swiper-button-prev" role="button" tabindex="0">
						<svg aria-hidden="true" class="e-font-icon-svg e-eicon-chevron-left" viewBox="0 0 1000 1000" xmlns="http://www.w3.org/2000/svg"><path d="M646 125C629 125 613 133 604 142L308 442C296 454 292 471 292 487 292 504 296 521 308 533L604 854C617 867 629 875 646 875 663 875 679 871 692 858 704 846 713 829 713 812 713 796 708 779 692 767L438 487 692 225C700 217 708 204 708 187 708 171 704 154 692 142 675 129 663 125 646 125Z"></path></svg>					</div>
					<div class="elementor-swiper-button elementor-swiper-button-next" role="button" tabindex="0">
						<svg aria-hidden="true" class="e-font-icon-svg e-eicon-chevron-right" viewBox="0 0 1000 1000" xmlns="http://www.w3.org/2000/svg"><path d="M696 533C708 521 713 504 713 487 713 471 708 454 696 446L400 146C388 133 375 125 354 125 338 125 325 129 313 142 300 154 292 171 292 187 292 204 296 221 308 233L563 492 304 771C292 783 288 800 288 817 288 833 296 850 308 863 321 871 338 875 354 875 371 875 388 867 400 854L696 533Z"></path></svg>					</div>
				
									<div class="swiper-pagination"></div>
									</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-04f70d1 elementor-widget elementor-widget-text-editor" data-id="04f70d1" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>V Loxone Configu lze pak s jednotlivými vstupy pracovat tak, jak jste zvyklí.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-0ae8427 elementor-widget elementor-widget-image" data-id="0ae8427" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-5.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-5" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTM0NywidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMTJcL2xveG9uZS1jb25maWctc2hlbGx5LXBsdWctcy1nZW4zLVZJLVVEUC1SUEMtNS5wbmcifQ%3D%3D">
							<img loading="lazy" decoding="async" width="224" height="99" src="https://www.sraga.cz/wp-content/uploads/2025/12/loxone-config-shelly-plug-s-gen3-VI-UDP-RPC-5.png" class="attachment-medium_large size-medium_large wp-image-1347" alt="Shelly RPC over UDP to Loxone Virtual Input" />								</a>
															</div>
				</div>
					</div>
				</div>
				</div>
		]]></content:encoded>
					
					<wfw:commentRss>https://www.sraga.cz/integrace-shelly-plugs-gen3-do-loxone/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Intune MDM Authority: Office 365 Mobile</title>
		<link>https://www.sraga.cz/intune-mdm-authority-office-365-mobile/</link>
					<comments>https://www.sraga.cz/intune-mdm-authority-office-365-mobile/#respond</comments>
		
		<dc:creator><![CDATA[Miroslav Šraga]]></dc:creator>
		<pubDate>Tue, 30 Dec 2025 11:19:51 +0000</pubDate>
				<category><![CDATA[Azure AD / Entra ID]]></category>
		<category><![CDATA[Intune]]></category>
		<category><![CDATA[Microsoft 365]]></category>
		<category><![CDATA[Entra ID]]></category>
		<category><![CDATA[intune]]></category>
		<category><![CDATA[MDM]]></category>
		<guid isPermaLink="false">https://www.sraga.cz/?p=1209</guid>

					<description><![CDATA[Správa zařízení přes Microsoft Intune dnes patří k základům bezpečného Microsoft 365 prostředí. Přesto existuje jeden scénář, který dokáže i zkušeného admina poslat na několik dní do slepé uličky: MDM Authority (autorita správy mobilních zařízení), která je v M365 tenantu nastavená na „Microsoft Office 365“, v Entra ID svítí „Office 365 Mobile“, ale v Intune ... <a title="Intune MDM Authority: Office 365 Mobile" class="read-more" href="https://www.sraga.cz/intune-mdm-authority-office-365-mobile/" aria-label="Číst více o Intune MDM Authority: Office 365 Mobile">Číst dál</a>]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="1209" class="elementor elementor-1209" data-elementor-post-type="post">
				<div class="elementor-element elementor-element-bc35f0c e-flex e-con-boxed e-con e-parent" data-id="bc35f0c" data-element_type="container">
					<div class="e-con-inner">
				<div class="elementor-element elementor-element-0da72c2 elementor-widget elementor-widget-text-editor" data-id="0da72c2" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Správa zařízení přes Microsoft Intune dnes patří k základům bezpečného Microsoft 365 prostředí. Přesto existuje jeden scénář, který dokáže i zkušeného admina poslat na několik dní do slepé uličky: <strong>MDM Authority</strong> (autorita správy mobilních zařízení), která je v M365 tenantu nastavená na „<strong>Microsoft Office 365</strong>“, v Entra ID svítí „<strong>Office 365 Mobile</strong>“, ale v Intune u zařízení vidíte „<strong>MDM: Intune</strong>“. Co je pravda? Kdo zařízení skutečně spravuje? A proč nikde nevidíte tlačítko „Změnit“?</p>								</div>
				</div>
				<div class="elementor-element elementor-element-a9e3634 elementor-toc--minimized-on-tablet elementor-widget elementor-widget-table-of-contents" data-id="a9e3634" 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__a9e3634" 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__a9e3634" 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__a9e3634" 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-ada7d34 e-flex e-con-boxed e-con e-parent" data-id="ada7d34" data-element_type="container">
					<div class="e-con-inner">
				<div class="elementor-element elementor-element-6a6fee3 elementor-widget elementor-widget-text-editor" data-id="6a6fee3" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Představte si situaci: přicházíte do firmy, která doposud Windows zařízení v podstatě nespravovala. Začnete studovat Entra ID, Intune, registrace zařízení, enrollment (včetně OOBE – Out-of-Box Experience). Firma už dokonce má zakoupených několik Intune licencí, přidělíte je sobě, testovacímu uživateli, DEM účtu (Device Enrollment Manager) i jednomu &#8222;běžnému zaměstnanci&#8220; a jdete testovat.</p><p>Dva počítače projdou OOBE:</p><ul><li>jeden přihlášený přes Work/School s DEM účtem</li><li>druhý s testovacím uživatelem.</li></ul><p>V tu chvíli dává smysl ověřit „klíčovou věc“ – <strong>MDM Authority</strong>. A tady přichází první šok: místo „Intune“ vidíte „Microsoft Office 365“. Dobře, přeháním, nepřichází úplně šok, protože tyhle situace už znám, ale pro admina, který s tímto nemá zkušenoti, nastává období komplikací. A proto taky vzniká tento článek.</p><p><strong>Kde je problém?</strong></p><ul><li>V diskusních fórech i v <a href="https://learn.microsoft.com/en-us/intune/intune-service/fundamentals/mdm-authority-set#set-mdm-authority-to-intune" target="_blank" rel="noopener">dokumentaci Microsoftu</a> píše o „<a href="https://learn.microsoft.com/en-us/intune/intune-service/fundamentals/mdm-authority-set#set-mdm-authority-to-intune" target="_blank" rel="noopener">oranžovém banneru</a>“, který vás vyzve k nastavení autority – ale vy ho nevidíte.</li><li>Dokumentace zmiňuje, že v některých tenantech se Intune nastavuje automaticky, jinde ne.</li><li>A někde se dočtete větu ve stylu „pokud byla autorita nastavena, nelze ji změnit“ – což adminovi na klidu moc nepřidá.</li></ul><p> </p>								</div>
				</div>
				<div class="elementor-element elementor-element-e8e57b9 elementor-widget elementor-widget-image" data-id="e8e57b9" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2025/12/set-mdm-authority-to-intune-1.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="set-mdm-authority-to-intune-1" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTIxNCwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMTJcL3NldC1tZG0tYXV0aG9yaXR5LXRvLWludHVuZS0xLnBuZyJ9">
							<img loading="lazy" decoding="async" width="768" height="230" src="https://www.sraga.cz/wp-content/uploads/2025/12/set-mdm-authority-to-intune-1-768x230.png" class="attachment-medium_large size-medium_large wp-image-1214" alt="Set MDM authority to Intune" srcset="https://www.sraga.cz/wp-content/uploads/2025/12/set-mdm-authority-to-intune-1-768x230.png 768w, https://www.sraga.cz/wp-content/uploads/2025/12/set-mdm-authority-to-intune-1-300x90.png 300w, https://www.sraga.cz/wp-content/uploads/2025/12/set-mdm-authority-to-intune-1.png 862w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-1dcc003 elementor-widget elementor-widget-text-editor" data-id="1dcc003" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Microsoft ale tento stav <a href="https://learn.microsoft.com/en-us/intune/intune-service/fundamentals/mdm-authority-set" target="_blank" rel="noopener">popisuje</a> celkem přesně: pokud je <strong>aktivní Basic Mobility and Security pro Microsoft 365</strong>, autorita se může tvářit jako „<strong>Office 365 Mobile</strong>“. Současně existuje režim koexistence, kde může být správa „rozdělená“ podle licencí uživatelů.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-74831a1 elementor-widget elementor-widget-image" data-id="74831a1" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2025/12/set-mdm-authority-to-intune-5.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="set-mdm-authority-to-intune-5" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTIzNCwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMTJcL3NldC1tZG0tYXV0aG9yaXR5LXRvLWludHVuZS01LnBuZyJ9">
							<img loading="lazy" decoding="async" width="768" height="104" src="https://www.sraga.cz/wp-content/uploads/2025/12/set-mdm-authority-to-intune-5-768x104.png" class="attachment-medium_large size-medium_large wp-image-1234" alt="MDM Autority Office 365 Mobile - Intune + Entra" srcset="https://www.sraga.cz/wp-content/uploads/2025/12/set-mdm-authority-to-intune-5-768x104.png 768w, https://www.sraga.cz/wp-content/uploads/2025/12/set-mdm-authority-to-intune-5-300x41.png 300w, https://www.sraga.cz/wp-content/uploads/2025/12/set-mdm-authority-to-intune-5-1024x139.png 1024w, https://www.sraga.cz/wp-content/uploads/2025/12/set-mdm-authority-to-intune-5.png 1335w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-c3c0b99 elementor-widget elementor-widget-heading" data-id="c3c0b99" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Proč se v Entra ID objevuje „Office 365 Mobile“?</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-8391ea7 elementor-widget elementor-widget-text-editor" data-id="8391ea7" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Druhý šok obvykle přijde v <strong>Microsoft Entra admin centru</strong>: u zařízení je uvedeno, že je „spravované (MDM)“ přes „Office 365 Mobile“.</p><p>Tohle označení typicky souvisí právě s historickým/alternativním MDM v rámci Microsoft 365 (Basic Mobility and Security), které se v různých částech portálů a API může promítat odlišně. Microsoft přímo uvádí, že po aktivaci Basic Mobility and Security se MDM autorita nastaví na „<strong>Office 365</strong>“.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-f34c970 elementor-alert-warning elementor-widget elementor-widget-alert" data-id="f34c970" 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">Důležité</span>
			
						<span class="elementor-alert-description">To, že v Entra vidíte „Office 365 Mobile“, neznamená automaticky, že zařízení dostává plnohodnotné Intune policy, konfigurace, aplikace a compliance.</span>
			
						<button type="button" class="elementor-alert-dismiss" aria-label="Zavřít toto upozornění.">
									<span aria-hidden="true">&times;</span>
							</button>
			
		</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-b5ac5b8 elementor-widget elementor-widget-heading" data-id="b5ac5b8" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">A teď paradox: v Intune je u zařízení "MDM: INTUNE"</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-3aab78f elementor-widget elementor-widget-text-editor" data-id="3aab78f" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Třetí šok: v samotném<strong> Intune portálu</strong> se u zařízení ukazuje, že <strong>MDM je Intune</strong> – takže to vypadá, že všechno je v pořádku… jenže:</p><ul><li>politiky se neaplikují,</li><li>konfigurace se „nepushují“,</li><li>app deployment nejede,</li><li>a vy už máte za pár týdnů rollout nových zařízení a nechcete to zkazit hned na začátku.</li></ul><p>Tenhle rozpor se děje v praxi poměrně často: portály vám zobrazují „stav“ z různých vrstev (Entra objekt vs. MDM enrollment vs. policy engine). Proto je klíčové <strong>ověřit autoritu na úrovni tenantu</strong>, ne jen „nějaké políčko u zařízení“.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-36f395e elementor-widget elementor-widget-image" data-id="36f395e" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2025/12/set-mdm-authority-to-intune-0.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="set-mdm-authority-to-intune-0" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTIyMiwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMTJcL3NldC1tZG0tYXV0aG9yaXR5LXRvLWludHVuZS0wLnBuZyJ9">
							<img loading="lazy" decoding="async" width="980" height="532" src="https://www.sraga.cz/wp-content/uploads/2025/12/set-mdm-authority-to-intune-0.png" class="attachment-large size-large wp-image-1222" alt="Tenant Admin Status - MDM Authority" srcset="https://www.sraga.cz/wp-content/uploads/2025/12/set-mdm-authority-to-intune-0.png 980w, https://www.sraga.cz/wp-content/uploads/2025/12/set-mdm-authority-to-intune-0-300x163.png 300w, https://www.sraga.cz/wp-content/uploads/2025/12/set-mdm-authority-to-intune-0-768x417.png 768w" sizes="(max-width: 980px) 100vw, 980px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-4cea10f elementor-widget elementor-widget-heading" data-id="4cea10f" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Klíčové vysvětlení: „oranžový banner“ se zobrazí jen tehdy, když autorita ještě NENÍ nastavena</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-faf732a elementor-widget elementor-widget-text-editor" data-id="faf732a" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Microsoft to popisuje napřímo:</p><ul><li><strong>Oranžový banner</strong> pro nastavení MDM autority uvidíte <strong>jen tehdy</strong>, když <strong>autorita ještě nebyla nastavená</strong>. </li><li>Pokud banner nevidíte, stále existuje možnost jít přímo do nastavení autority (jen to není „na očích“). </li></ul><p>A to je přesně ten moment, kdy mnoho lidí ztroskotá: <strong>UI volba zmizí</strong>,<strong> protože v tenantu už &#8222;někdy něko&#8220; v minulosti autoritu nastavil</strong> – klidně i dávno před vámi.</p><p>V praxi to často bývá tak, že tenant měl kdysi Microsoft 365 E5 / EMS nebo jiné licence, které Intune zahrnovaly, a někdo autoritu „nějak“ nastavil.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-373940c elementor-widget elementor-widget-image" data-id="373940c" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="862" height="258" src="https://www.sraga.cz/wp-content/uploads/2025/12/set-mdm-authority-to-intune-2.png" class="attachment-large size-large wp-image-1218" alt="Set MDM Autorit Intune" srcset="https://www.sraga.cz/wp-content/uploads/2025/12/set-mdm-authority-to-intune-2.png 862w, https://www.sraga.cz/wp-content/uploads/2025/12/set-mdm-authority-to-intune-2-300x90.png 300w, https://www.sraga.cz/wp-content/uploads/2025/12/set-mdm-authority-to-intune-2-768x230.png 768w" sizes="(max-width: 862px) 100vw, 862px" />															</div>
				</div>
				<div class="elementor-element elementor-element-ac5b525 elementor-widget elementor-widget-heading" data-id="ac5b525" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">„Skrytý“ odkaz / blade</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-d0a2d60 elementor-widget elementor-widget-text-editor" data-id="d0a2d60" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>V tom konkrétním případě může pomoci založení support ticketu, kdy vám technik pošle přímý odkaz na obrazovku <strong>Change/Choose MDM Authority</strong>, kterou jako neznalý admin sám nikde asi nenajdete, protože se v UI už běžně nezobrazuje, když už je autorita nastavená.</p><p>Microsoft Learn zmiňuje, že když banner není vidět, můžete se do nastavení autority „proklikat“ (nebo se tam dostat přímo). V praxi se ale používá i přímý odkaz na „choose MDM authority“ blade:</p><p><a href="https://intune.microsoft.com/#view/Microsoft_Intune_Enrollment/ChooseMDMAuthorityBlade" target="_blank" rel="noopener"><strong>https://intune.microsoft.com/#view/Microsoft_Intune_Enrollment/ChooseMDMAuthorityBlade</strong></a></p>								</div>
				</div>
				<div class="elementor-element elementor-element-773349f elementor-widget elementor-widget-image" data-id="773349f" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2025/12/set-mdm-authority-to-intune-3.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="set-mdm-authority-to-intune-3" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTIyOSwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMTJcL3NldC1tZG0tYXV0aG9yaXR5LXRvLWludHVuZS0zLnBuZyJ9">
							<img loading="lazy" decoding="async" width="1024" height="477" src="https://www.sraga.cz/wp-content/uploads/2025/12/set-mdm-authority-to-intune-3-1024x477.png" class="attachment-large size-large wp-image-1229" alt="change the MDM Authority to Intune" srcset="https://www.sraga.cz/wp-content/uploads/2025/12/set-mdm-authority-to-intune-3-1024x477.png 1024w, https://www.sraga.cz/wp-content/uploads/2025/12/set-mdm-authority-to-intune-3-300x140.png 300w, https://www.sraga.cz/wp-content/uploads/2025/12/set-mdm-authority-to-intune-3-768x358.png 768w, https://www.sraga.cz/wp-content/uploads/2025/12/set-mdm-authority-to-intune-3.png 1169w" sizes="(max-width: 1024px) 100vw, 1024px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-fec3a20 elementor-widget elementor-widget-text-editor" data-id="fec3a20" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Po potvrzení volby znovu zkontrolujte MDM Authority na úrovni tenantu.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-5cf87d4 elementor-widget elementor-widget-image" data-id="5cf87d4" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2025/12/set-mdm-authority-to-intune-4.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="set-mdm-authority-to-intune-4" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTIzMCwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMTJcL3NldC1tZG0tYXV0aG9yaXR5LXRvLWludHVuZS00LnBuZyJ9">
							<img loading="lazy" decoding="async" width="1024" height="322" src="https://www.sraga.cz/wp-content/uploads/2025/12/set-mdm-authority-to-intune-4-1024x322.png" class="attachment-large size-large wp-image-1230" alt="Tenant status - MDM Authority" srcset="https://www.sraga.cz/wp-content/uploads/2025/12/set-mdm-authority-to-intune-4-1024x322.png 1024w, https://www.sraga.cz/wp-content/uploads/2025/12/set-mdm-authority-to-intune-4-300x94.png 300w, https://www.sraga.cz/wp-content/uploads/2025/12/set-mdm-authority-to-intune-4-768x242.png 768w, https://www.sraga.cz/wp-content/uploads/2025/12/set-mdm-authority-to-intune-4.png 1226w" sizes="(max-width: 1024px) 100vw, 1024px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-7bc9b9f elementor-widget elementor-widget-heading" data-id="7bc9b9f" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Když UI nestačí: přepnutí MDM autority přes MS Graph (PowerShell)</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-166acd6 elementor-widget elementor-widget-text-editor" data-id="166acd6" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>V některých případech je nejjistější cesta přepnout autoritu přes <strong>Microsoft Graph API</strong> – to je mimochodem postup, který se v reálných projektech používá často, když je „velký prostor pro chybu“ a UI nepomáhá.</p><p>Pro nastavení <a href="https://learn.microsoft.com/en-us/graph/api/intune-onboarding-organization-setmobiledevicemanagementauthority?view=graph-rest-1.0" target="_blank" rel="noopener">MDM Authority pomocí MS Graph</a>, potřebujete tato oprávnění (od nejnižšího nutného po nejvíce privilegované:</p><ul><li><strong>Delegated</strong> (work or school account): <ul><li>DeviceManagementServiceConfig.ReadWrite.All, DeviceManagementConfiguration.ReadWrite.All</li></ul></li><li><strong>Application</strong><ul><li>DeviceManagementServiceConfig.ReadWrite.All, DeviceManagementConfiguration.ReadWrite.All</li></ul></li></ul><p>Dále už stačí jen poslat HTTP request:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-526d23c elementor-widget elementor-widget-code-block-for-elementor" data-id="526d23c" 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-javascript'>POST /organization/{organizationId}/setMobileDeviceManagementAuthority</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-1af9b48 elementor-widget elementor-widget-text-editor" data-id="1af9b48" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Instalace MS Graph</p>								</div>
				</div>
				<div class="elementor-element elementor-element-2a705b9 elementor-alert-danger elementor-widget elementor-widget-alert" data-id="2a705b9" 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">Pozor</span>
			
						<span class="elementor-alert-description">MS Graph je nahrazena novějším MG Graph:<br />

<a href="https://learn.microsoft.com/en-us/powershell/microsoftgraph/authentication-commands?view=graph-powershell-1.0" target="_blank" rel="noopener">https://learn.microsoft.com/en-us/powershell/microsoftgraph/authentication-commands?view=graph-powershell-1.0</a></span>
			
						<button type="button" class="elementor-alert-dismiss" aria-label="Zavřít toto upozornění.">
									<span aria-hidden="true">&times;</span>
							</button>
			
		</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-900a6ca elementor-widget elementor-widget-code-block-for-elementor" data-id="900a6ca" 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'># Instalace modulu
install-module microsoft.graph.intune

# Import modulu
import-module microsoft.graph.intune

# Připojen&iacute; k MS Graph
Connect-MSGraph

# Aktualizace Enteprise APP
Update-MSGraphEnvironment -AppId 16f0680c-7253-43cf-9805-be8443a9c3c1</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-fa9f087 elementor-widget elementor-widget-text-editor" data-id="fa9f087" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Celý postup:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-45aa633 elementor-widget elementor-widget-code-block-for-elementor" data-id="45aa633" 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'># Ziskat DirecotryID (tenant ID)
$DirectoryID = (Get-Organization).id

# Ziskani MDM Authority
Invoke-MSGraphRequest -Url &quot;https://graph.microsoft.com/beta/organization(&#039;$DirectoryID&#039;)?`$select=mobiledevicemanagementauthority&quot; -HttpMethod Get | Select mobileDeviceManagementAuthority 

# Nastaveni MDM Authority
Invoke-MSGraphRequest -Url &quot;https://graph.microsoft.com/v1.0/organization/$DirectoryID/setMobileDeviceManagementAuthority&quot; -HttpMethod Post 
 
</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-bffc232 elementor-widget elementor-widget-heading" data-id="bffc232" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">UPDATE 12/2025: Přepnutí MDM autority přes MG Graph (PowerShell)</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-eef3802 elementor-widget elementor-widget-code-block-for-elementor" data-id="eef3802" 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'>
# 1) Instalace potřebn&yacute;ch modulů (stač&iacute; jednou)
Install-Module Microsoft.Graph -Scope CurrentUser -Force

# 2) Načten&iacute; modulů (lze je importnout explicitně, nebo se nat&aacute;hnou automaticky)
Import-Module Microsoft.Graph.Authentication
Import-Module Microsoft.Graph.Identity.DirectoryManagement

# 3) Připojen&iacute; ke Graph (delegovaně) - potřeba scopes pro MDM authority
#    Doporučen&iacute;: DeviceManagementServiceConfig.ReadWrite.All
#    (př&iacute;padně i DeviceManagementConfiguration.ReadWrite.All podle prostřed&iacute;)
Connect-MgGraph -Scopes &quot;DeviceManagementServiceConfig.ReadWrite.All&quot;

# Voliteln&eacute;: ověřit Mg kontext
Get-MgContext

# 4) Z&iacute;skat Organization (tenant) a zjistit aktu&aacute;ln&iacute; MDM authority
$org = Get-MgOrganization -Property &quot;id,displayName,mobileDeviceManagementAuthority&quot;

# Př&iacute;padně jen
$org = Get-MgOrganization 

$orgId = $org.Id
$org | Select-Object DisplayName, Id, MobileDeviceManagementAuthority

# 5) Přepni MDM authority na Intune
#    (cmdlet je ofici&aacute;ln&iacute; cesta pro &quot;set mobile device management authority&quot;)
Set-MgOrganizationMobileDeviceManagementAuthority -OrganizationId $orgId

# 6) Ověř změnu
$orgAfter = Get-MgOrganization -Property &quot;id,displayName,mobileDeviceManagementAuthority&quot;
$orgAfter | Select-Object DisplayName, Id, MobileDeviceManagementAuthority

# 7) Odpoj se
Disconnect-MgGraph
</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-5a60378 elementor-widget elementor-widget-text-editor" data-id="5a60378" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<ul><li><a href="https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.identity.directorymanagement/set-mgorganizationmobiledevicemanagementauthority?view=graph-powershell-1.0" target="_blank" rel="noopener">Set-MgOrganizationMobileDeviceManagementAuthority</a> je přímo cmdlet pro přepnutí MDM authority v tenantu. </li><li>Nutný je scope typu <strong>DeviceManagementServiceConfig.ReadWrite.All</strong> (delegated/app) — uvádí to jak <a href="https://learn.microsoft.com/en-us/graph/api/intune-onboarding-organization-setmobiledevicemanagementauthority?view=graph-rest-1.0#permissions" target="_blank" rel="noopener">dokumentace</a> cmdletu, tak Graph REST.</li></ul><p><strong>Alternativně </strong>lze použít<strong>Invoke-MgGraphRequest proti REST endpointům</strong></p>								</div>
				</div>
				<div class="elementor-element elementor-element-a4574b1 elementor-widget elementor-widget-code-block-for-elementor" data-id="a4574b1" 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'># Instalace a import modulů
Install-Module Microsoft.Graph -Scope CurrentUser -Force
Import-Module Microsoft.Graph.Authentication
Import-Module Microsoft.Graph.Identity.DirectoryManagement

Connect-MgGraph -Scopes &quot;DeviceManagementServiceConfig.ReadWrite.All&quot;

# Org ID
$orgId = (Get-MgOrganization -Property &quot;id&quot;).Id

# 1) Přeč&iacute;st mobileDeviceManagementAuthority (Graph v1.0 um&iacute; select property)
Invoke-MgGraphRequest -Method GET -Uri &quot;https://graph.microsoft.com/v1.0/organization/$orgId?`$select=mobileDeviceManagementAuthority&quot; |
    Select-Object -ExpandProperty mobileDeviceManagementAuthority

# 2) Přepnout MDM authority (POST akce bez body)
Invoke-MgGraphRequest -Method POST -Uri &quot;https://graph.microsoft.com/v1.0/organization/$orgId/setMobileDeviceManagementAuthority&quot;

# 3) Ověřit znovu
Invoke-MgGraphRequest -Method GET -Uri &quot;https://graph.microsoft.com/v1.0/organization/$orgId?`$select=mobileDeviceManagementAuthority&quot; |
    Select-Object -ExpandProperty mobileDeviceManagementAuthority

Disconnect-MgGraph
</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-822a7a1 elementor-widget elementor-widget-heading" data-id="822a7a1" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Co dál po přepnutí autority: realita je „re-enroll“</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-291a878 elementor-widget elementor-widget-text-editor" data-id="291a878" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Tím, že autoritu přepnete, ještě nemusí být vyhráno. Častý scénář je:</p><ul><li>autorita na tenantovi je už správně Intune,</li><li>ale některá zařízení zůstala „zapsaná“ pod starým MDM (např. Office 365 Mobile),</li><li>a pak se chovají nekonzistentně.</li></ul><p><strong>Doporučení z praxe:</strong></p><ul><li>buď se změna časem projeví,</li><li>nebo je potřeba zařízení re-enrolovat (odregistrovat a zaregistrovat znovu).</li></ul>								</div>
				</div>
				<div class="elementor-element elementor-element-0fbce07 elementor-widget elementor-widget-heading" data-id="0fbce07" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Mini checklist: když se policy neaplikují ani po správném MDM Authority</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-ffc3517 elementor-widget elementor-widget-text-editor" data-id="ffc3517" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Pokud už máte autoritu správně a stejně „nic neteče“, doporučuji tento rychlý kontrolní seznam:</p><ul><li>Ověřit MDM Authority na úrovni tenantu (Tenant Administration / Tenant Status) – musí být Intune.</li><li>Ověřit, jak je zařízení připojené (Entra joined / Hybrid joined / registered) a že má správný typ enrollmentu.</li><li>U problematických kusů udělat re-enroll (nejčistší test).</li><li>Pokud jde o Hybrid join, ověřit automatický enrollment (GPO / Povolit automatický zápis)</li></ul>								</div>
				</div>
					</div>
				</div>
		<div class="elementor-element elementor-element-6d9d12c e-flex e-con-boxed e-con e-parent" data-id="6d9d12c" data-element_type="container">
					<div class="e-con-inner">
				<div class="elementor-element elementor-element-578996e elementor-widget elementor-widget-heading" data-id="578996e" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Závěrem</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-c6c5e0c elementor-widget elementor-widget-text-editor" data-id="c6c5e0c" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Na tento problém jsem poprvé narazil někdy začátkem toku 2024, ale přibližně jednou za půl roku někde tento problém vyplave a tak jsem se rozhodl sepsat tento návod, abych zmírnil utrpení ostatním adminům.</p>								</div>
				</div>
					</div>
				</div>
				</div>
		]]></content:encoded>
					
					<wfw:commentRss>https://www.sraga.cz/intune-mdm-authority-office-365-mobile/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Exchange Online In-Place Archiv nearchivuje</title>
		<link>https://www.sraga.cz/exchange-online-in-place-archiv-nearchivuje/</link>
					<comments>https://www.sraga.cz/exchange-online-in-place-archiv-nearchivuje/#respond</comments>
		
		<dc:creator><![CDATA[Miroslav Šraga]]></dc:creator>
		<pubDate>Fri, 14 Nov 2025 15:18:16 +0000</pubDate>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Microsoft 365]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Archiv]]></category>
		<category><![CDATA[Exchange Online]]></category>
		<category><![CDATA[In-Place Archive]]></category>
		<category><![CDATA[Managed Folder Assistant]]></category>
		<guid isPermaLink="false">https://www.sraga.cz/?p=1145</guid>

					<description><![CDATA[V posledních dnech jsem narazil na několik na sobě nezávislých problémů, které se týkaly archivace e-mailů v Exchange Online. Když budu konkrétnější, tak jsem řešil, proč Archiv úplně nearchivuje. V tomto článku se tedy zaměřím na věci kolem In-Place Archive. Obsah &#160; Na hraně kapacit &#8211; kdy potřebujete archiv? Nejprve si pojďme říci něco o ... <a title="Exchange Online In-Place Archiv nearchivuje" class="read-more" href="https://www.sraga.cz/exchange-online-in-place-archiv-nearchivuje/" aria-label="Číst více o Exchange Online In-Place Archiv nearchivuje">Číst dál</a>]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="1145" class="elementor elementor-1145" data-elementor-post-type="post">
				<div class="elementor-element elementor-element-9c1fef7 e-flex e-con-boxed e-con e-parent" data-id="9c1fef7" data-element_type="container">
					<div class="e-con-inner">
				<div class="elementor-element elementor-element-6948295 elementor-widget elementor-widget-text-editor" data-id="6948295" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>V posledních dnech jsem narazil na několik na sobě nezávislých problémů, které se týkaly archivace e-mailů v Exchange Online. Když budu konkrétnější, tak jsem řešil, proč Archiv úplně nearchivuje. V tomto článku se tedy zaměřím na věci kolem In-Place Archive.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-32c9c0f elementor-toc--minimized-on-tablet elementor-widget elementor-widget-table-of-contents" data-id="32c9c0f" 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__32c9c0f" 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__32c9c0f" 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__32c9c0f" 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-3a9a454 elementor-widget elementor-widget-heading" data-id="3a9a454" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Na hraně kapacit - kdy potřebujete archiv?</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-4a2ad10 elementor-widget elementor-widget-text-editor" data-id="4a2ad10" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Nejprve si pojďme říci něco o kapacitách v rámci předplatného, které Exchange Online.</p><p><strong>Exchange Online</strong> nabízí dvě hlavní varianty licencí – Plan 1 a Plan 2. Obě poskytují profesionální e-mailové služby, ale liší se zejména ve velikosti schránky, možnostmi archivace a pokročilých funkcích.</p><p><strong>Základní velikost primární schránky</strong></p><ul><li><strong>Exchange Online Plan 1</strong><ul><li>Velikost primární schránky: <strong>50 GB</strong></li><li>Po dosažení limitu nelze přijímat nové zprávy, dokud se neuvolní místo nebo neaktivuje archiv.</li></ul></li><li><strong>Exchange Online Plan 2</strong><ul><li>Velikost primární schránky: <strong>100 GB</strong></li><li>Vhodné pro uživatele s vysokým objemem e-mailů nebo dlouhodobou archivací.</li></ul></li></ul><p><strong>Archivace e-mailů = In-Place Archive</strong></p><p>Archivace je klíčová pro dlouhodobé uchování e-mailů bez nutnosti jejich mazání, když je vyčerpána kapacita primární schránky.</p><ul><li><strong>Plan 1</strong><ul><li>Archiv <strong>je dostupný</strong>, ale musí se <strong>ručně aktivovat</strong> (není zapnutý defaultně).</li><li>Velikost archivu: 50 GB (bez auto-expanding).</li></ul></li><li><strong>Plan 2</strong><ul><li>Archiv je <strong>součástí licence</strong>.</li><li>Velikost archivu: <strong>neomezená</strong> díky funkci <strong>Auto-Expanding Archive</strong> (po dosažení 100 GB se automaticky přidává další prostor).</li><li>Podmínky: Auto-expanding je dostupný pouze pro cloudové archivy, ne pro on-prem.</li></ul></li></ul><p><strong>Přehledová tabulka:</strong></p><table style="border-collapse: collapse; width: 566px; height: 360px;" border="0" cellspacing="0" cellpadding="0"><tbody><tr style="height: 15.0pt;"><td style="height: 15.0pt; width: 48pt;" width="64" height="20"><strong>Funkce</strong></td><td style="width: 48pt;" width="64"><strong>Plan 1</strong></td><td style="width: 48pt;" width="64"><strong>Plan 2</strong></td></tr><tr style="height: 15.0pt;"><td style="height: 15.0pt;" height="20">Primární schránka</td><td>50 GB</td><td>100 GB</td></tr><tr style="height: 15.0pt;"><td style="height: 15.0pt;" height="20">Archivace</td><td>Volitelný doplněk</td><td>Součást licence</td></tr><tr style="height: 15.0pt;"><td style="height: 15.0pt;" height="20">Velikost archivu</td><td>50 GB</td><td>Neomezená (Auto-Expanding)</td></tr><tr style="height: 15.0pt;"><td style="height: 15.0pt;" height="20">MRM politiky</td><td>Ano</td><td>Ano</td></tr><tr style="height: 15.0pt;"><td style="height: 15.0pt;" height="20">Litigation Hold</td><td>Ne</td><td>Ano</td></tr><tr style="height: 15.0pt;"><td style="height: 15.0pt;" height="20">In-Place Hold</td><td>Ne</td><td>Ano</td></tr></tbody></table>								</div>
				</div>
				<div class="elementor-element elementor-element-9e8d2e5 elementor-widget elementor-widget-heading" data-id="9e8d2e5" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Jak aktivovat archiv</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-807da20 elementor-widget elementor-widget-text-editor" data-id="807da20" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Exchange Online Archiv lze aktivovat dvěma způsoby (mimo jiné).</p>								</div>
				</div>
				<div class="elementor-element elementor-element-b43c7e8 elementor-widget elementor-widget-heading" data-id="b43c7e8" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h5 class="elementor-heading-title elementor-size-default">Aktivace pomocí Exchange Admin Centra (EAC)</h5>				</div>
				</div>
				<div class="elementor-element elementor-element-abbc823 elementor-widget elementor-widget-text-editor" data-id="abbc823" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<ol><li>Přihlaste se do EAC (<a href="https://admin.exchange.microsoft.com" target="_blank" rel="noopener">https://admin.exchange.microsoft.com</a>)</li><li>Recipient → Mailboxes</li><li>Vyberte schránku, pro kterou chcete aktivovat archiv</li><li>V pravé části se zobrazí detail schránky &#8211; klikněte na záložku &#8222;Others/Ostatní&#8220;</li><li>Archiv aktivujte pomocí &#8222;Manage mailbox archive&#8220;</li></ol>								</div>
				</div>
				<div class="elementor-element elementor-element-b6b1740 elementor-widget elementor-widget-image" data-id="b6b1740" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2025/11/Exchange-admin-center-—-Others-Mailbox-Archive.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="Exchange admin center — Others - Mailbox Archive" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTE2MiwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMTFcL0V4Y2hhbmdlLWFkbWluLWNlbnRlci1cdTIwMTQtT3RoZXJzLU1haWxib3gtQXJjaGl2ZS5wbmcifQ%3D%3D">
							<img loading="lazy" decoding="async" width="768" height="465" src="https://www.sraga.cz/wp-content/uploads/2025/11/Exchange-admin-center-—-Others-Mailbox-Archive-768x465.png" class="attachment-medium_large size-medium_large wp-image-1162" alt="Exchange admin center — Others - Mailbox Archive" srcset="https://www.sraga.cz/wp-content/uploads/2025/11/Exchange-admin-center-—-Others-Mailbox-Archive-768x465.png 768w, https://www.sraga.cz/wp-content/uploads/2025/11/Exchange-admin-center-—-Others-Mailbox-Archive-300x181.png 300w, https://www.sraga.cz/wp-content/uploads/2025/11/Exchange-admin-center-—-Others-Mailbox-Archive-1024x619.png 1024w, https://www.sraga.cz/wp-content/uploads/2025/11/Exchange-admin-center-—-Others-Mailbox-Archive.png 1210w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-1bb12cb elementor-widget elementor-widget-heading" data-id="1bb12cb" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h5 class="elementor-heading-title elementor-size-default">Aktivace pomocí Exchange Online Powershell</h5>				</div>
				</div>
					</div>
				</div>
		<div class="elementor-element elementor-element-736878a e-flex e-con-boxed e-con e-parent" data-id="736878a" data-element_type="container">
					<div class="e-con-inner">
				<div class="elementor-element elementor-element-02d1304 elementor-widget elementor-widget-code-block-for-elementor" data-id="02d1304" 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'># Připojen&iacute; k Exchange Online Powershell
Connect-ExchangeOnline

# Aktivace Archivu
Enable-Mailbox jan.novak@365lab.cz -Identity -Archive

# Deaktivace Archivu
Disable-Mailbox jan.novak@365lab.cz -Identity -Archive</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-9b4af58 elementor-widget elementor-widget-heading" data-id="9b4af58" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Jak archivace funguje</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-6b0898c elementor-widget elementor-widget-text-editor" data-id="6b0898c" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Exchange Server a <strong>Exchange Online</strong> obsahují několik asistentů (úlohy na pozadí), které provádějí automatizované zpracování dat poštovní schránky. Nás bude zajímat Managed Folder Assistant (MFA).</p>								</div>
				</div>
				<div class="elementor-element elementor-element-26d7e3e elementor-alert-info elementor-widget elementor-widget-alert" data-id="26d7e3e" 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">Pozor</span>
			
						<span class="elementor-alert-description">V tomto článku a v souvislosti s archivací se používá zkratka MFA. Nejedná se v tomto přípdadě o více-faktorové ověření, ale o Managed Folder Assistant.</span>
			
			
		</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-51659ef elementor-widget elementor-widget-text-editor" data-id="51659ef" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p><strong>Managed Folder Assistant</strong> (<span style="text-decoration: underline;">MFA</span>) je systémový proces v Exchange Serveru a Exchange Online, který <strong>automaticky aplikuje retenční politiky</strong> na položky v poštovních schránkách. Je klíčový pro správu <strong>životního cyklu e-mailů</strong>, včetně jejich <strong>přesunu do archivní schránky</strong>.</p><h5><strong>Co MFA dělá</strong></h5><ul><li>Vyhodnocuje retenční politiky (Exchange MRM i Microsoft 365) a aplikuje je na položky.</li><li>Označuje zprávy metadaty, která určují datum vypršení retenční lhůty.</li><li>Provádí akce definované v retenčních značkách:<ul><li><strong>Smazání</strong> (trvale nebo s možností obnovy)</li><li><strong>Přesun</strong> do archivu (<strong>In-Place Archive</strong>).</li></ul></li></ul><h5><strong>Práce s archivací</strong></h5><ul><li>Pokud je v politice definována značka (retention tag) „<strong>Move to Archive</strong>“, MFA po dosažení stáří položky, přesune zprávu z primární schránky do archivu.</li><li>Archivace pomáhá udržet primární schránku přehlednou a zároveň uchovat starší e-maily pro vyhledávání.</li><li>MFA zajišťuje, že položky označené pro archivaci se <strong>přesunou automaticky, bez zásahu uživatele</strong>.</li></ul><p> </p><p> </p>								</div>
				</div>
				<div class="elementor-element elementor-element-83803c1 elementor-alert-warning elementor-widget elementor-widget-alert" data-id="83803c1" 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">Jak MFA pracuje:</span>
			
						<span class="elementor-alert-description">MFA Běží na základě work cycle modelu – v Exchange Online obvykle zpracuje každou schránku alespoň jednou týdně.</span>
			
			
		</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-5f4d1e6 elementor-widget elementor-widget-text-editor" data-id="5f4d1e6" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<h5><strong>Podmínky pro zpracování</strong></h5><ul><li><strong>Schránka musí mít přiřazenou retenční politiku</strong>.</li><li>Musí obsahovat <strong>alespoň 10 MB dat</strong> (indikace aktivního používání).</li><li>MFA kombinuje značky z Exchange MRM politik a Microsoft 365 retenčních politik (v cloudu).</li></ul>								</div>
				</div>
				<div class="elementor-element elementor-element-a656844 elementor-widget elementor-widget-heading" data-id="a656844" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Řešení problémů s archivací</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-d1c25e3 elementor-widget elementor-widget-text-editor" data-id="d1c25e3" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Aby byla automatická archivace funkční, musí mít schránka přidělenou tzv. retenční politiku. Tato politika  musí obsahovat akci (tag) &#8222;MoveToArchive&#8220;</p>								</div>
				</div>
				<div class="elementor-element elementor-element-1b46dbe elementor-widget elementor-widget-image" data-id="1b46dbe" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2025/11/MRM-Retention-tags-_-Microsoft-Purview.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="MRM Retention tags _ Microsoft Purview" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTE4NSwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMTFcL01STS1SZXRlbnRpb24tdGFncy1fLU1pY3Jvc29mdC1QdXJ2aWV3LnBuZyJ9">
							<img loading="lazy" decoding="async" width="768" height="379" src="https://www.sraga.cz/wp-content/uploads/2025/11/MRM-Retention-tags-_-Microsoft-Purview-768x379.png" class="attachment-medium_large size-medium_large wp-image-1185" alt="MRM Retention tags Microsoft Purview" srcset="https://www.sraga.cz/wp-content/uploads/2025/11/MRM-Retention-tags-_-Microsoft-Purview-768x379.png 768w, https://www.sraga.cz/wp-content/uploads/2025/11/MRM-Retention-tags-_-Microsoft-Purview-300x148.png 300w, https://www.sraga.cz/wp-content/uploads/2025/11/MRM-Retention-tags-_-Microsoft-Purview-1024x505.png 1024w, https://www.sraga.cz/wp-content/uploads/2025/11/MRM-Retention-tags-_-Microsoft-Purview.png 1424w" sizes="(max-width: 768px) 100vw, 768px">								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-83a6cd2 elementor-widget elementor-widget-image" data-id="83a6cd2" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2025/11/MRM-Retention-policies-_-Microsoft-Purview.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="MRM Retention policies _ Microsoft Purview" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTE4NCwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMTFcL01STS1SZXRlbnRpb24tcG9saWNpZXMtXy1NaWNyb3NvZnQtUHVydmlldy5wbmcifQ%3D%3D">
							<img loading="lazy" decoding="async" width="768" height="418" src="https://www.sraga.cz/wp-content/uploads/2025/11/MRM-Retention-policies-_-Microsoft-Purview-768x418.png" class="attachment-medium_large size-medium_large wp-image-1184" alt="MRM Retention policies Microsoft Purview" srcset="https://www.sraga.cz/wp-content/uploads/2025/11/MRM-Retention-policies-_-Microsoft-Purview-768x418.png 768w, https://www.sraga.cz/wp-content/uploads/2025/11/MRM-Retention-policies-_-Microsoft-Purview-300x163.png 300w, https://www.sraga.cz/wp-content/uploads/2025/11/MRM-Retention-policies-_-Microsoft-Purview-1024x557.png 1024w, https://www.sraga.cz/wp-content/uploads/2025/11/MRM-Retention-policies-_-Microsoft-Purview.png 1152w" sizes="(max-width: 768px) 100vw, 768px">								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-713d48b elementor-widget elementor-widget-text-editor" data-id="713d48b" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>V případě, že zprávy nejsou přesovány do archivu tak jako první je potřeba zkontrolovat, zda-li má schránka přidělenou retenční politiku. Výchozí retenční politika je &#8222;<strong>Default MRM Policy</strong>&#8220; a výchozí hodnota je 730 dní. To znamená, že zprávy, které jsou starší než 2 roky by měly být automaticky přesouvány do Online Archivu.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-5b1ec2b elementor-widget elementor-widget-code-block-for-elementor" data-id="5b1ec2b" 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'># Zji&scaron;těn&iacute; přidělen&eacute; retenřn&iacute; politiky pro danou schr&aacute;nu
Get-Mailbox -Identity &quot;jan.novak@365lab.cz&quot; | FL RetentionPolicy

# V&yacute;stup:
RetentionPolicy : Default MRM Policy</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-e9fcc34 elementor-widget elementor-widget-text-editor" data-id="e9fcc34" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>V rámci přidělené retenční politiky je potřeba se podívat zda obsahuje tag &#8222;MoveToArchive&#8220;</p>								</div>
				</div>
				<div class="elementor-element elementor-element-5dee402 elementor-widget elementor-widget-code-block-for-elementor" data-id="5dee402" 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'># Seznam v&scaron;ech retenčn&iacute;ch politik
Get-RetentionPolicy

# Je potřeba zkontrolovat RetentionPolicyTagLinks
Get-RetentionPolicy -Identity &quot;Default MRM Policy&quot; | FL *

# Zobraz&iacute; seznam v&scaron;ech tagů v r&aacute;mci retention policy
$policy = Get-RetentionPolicy -Identity &quot;Default MRM Policy&quot;
$policy.RetentionPolicyTagLinks

# viz v&yacute;&scaron;e, ale jin&yacute; pohled na data
$tags = (Get-RetentionPolicy -Identity &quot;Default MRM Policy&quot;).RetentionTags
$tags | ForEach-Object { Get-RetentionPolicyTag -Identity $_ | FL Name,Type,RetentionAction,AgeLimitForRetention,RetentionEnabled }</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-9fe5d4b elementor-widget elementor-widget-image" data-id="9fe5d4b" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2025/11/exchange-archive-retention-policy-powershell-1.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="exchange-archive-retention-policy-powershell-1" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTE4OSwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMTFcL2V4Y2hhbmdlLWFyY2hpdmUtcmV0ZW50aW9uLXBvbGljeS1wb3dlcnNoZWxsLTEucG5nIn0%3D">
							<img loading="lazy" decoding="async" width="768" height="592" src="https://www.sraga.cz/wp-content/uploads/2025/11/exchange-archive-retention-policy-powershell-1-768x592.png" class="attachment-medium_large size-medium_large wp-image-1189" alt="exchange archive retention policy powershell 1" srcset="https://www.sraga.cz/wp-content/uploads/2025/11/exchange-archive-retention-policy-powershell-1-768x592.png 768w, https://www.sraga.cz/wp-content/uploads/2025/11/exchange-archive-retention-policy-powershell-1-300x231.png 300w, https://www.sraga.cz/wp-content/uploads/2025/11/exchange-archive-retention-policy-powershell-1.png 1016w" sizes="(max-width: 768px) 100vw, 768px">								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-4a086b4 elementor-widget elementor-widget-text-editor" data-id="4a086b4" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Obráceně lze ještě ověřit, ve kterých retenčních politikách je retention tag &#8222;MoveToArchive&#8220;</p>								</div>
				</div>
				<div class="elementor-element elementor-element-ac8a1c1 elementor-widget elementor-widget-code-block-for-elementor" data-id="ac8a1c1" 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-RetentionPolicyTag | Where-Object {$_.Type -eq &quot;All&quot; -and $_.RetentionAction -eq &quot;MoveToArchive&quot;} | FL Name,AgeLimitForRetention,RetentionEnabled

# V&yacute;stup
Name                 : Default 2 year move to archive
AgeLimitForRetention : 730.00:00:00
RetentionEnabled     : True</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-67070da elementor-widget elementor-widget-text-editor" data-id="67070da" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Pokud jsou retenční politiky nastaveny správně, je potřeba zkontrolovat, zda-li se In-Place Archiv správně vytvořil.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-5878c10 elementor-widget elementor-widget-code-block-for-elementor" data-id="5878c10" 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'># Informace o Archive mailboxu
Get-MailboxStatistics -Identity &quot;jan.novak@365lab.cz&quot; -Archive
Get-MailboxStatistics -Identity &quot;jan.novak@365lab.cz&quot; -Archive | FL DisplayName,TotalItemSize,ItemCount,LastLogonTime,Database,ServerName</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-e092837 elementor-widget elementor-widget-image" data-id="e092837" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2025/11/exchange-archive-retention-policy-powershell-2.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="exchange-archive-retention-policy-powershell-2" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTE5NiwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMTFcL2V4Y2hhbmdlLWFyY2hpdmUtcmV0ZW50aW9uLXBvbGljeS1wb3dlcnNoZWxsLTIucG5nIn0%3D">
							<img loading="lazy" decoding="async" width="768" height="93" src="https://www.sraga.cz/wp-content/uploads/2025/11/exchange-archive-retention-policy-powershell-2-768x93.png" class="attachment-medium_large size-medium_large wp-image-1196" alt="exchange-archive-retention-policy-powershell-2" srcset="https://www.sraga.cz/wp-content/uploads/2025/11/exchange-archive-retention-policy-powershell-2-768x93.png 768w, https://www.sraga.cz/wp-content/uploads/2025/11/exchange-archive-retention-policy-powershell-2-300x36.png 300w, https://www.sraga.cz/wp-content/uploads/2025/11/exchange-archive-retention-policy-powershell-2-1024x123.png 1024w, https://www.sraga.cz/wp-content/uploads/2025/11/exchange-archive-retention-policy-powershell-2.png 1443w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-513727d elementor-widget elementor-widget-text-editor" data-id="513727d" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Pokud je vše správně:</p><ul><li>DisplayName &#8211; odpovídá tomu, co je vidě v EAC a obsahuje In-Place (nebo vlastní název, která jste zvolili)</li><li>TotalItemSize &#8211; velikost schránky archivu</li><li>ItemCount &#8211; počet objektů v archivu je větší jak 0</li><li>Database a ServerName musí obsahovat data navázaná na Exchange Online</li></ul>								</div>
				</div>
				<div class="elementor-element elementor-element-fb1dd6f elementor-widget elementor-widget-code-block-for-elementor" data-id="fb1dd6f" 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'># Vrac&iacute; z&aacute;kladni informace o archivu
Get-Mailbox -Identity &quot;jan.novak@365lab.cz&quot; | FL ArchiveDatabase,ArchiveStatus,ArchiveState

# V&yacute;stup
ArchiveDatabase : EURP189DG124-db376
ArchiveStatus   : Active
ArchiveState    : Local</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-d989150 elementor-widget elementor-widget-text-editor" data-id="d989150" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Pokud je vše správně:</p><ul><li>ArchiveDatabase &#8211; musí odpovídat údajům Exchange Online, typicky <strong>EUR</strong>*****</li><li>ArchiveStatus<ul><li><strong>Active</strong> &#8211; archiv je aktivní</li><li>None &#8211; archiv není aktivní</li></ul></li><li>ArchiveState<ul><li><strong>Local</strong> &#8211; lokální v Exchange Online</li><li>HostedPending &#8211; Hybrid deployment &#8211; stav před tím, než proběhne directory synchronisation</li><li>HostedProvisioned &#8211; Hybrid deployment &#8211; stav po té, co proběhla synchronizace</li><li>None &#8211; archiv není aktivní</li></ul></li></ul><p>Pokud i zde je všechno v pořádku, může být problém ještě v tom, že na schránce je aktivní hold (RetentionHold, LitigationHold).</p>								</div>
				</div>
				<div class="elementor-element elementor-element-50ab696 elementor-widget elementor-widget-code-block-for-elementor" data-id="50ab696" 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'># Kontrola, zda je na schr&aacute;nce aktivn&iacute; Hold
Get-Mailbox -Identity &quot;jan.novak@365lab.cz&quot; | FL RetentionHoldEnabled,LitigationHoldEnabled

RetentionHoldEnabled  : True
LitigationHoldEnabled : False</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-5250b85 elementor-widget elementor-widget-text-editor" data-id="5250b85" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Ve výše uvedeném příkladu je vidět, že <strong>RetentionHoldEnabled</strong> je nastaveno na hodnotu <strong>True</strong>. To je špatně, protože, aby mohl správně fungovat Managed Folder Assistant, nesmí být na schránce aktivní hold.</p><p>Toto je záměr Microsoftu: Blokování uchovávání dat (<strong>Hold</strong>) <strong>pozastaví všechny akce MRM</strong> (včetně akce MoveToArchive), aby položky nebyly během zvláštních okolností (např. dovolená, právní důvody) odstraněny ani přesunuty.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-57b1b1e elementor-widget elementor-widget-code-block-for-elementor" data-id="57b1b1e" 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'># Vypnut&iacute;  Retention Hold
Set-Mailbox -Identity &quot;jan.novak@365lab.cz&quot; -RetentionHoldEnabled:$false

# Vypnut&iacute;  Litigation Hold
Set-Mailbox -Identity &quot;jan.novak@365lab.cz&quot; -LitigationHoldEnabled:$false</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-1d7e978 elementor-widget elementor-widget-code-block-for-elementor" data-id="1d7e978" 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'># Kontrola, zda je na schr&aacute;nce aktivn&iacute; Hold
Get-Mailbox -Identity &quot;jan.novak@365lab.cz&quot; | FL RetentionHoldEnabled,LitigationHoldEnabled

# V&yacute;stup - zde je v&scaron;e v poř&aacute;dku
RetentionHoldEnabled  : False
LitigationHoldEnabled : False</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-83aed41 elementor-widget elementor-widget-heading" data-id="83aed41" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Urychlení zpracování MRM</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-cc76a89 elementor-widget elementor-widget-text-editor" data-id="cc76a89" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Po té, co je tedy vypnutý hold, je možné vynutit zpracování MFA pomocí powerhsell příkazu:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-cea75d9 elementor-widget elementor-widget-code-block-for-elementor" data-id="cea75d9" 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'># Urychlen&iacute; procesu MFA (managed Folder Assistant)
Start-ManagedFolderAssistant -Identity &quot;jan.novak@365lab.cz&quot;

# Kontrola, zda data do archivu přib&yacute;vaj&iacute;
Get-MailboxStatistics -Identity &quot;jan.novak@365lab.cz&quot; -Archive | FL DisplayName,TotalItemSize,ItemCount,LastLogonTime,Database,ServerName</code></pre>				</div>
				</div>
					</div>
				</div>
				</div>
		]]></content:encoded>
					
					<wfw:commentRss>https://www.sraga.cz/exchange-online-in-place-archiv-nearchivuje/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Bitlocker &#8211; automatické šifrování pomocí Intune</title>
		<link>https://www.sraga.cz/bitlocker-automaticke-sifrovani-pomoci-intune/</link>
					<comments>https://www.sraga.cz/bitlocker-automaticke-sifrovani-pomoci-intune/#respond</comments>
		
		<dc:creator><![CDATA[Miroslav Šraga]]></dc:creator>
		<pubDate>Tue, 17 Jun 2025 18:11:14 +0000</pubDate>
				<category><![CDATA[Microsoft 365]]></category>
		<category><![CDATA[Azure AD / Entra ID]]></category>
		<category><![CDATA[Bezpečnost]]></category>
		<category><![CDATA[Intune]]></category>
		<category><![CDATA[Správa IT]]></category>
		<category><![CDATA[BitLocker]]></category>
		<category><![CDATA[Endpoint protection]]></category>
		<category><![CDATA[Endpoint security]]></category>
		<category><![CDATA[intune]]></category>
		<category><![CDATA[MDM]]></category>
		<category><![CDATA[šifrování]]></category>
		<guid isPermaLink="false">https://www.sraga.cz/?p=1090</guid>

					<description><![CDATA[Mnoho správců IT se mě ptá, jak správně pomocí Intune nasadit BitLocker na zařízeních Windows 11 (ale mnohdy i 10) tak, aby se disk v tichosti na pozadí zašifroval, uživatel nemusel nikam klikat, a aby vše fungovalo &#8222;na první dobrou&#8220;. Microsoft Intune se neustále rozvíjí a umožňuje čím-dál více nastavení, avšak ne všechny konfigurace jsou ... <a title="Bitlocker &#8211; automatické šifrování pomocí Intune" class="read-more" href="https://www.sraga.cz/bitlocker-automaticke-sifrovani-pomoci-intune/" aria-label="Číst více o Bitlocker &#8211; automatické šifrování pomocí Intune">Číst dál</a>]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="1090" class="elementor elementor-1090" data-elementor-post-type="post">
				<div class="elementor-element elementor-element-8c03ec1 e-flex e-con-boxed e-con e-parent" data-id="8c03ec1" data-element_type="container">
					<div class="e-con-inner">
				<div class="elementor-element elementor-element-183eb04 elementor-widget elementor-widget-text-editor" data-id="183eb04" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Mnoho správců IT se mě ptá, <strong>jak správně pomocí Intune nasadit BitLocker na zařízeních Windows</strong> 11 (ale mnohdy i 10) tak, aby se disk v tichosti na pozadí zašifroval, uživatel nemusel nikam klikat, a aby vše fungovalo &#8222;na první dobrou&#8220;. Microsoft Intune se neustále rozvíjí a umožňuje čím-dál více nastavení, avšak ne všechny konfigurace jsou vzájemně kompatibilní a vedou k požadovanému výsledku.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-9ce617c elementor-toc--minimized-on-tablet elementor-widget elementor-widget-table-of-contents" data-id="9ce617c" 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__9ce617c" 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__9ce617c" 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__9ce617c" 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-f2e48ff elementor-widget elementor-widget-heading" data-id="f2e48ff" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Prerekvizity</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-a272188 elementor-widget elementor-widget-text-editor" data-id="a272188" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Aby vše klaplo &#8222;na první dobrou&#8220;, tak je potřeba splnit několik předpokladů, které, pokud nejsou splněny, tak se disk nemusí automaticky zašifrovat, nebo BitLocker nemusí jít spustit ani ručně.</p><p>Jaké jsou tedy požadavky na zařízení, které chceme automaticky na pozadí zašifrovat:</p><ul><li>Pokud se koncoví uživatelé přihlašují k zařízením jako <strong>administrátoři</strong>, zařízení musí používat Windows 10 verze <strong>1803 nebo novější</strong>, nebo <strong>Windows 11</strong>.</li><li>Pokud se koncoví uživatelé přihlašují k zařízením jako <strong>standardní uživatelé</strong>, zařízení musí používat Windows 10 verze <strong>1809 nebo novější</strong>, nebo <strong>Windows 11</strong>.</li><li>Zařízení musí být <strong>připojeno k <a href="https://www.sraga.cz/tag/entra-id/" target="_blank" rel="noopener">Microsoft Entra</a></strong> (dříve Azure AD) nebo hybridně připojeno k Microsoft Entra.</li><li>Zařízení musí obsahovat alespoň <strong>TPM</strong> (Trusted Platform Module) verze <strong>1.2</strong> (dokumentace dříve uváděla potřebu TPM 2.0)</li><li>Režim BIOSu musí být nastaven pouze na Native UEFI.</li><li><strong>Secure boot</strong> state &#8211; musí být ON (zapnuto)</li></ul>								</div>
				</div>
				<div class="elementor-element elementor-element-54cc80c elementor-widget elementor-widget-heading" data-id="54cc80c" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Oprávnění potřebná pro správu BitLockeru</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-e38996e elementor-widget elementor-widget-text-editor" data-id="e38996e" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Řízení přístupu je řízeno na základě rolí (<strong>RBAC</strong>). Pro správu BitLockeru v Intune musí mít účet (uživatel) <a href="https://learn.microsoft.com/en-us/intune/intune-service/fundamentals/role-based-access-control" target="_blank" rel="noopener">přiřazenou roli</a> (RBAC) v Intune, která zahrnuje oprávnění Vzdálené úlohy (<strong>Remote tasks</strong>) s právem Rotovat klíče BitLockeru (<strong>Rotate BitLockerKeys</strong>).</p><p>Toto oprávnění a právo můžete přidat do <a href="https://learn.microsoft.com/en-us/intune/intune-service/fundamentals/create-custom-role" target="_blank" rel="noopener">vlastních RBAC rolí</a>, nebo použít jednu z následujících <a href="https://learn.microsoft.com/en-us/intune/intune-service/fundamentals/role-based-access-control-reference" target="_blank" rel="noopener">předdefinovaných RBAC rolí</a>, které toto právo již obsahují:</p><ul><li>Help Desk Operator (Operátor helpdesku)</li><li>Endpoint Security Administrator (Správce zabezpečení koncového bodu)</li></ul>								</div>
				</div>
				<div class="elementor-element elementor-element-1af16bd elementor-alert-info elementor-widget elementor-widget-alert" data-id="1af16bd" 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">Připomenutí</span>
			
						<span class="elementor-alert-description">Uživatels s oprávněním Global admin (Globální správce) má právo na správu BitLockeru pomocí Intune.</span>
			
			
		</div>
						</div>
				</div>
				<div class="elementor-element elementor-element-cc60471 elementor-widget elementor-widget-heading" data-id="cc60471" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Kde je možné nastavit politiky</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-0ed5aa9 elementor-widget elementor-widget-text-editor" data-id="0ed5aa9" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Automatické šifrování se provádí pomocí konfiguračních politik (konfiguračních zásad nebo také konfiguračních profilů). Pro konfiguraci šifrování na spravovaných zařízeních použijte jeden z následujících typů zásad:</p><p><strong> 1. Zabezpečení koncového bodu (<a href="#endpoint-security">Endpoint security</a>) &gt; Zásady šifrování Windows (Disk Encryption)</strong></p><p>Vyberte z následujících profilů:</p><ul><li><strong>BitLocker</strong><br />Skupina nastavení zaměřená výhradně na konfiguraci BitLockeru.<br />Více informací naleznete v dokumentaci <a href="https://learn.microsoft.com/en-us/windows/client-management/mdm/bitlocker-csp" target="_blank" rel="noopener">BitLocker CSP</a>.</li><li><strong>Šifrování osobních dat (<a href="https://learn.microsoft.com/en-us/windows/security/operating-system-security/data-protection/personal-data-encryption/" target="_blank" rel="noopener">Personal Data Encryption</a> – PDE)</strong><br />PDE se liší od BitLockeru tím, že šifruje <span style="text-decoration: underline;">jednotlivé soubory</span> místo celých svazků a disků.<br />PDE funguje navíc k jiným metodám šifrování, jako je BitLocker.<br />Na rozdíl od BitLockeru, který uvolňuje šifrovací klíče při spuštění systému, PDE neuvolní šifrovací klíče, dokud se uživatel nepřihlásí pomocí Windows Hello for Business.<br />Více informací naleznete v dokumentaci <a href="https://learn.microsoft.com/en-us/windows/client-management/mdm/personaldataencryption-csp" target="_blank" rel="noopener">PDE CSP</a></li></ul><p><strong>2. Konfigurace zařízení (<a href="#device-configuration">Devices &#8211; Windows &#8211; Configuration</a>) &gt; Ochrana koncového bodu &gt; BitLocker</strong></p><ul><li>Nastavení BitLockeru je jednou z dostupných kategorií nastavení pro ochranu koncového bodu ve Windows 10/11.</li><li>Seznam dostupných nastavení BitLockeru, která jsou k dispozici v profilech ochrany koncového bodu najdete v <a href="https://learn.microsoft.com/en-us/windows/client-management/mdm/personaldataencryption-csp" target="_blank" rel="noopener">této dokumentaci</a>.</li></ul><p>Je v celku jedno, který způsob si zvolíte, já spíše tíhnu k první možnosti a tedy šifrování spravovat ze sekce Ochrana koncového bodu (Endpoint security).</p>								</div>
				</div>
				<div class="elementor-element elementor-element-2ecef00 elementor-widget elementor-widget-menu-anchor" data-id="2ecef00" data-element_type="widget" data-widget_type="menu-anchor.default">
				<div class="elementor-widget-container">
							<div class="elementor-menu-anchor" id="endpoint-security"></div>
						</div>
				</div>
				<div class="elementor-element elementor-element-37060cd elementor-widget elementor-widget-heading" data-id="37060cd" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h5 class="elementor-heading-title elementor-size-default">Nastavení pomocí zásad zabezpečení koncového bodu pro zařízení s OS Windows</h5>				</div>
				</div>
				<div class="elementor-element elementor-element-05e299b elementor-widget elementor-widget-text-editor" data-id="05e299b" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<ol><li>Přihlaste se k <a href="https://intune.microsoft.com" target="_blank" rel="noopener">Centru pro správu Microsoft 365</a>.</li><li>V levém menu zvolte: <strong>Zabezpečení koncového bodu</strong> (<strong>Endpoint Security</strong>)</li><li>Vyberte <strong>Šifrování disku</strong> &gt; <strong>Vytvořit zásadu</strong>.</li><li>Zvolte následující možnosti:<br /><ol><li><strong>Platforma</strong>: <em>Windows</em></li><li><strong>Profil</strong>: Zvolte <em>BitLocker</em> nebo šifrování osobních dat. <br />Pro náš účel vyberte volbu <strong>BitLocker</strong></li></ol></li><li>Klikněte na tlačítko <strong>Vytvořit</strong> (<strong>Create</strong>)</li><li>Na základní obrazovce zvolte <strong>Název politiky</strong> a doporučuji také vyplnit <strong>Popis</strong></li><li>Na další stránce zvolte požadovaná nastavení (<strong>Configuration settings</strong>). <br />Jaká nastavení zvolit si popíšeme v další části tohoto článku</li><li>Pokud používáte <strong>Scope tagy</strong>, tak je na další stránce vyberte</li><li>Na stránce přiřazení (<strong>Assignments</strong>) vyberte, na které <strong>skupiny zařízení</strong> chcete tuto politiku aplikovat</li><li>Na poslední stránce <strong>proveďte kontrolu</strong> a <strong>politiku vytvořte</strong></li></ol>								</div>
				</div>
				<div class="elementor-element elementor-element-645bfb6 elementor-widget elementor-widget-image" data-id="645bfb6" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2025/06/MIAC-bitlocker-endpoint-security.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="MIAC-bitlocker-endpoint-security" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTEwMywidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMDZcL01JQUMtYml0bG9ja2VyLWVuZHBvaW50LXNlY3VyaXR5LnBuZyJ9">
							<img loading="lazy" decoding="async" width="716" height="433" src="https://www.sraga.cz/wp-content/uploads/2025/06/MIAC-bitlocker-endpoint-security.png" class="attachment-large size-large wp-image-1103" alt="Microsoft Intune - Endpoint security" srcset="https://www.sraga.cz/wp-content/uploads/2025/06/MIAC-bitlocker-endpoint-security.png 716w, https://www.sraga.cz/wp-content/uploads/2025/06/MIAC-bitlocker-endpoint-security-300x181.png 300w" sizes="(max-width: 716px) 100vw, 716px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-a0bf3d7 elementor-widget elementor-widget-menu-anchor" data-id="a0bf3d7" data-element_type="widget" data-widget_type="menu-anchor.default">
				<div class="elementor-widget-container">
							<div class="elementor-menu-anchor" id="device-configuration"></div>
						</div>
				</div>
				<div class="elementor-element elementor-element-ee15915 elementor-widget elementor-widget-heading" data-id="ee15915" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h5 class="elementor-heading-title elementor-size-default">Nastavení pomocí konfigurační politiky pro zařízení s OS Windows</h5>				</div>
				</div>
				<div class="elementor-element elementor-element-6390446 elementor-widget elementor-widget-text-editor" data-id="6390446" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Ačkoliv tento způsob úplně nepreferuji, stále spousta správců IT nepřišlo na chuť sekci &#8222;<a href="#endpoint-security">Endpoint security</a>&#8220; &#8211; viz předchozí způsob.</p><ol><li>Přihlaste se k <a href="https://intune.microsoft.com" target="_blank" rel="noopener">Centru pro správu Microsoft 365</a>.</li><li>V levém menu zvolte: <strong>Zařízení</strong> (<strong>Devices</strong>)</li><li>Vyberte <strong>Konfigurační profily</strong> (<strong>Configuration</strong>)</li><li>V horním menu klikněte na <strong>Vytvořit zásadu</strong> (<strong>Create New Policy</strong>)</li><li>Zvolte následující možnosti:<br /><ol><li><strong>Platforma</strong>: Windows 10 a novější (<em>Windows 10 and later</em>)</li><li><strong>Profil</strong>: Šablony (<em>Templates</em>)</li></ol></li><li>Vyberte šablonu: <strong>Ochrana koncového bodu</strong> (<strong>Endpoint protection</strong>)</li><li>Klikněte na tlačítko <strong>Vytvořit</strong> (<strong>Create</strong>)</li><li>Na základní obrazovce zvolte <strong>Název politiky</strong> a doporučuji také vyplnit <strong>Popis</strong></li><li>Na další stránce zvolte požadovaná nastavení (<strong>Configuration settings</strong>). <br />Pro náš účel nastavte parametry pouze v sekci <strong>Windows Encryption</strong><br />Jaká nastavení zvolit si popíšeme v další části tohoto článku</li><li>Na stránce přiřazení (<strong>Assignments</strong>) vyberte, na které skupiny zařízení chcete tuto politiku aplikovat</li><li>Případně nastavte pravidla pro aplikování konfiguračního profilu (<strong>Applicability Rules</strong>), nebo ponechte prázdné</li><li>Na poslední stránce proveďte kontrolu a <strong>politiku vytvořte</strong></li></ol>								</div>
				</div>
				<div class="elementor-element elementor-element-0d32fe9 elementor-widget elementor-widget-image" data-id="0d32fe9" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2025/06/MIAC-bitlocker-devices-configuration.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="MIAC-bitlocker-devices-configuration" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTEwMiwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMDZcL01JQUMtYml0bG9ja2VyLWRldmljZXMtY29uZmlndXJhdGlvbi5wbmcifQ%3D%3D">
							<img loading="lazy" decoding="async" width="631" height="431" src="https://www.sraga.cz/wp-content/uploads/2025/06/MIAC-bitlocker-devices-configuration.png" class="attachment-large size-large wp-image-1102" alt="Microsoft Intune - Configuration - windows encryption" srcset="https://www.sraga.cz/wp-content/uploads/2025/06/MIAC-bitlocker-devices-configuration.png 631w, https://www.sraga.cz/wp-content/uploads/2025/06/MIAC-bitlocker-devices-configuration-300x205.png 300w" sizes="(max-width: 631px) 100vw, 631px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-f729828 elementor-widget elementor-widget-heading" data-id="f729828" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Potřebná nastavení pro aktivaci BitLockeru "na pozadí"</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-f1fc67a elementor-widget elementor-widget-text-editor" data-id="f1fc67a" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Budu vycházet z toho, že konfigurační profil (politiku) máte vytvořenou na základě<strong> jednoho z výše uvedených postupů</strong>. Nastavení šifrování je rozděleno do několika sekcí. Popis veškerých nastavení zde budu uvádět pouze v angličtině a to z několika důvodů:</p><ol><li>Všechny admin portály používám výhradně v angličtině a vám to doporučuji také kvůli chybám v překladu</li><li>Chci si zjednodušit práci a nechci vše překládat do češtiny, navíc některé termíny se stejně používají výhradně v angličtině</li><li>Troubleshooting &#8211; pokud budete hledat dokumentaci k nějakému konkrétnímu parametru, stejně budete vycházet z angličtiny</li></ol>								</div>
				</div>
				<div class="elementor-element elementor-element-c165389 elementor-widget elementor-widget-heading" data-id="c165389" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h5 class="elementor-heading-title elementor-size-default">Sekce Bitlocker</h5>				</div>
				</div>
				<div class="elementor-element elementor-element-6d0eaeb elementor-widget elementor-widget-text-editor" data-id="6d0eaeb" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<ul><li><strong>Require Device Encryption:</strong> <em>Enabled</em></li><li><strong>Allow Warning For Other Disk Encryption</strong>: <span style="color: #ff0000;"><em>Disabled</em></span></li><li><strong>Allow Standard User Encryption</strong>: <span style="color: #ff0000;"><em>Enabled</em></span></li><li><strong>Configure Recovery Password Rotation</strong>: <em>Ponechejte rotaci vypnutou, pokud neznáte další souvislosti, nebo zapněte podle konkrétních požadavků</em></li></ul>								</div>
				</div>
				<div class="elementor-element elementor-element-dfe48db elementor-widget elementor-widget-image" data-id="dfe48db" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2025/06/Intune-endpoint-security-bitlocker2.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="Intune-endpoint-security-bitlocker2" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTA5OSwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMDZcL0ludHVuZS1lbmRwb2ludC1zZWN1cml0eS1iaXRsb2NrZXIyLnBuZyJ9">
							<img loading="lazy" decoding="async" width="790" height="252" src="https://www.sraga.cz/wp-content/uploads/2025/06/Intune-endpoint-security-bitlocker2.png" class="attachment-large size-large wp-image-1099" alt="Bitlocker" srcset="https://www.sraga.cz/wp-content/uploads/2025/06/Intune-endpoint-security-bitlocker2.png 790w, https://www.sraga.cz/wp-content/uploads/2025/06/Intune-endpoint-security-bitlocker2-300x96.png 300w, https://www.sraga.cz/wp-content/uploads/2025/06/Intune-endpoint-security-bitlocker2-768x245.png 768w" sizes="(max-width: 790px) 100vw, 790px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-c6f6e90 elementor-widget elementor-widget-heading" data-id="c6f6e90" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h5 class="elementor-heading-title elementor-size-default">Sekce BitLocker Drive Encryption</h5>				</div>
				</div>
				<div class="elementor-element elementor-element-47ae9f5 elementor-widget elementor-widget-text-editor" data-id="47ae9f5" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<ul><li> <strong>Choose drive encryption method and cipher strength (Windows 10 [Version 1511] and later):</strong> <em>Enabled</em><ul><li><em>Nastavení <strong>Encryption method</strong> můžete ponechat výchozí nebo silnější: XTS-AES 128-bit (default)</em></li></ul></li></ul>								</div>
				</div>
				<div class="elementor-element elementor-element-fb81703 elementor-widget elementor-widget-image" data-id="fb81703" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2025/06/Intune-endpoint-security-bitlocker3.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="Intune-endpoint-security-bitlocker3" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTA5OCwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMDZcL0ludHVuZS1lbmRwb2ludC1zZWN1cml0eS1iaXRsb2NrZXIzLnBuZyJ9">
							<img loading="lazy" decoding="async" width="785" height="371" src="https://www.sraga.cz/wp-content/uploads/2025/06/Intune-endpoint-security-bitlocker3.png" class="attachment-large size-large wp-image-1098" alt="BitLocker Drive Encryption" srcset="https://www.sraga.cz/wp-content/uploads/2025/06/Intune-endpoint-security-bitlocker3.png 785w, https://www.sraga.cz/wp-content/uploads/2025/06/Intune-endpoint-security-bitlocker3-300x142.png 300w, https://www.sraga.cz/wp-content/uploads/2025/06/Intune-endpoint-security-bitlocker3-768x363.png 768w" sizes="(max-width: 785px) 100vw, 785px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-fc218fe elementor-widget elementor-widget-heading" data-id="fc218fe" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h5 class="elementor-heading-title elementor-size-default">Sekce Operating System Drives</h5>				</div>
				</div>
				<div class="elementor-element elementor-element-102b907 elementor-widget elementor-widget-text-editor" data-id="102b907" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<ul><li><strong>Enforce drive encryption type on operating system drives</strong>: <em>Enabled</em><ul><li><strong>Select the encryption type: (Device):</strong> <em>Full Encryption</em></li></ul></li><li><strong>Require additional authentication at startup:</strong> <em>Enabled</em><ul><li><strong>Allow BitLocker without a compatible TPM (requires a password or a startup key on a USB flash drive):</strong> <em>False</em></li><li><strong>Configure TPM startup key and PIN:</strong> <em>Do not allow startup key and PIN with TPM<br />(Nesmí být <span style="color: #ff0000;">Require startup key and PIN with TPM</span>)<br /></em></li><li><strong>Configure TPM startup key:</strong> <em>Do not allow startup key with TPM<br />(Nesmí být <span style="color: #ff0000;">Require startup key with TPM</span>)<br /></em></li><li><strong>Configure TPM startup PIN:</strong> <em>Do not allow startup PIN with TPM <br />(Nesmí být <span style="color: #ff0000;">Require startup PIN with TPM</span>)</em></li><li><strong>Configure TPM startup:</strong> <em>Allow TPM</em></li></ul></li><li><strong>Configure minimum PIN length for startup:</strong> <em>Disabled</em> <em>(Default)</em> nebo <em>Not configured</em></li><li><strong>Allow enhanced PINs for startup:</strong> <em>Disabled (Default)</em> nebo <em>Not configured</em></li><li><strong>Disallow standard users from changing the PIN or password:</strong> <em>Disabled (Default)</em> nebo <em>Not configured</em></li><li><strong>Allow devices compliant with InstantGo or HSTI to opt out of pre-boot PIN.:</strong> <em>Disabled (Default)</em> nebo <em>Not configured</em></li><li><strong>Enable use of BitLocker authentication requiring preboot keyboard input on slates:</strong> <em>Disabled (Default)</em> nebo <em>Not configured</em></li><li><strong>Choose how BitLocker-protected operating system drives can be recovered:</strong> <em>Enabled</em><ul><li><strong>Configure user storage of BitLocker recovery information:</strong> <em>Allow 256-bit recovery key + Allow 48-digit recovery password</em></li><li><strong>Allow data recovery agent:</strong> <em>False</em></li><li><strong>Configure storage of BitLocker recovery information to AD DS:</strong> <em>Store recovery passwords only</em></li><li><strong>Do not enable BitLocker until recovery information is stored to AD DS for operating system drives:</strong> <em>True</em></li><li><strong>Omit recovery options from the BitLocker setup wizard:</strong> <em>True</em></li><li><strong>Save BitLocker recovery information to AD DS for operating system drives:</strong> <em>True</em></li></ul></li><li><strong>Configure pre-boot recovery message and URL:</strong> <em>Not configured</em></li></ul>								</div>
				</div>
				<div class="elementor-element elementor-element-41c9ae6 elementor-widget elementor-widget-image" data-id="41c9ae6" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
																<a href="https://www.sraga.cz/wp-content/uploads/2025/06/Intune-endpoint-security-bitlocker5.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="Intune-endpoint-security-bitlocker5" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTA5NiwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMDZcL0ludHVuZS1lbmRwb2ludC1zZWN1cml0eS1iaXRsb2NrZXI1LnBuZyJ9">
							<img loading="lazy" decoding="async" width="810" height="533" src="https://www.sraga.cz/wp-content/uploads/2025/06/Intune-endpoint-security-bitlocker5.png" class="attachment-large size-large wp-image-1096" alt="Bitlocker Operating System Drives" srcset="https://www.sraga.cz/wp-content/uploads/2025/06/Intune-endpoint-security-bitlocker5.png 810w, https://www.sraga.cz/wp-content/uploads/2025/06/Intune-endpoint-security-bitlocker5-300x197.png 300w, https://www.sraga.cz/wp-content/uploads/2025/06/Intune-endpoint-security-bitlocker5-768x505.png 768w" sizes="(max-width: 810px) 100vw, 810px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-cf3231f elementor-widget elementor-widget-heading" data-id="cf3231f" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h5 class="elementor-heading-title elementor-size-default">Sekce Fixed Data Drives</h5>				</div>
				</div>
				<div class="elementor-element elementor-element-b8e156a elementor-widget elementor-widget-text-editor" data-id="b8e156a" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Tato sekce může zůstat v režimu &#8222;<em>Not configured</em>&#8222;, nicméně, pokud chcete zašifrovat všechny pevné disky v zařízení, nastavení by mělo vypadat přibližně takto:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-8868e36 elementor-widget elementor-widget-image" data-id="8868e36" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="840" height="628" src="https://www.sraga.cz/wp-content/uploads/2025/06/Intune-endpoint-security-bitlocker6.png" class="attachment-large size-large wp-image-1095" alt="Bitlocker Fixed Data Drives" srcset="https://www.sraga.cz/wp-content/uploads/2025/06/Intune-endpoint-security-bitlocker6.png 840w, https://www.sraga.cz/wp-content/uploads/2025/06/Intune-endpoint-security-bitlocker6-300x224.png 300w, https://www.sraga.cz/wp-content/uploads/2025/06/Intune-endpoint-security-bitlocker6-768x574.png 768w" sizes="(max-width: 840px) 100vw, 840px" />															</div>
				</div>
					</div>
				</div>
				</div>
		]]></content:encoded>
					
					<wfw:commentRss>https://www.sraga.cz/bitlocker-automaticke-sifrovani-pomoci-intune/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 loading="lazy" 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>Microsoft Outlook &#8211; změna výchozího fontu</title>
		<link>https://www.sraga.cz/microsoft-outlook-zmena-vychoziho-fontu/</link>
					<comments>https://www.sraga.cz/microsoft-outlook-zmena-vychoziho-fontu/#respond</comments>
		
		<dc:creator><![CDATA[Miroslav Šraga]]></dc:creator>
		<pubDate>Sun, 23 Feb 2025 20:18:01 +0000</pubDate>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Intune]]></category>
		<category><![CDATA[Microsoft 365]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[outlook]]></category>
		<category><![CDATA[Outlook Desktop]]></category>
		<category><![CDATA[outlook new]]></category>
		<guid isPermaLink="false">https://www.sraga.cz/?p=1001</guid>

					<description><![CDATA[Jak změnit výchozí font v Outlooku? A jak jej změnit pomocí Microsoft Intune? Jeden by řekl, že na tom nebude nic složitého, bohužel, jak už to u Microsoft bývá, standardní řešení bývají jednoduchá, nestandardní bývají složitá. Je potřeba si uvědomit, že záleží na tom, o jakém Outlooku se bavíme, zda o Novém Outlooku nebo Outlooku ... <a title="Microsoft Outlook &#8211; změna výchozího fontu" class="read-more" href="https://www.sraga.cz/microsoft-outlook-zmena-vychoziho-fontu/" aria-label="Číst více o Microsoft Outlook &#8211; změna výchozího fontu">Číst dál</a>]]></description>
										<content:encoded><![CDATA[		<div data-elementor-type="wp-post" data-elementor-id="1001" class="elementor elementor-1001" data-elementor-post-type="post">
				<div class="elementor-element elementor-element-da433ba e-flex e-con-boxed e-con e-parent" data-id="da433ba" data-element_type="container">
					<div class="e-con-inner">
				<div class="elementor-element elementor-element-92fc83d elementor-widget elementor-widget-text-editor" data-id="92fc83d" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Jak změnit výchozí font v Outlooku? A jak jej změnit pomocí Microsoft Intune? Jeden by řekl, že na tom nebude nic složitého, bohužel, jak už to u Microsoft bývá, standardní řešení bývají jednoduchá, nestandardní bývají složitá. Je potřeba si uvědomit, že záleží na tom, o jakém Outlooku se bavíme, zda o <a href="https://www.sraga.cz/deaktivace-prechodu-outlook-new/" target="_blank" rel="noopener">Novém Outlooku</a> nebo Outlooku na webu, či Outlooku Classic, tedy staré dobré desktopové verzi. Pro každou platformu totiž platí jiný postup.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-72df9b0 elementor-toc--minimized-on-tablet elementor-widget elementor-widget-table-of-contents" data-id="72df9b0" 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__72df9b0" 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__72df9b0" 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__72df9b0" 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-207f883 elementor-widget elementor-widget-heading" data-id="207f883" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Outlook New a Outlook pro web</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-bdfdc46 elementor-widget elementor-widget-text-editor" data-id="bdfdc46" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Začněmě tím jednodušším &#8211; Outlook pro web a Outlook New se nastavují jednodně. To je ta dobrá zpráva. Horší je, že přes Group Policy ani přes Intune toto nastavit nelze. Proč? Protože se jedná o nastavení na úrovni Microsoft Exchange Online, nikoliv nastavení koncového zařízení. A aby toho nebylo málo, jedná se o nastavení &#8222;per user&#8220;. Co k tomu tedy bude potřeba? E<a href="https://learn.microsoft.com/en-us/powershell/exchange/connect-to-exchange-online-powershell?view=exchange-ps" target="_blank" rel="noopener">xchange Online Powershell</a>. Skript pro Microsoft Graph API po ruce nemám.</p><p><strong>1. Připojte se do Exchange Online pomoc PowerShellu</strong></p>								</div>
				</div>
				<div class="elementor-element elementor-element-e722d4f elementor-widget elementor-widget-code-block-for-elementor" data-id="e722d4f" 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'>Connect-ExchangeOnline -UserPrincipalName admin@vasedomena.com</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-ebbf146 elementor-widget elementor-widget-text-editor" data-id="ebbf146" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p><strong>2.</strong> Po úspěšném připojení si můžete <strong>vypsat seznam mailboxů</strong></p>								</div>
				</div>
				<div class="elementor-element elementor-element-9196439 elementor-widget elementor-widget-code-block-for-elementor" data-id="9196439" 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

# V pripade, ze mate prostredi s velkym mnozstvim schranek a nechcete vystup limitovat
Get-Mailbox -ResultSize unlimited</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-b133ec0 elementor-widget elementor-widget-text-editor" data-id="b133ec0" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p><strong>3. Pro zobrazení aktuálního nastavení</strong> konkrétního uživatele, použijte následující příkaz</p>								</div>
				</div>
				<div class="elementor-element elementor-element-6100312 elementor-widget elementor-widget-code-block-for-elementor" data-id="6100312" 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-MailboxMessageConfiguration -Identity anna</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-4042ea8 elementor-widget elementor-widget-text-editor" data-id="4042ea8" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Ve výstupu se zaměřte na následující parametry:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-2cfd298 elementor-widget elementor-widget-code-block-for-elementor" data-id="2cfd298" 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'>DefaultFontName                        : Calibri
DefaultFontSize                        : 3
DefaultFontColor                       : #000000
DefaultFontFlags                       : Normal</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-d38e6ab elementor-widget elementor-widget-text-editor" data-id="d38e6ab" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p><strong>4. Změna nastavení fontu a velikosti</strong></p><p>Pokud potřebujete u schránky změnit font, řekněme na Arial a velikost na 11, použijte následující příkaz:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-43c81c9 elementor-widget elementor-widget-code-block-for-elementor" data-id="43c81c9" 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'>Set-MailboxMessageConfiguration -Identity anna -DefaultFontName &quot;Arial&quot; -DefaultFontSize &quot;11&quot;</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-d3a597c elementor-widget elementor-widget-text-editor" data-id="d3a597c" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p><strong>5. změna u všech schránek</strong></p><p>Změnu výchozího fontu lze samozřejmě změnit pro všechny schránky &#8211; pomocí jednoho příkazu:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-8037b29 elementor-widget elementor-widget-code-block-for-elementor" data-id="8037b29" 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 -ResultSize unlimited | Set-MailboxMessageConfiguration -DefaultFontName &quot;Arial&quot; -DefaultFontSize &quot;11&quot;</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-7dd6814 elementor-widget elementor-widget-text-editor" data-id="7dd6814" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Výše uvedený příkaz má i nevýhody. Není aplikován pro nově vytvořené schránky. Aby bylo možné automaticky nastavit výchozí font a jeho velikost i pro nové schránky, doporuřuji použít naplánovanou úlohu nebo použít můj oblíbený <a href="https://www.sraga.cz/automatizace-skriptu-pnp-powershell-azure-automation/" target="_blank" rel="noopener">Azure Automation Account</a>.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-b25c1a5 elementor-widget elementor-widget-heading" data-id="b25c1a5" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h2 class="elementor-heading-title elementor-size-default">Outlook (Classic) Desktop</h2>				</div>
				</div>
				<div class="elementor-element elementor-element-713bb09 elementor-widget elementor-widget-text-editor" data-id="713bb09" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Zde situace není vůbec jednoduchá. Nastavení v podobě jednoduché Group Policy nebo Intune politiky neexistuje. Ale není všem dnům konec, změny výchozího fontu lze docílit i v desktopovém Outlooku.</p><p>Jak to funguje. Outlook si ukládá nastavení výchozích fontů v registrech, a to konkrétně zde:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-d0dca30 elementor-widget elementor-widget-code-block-for-elementor" data-id="d0dca30" 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-javascript'>HKEY_Current_User\Software\Microsoft\Office\16.0\Common\MailSettings</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-07c4306 elementor-widget elementor-widget-text-editor" data-id="07c4306" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Hodnoty v registru pak vypadaní takto:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-a657fd2 elementor-widget elementor-widget-image" data-id="a657fd2" 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/Registry-Editor-Outlook-Desktop-Font.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="Registry Editor Outlook Desktop Font" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTAwOSwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMDJcL1JlZ2lzdHJ5LUVkaXRvci1PdXRsb29rLURlc2t0b3AtRm9udC5wbmcifQ%3D%3D">
							<img loading="lazy" decoding="async" width="768" height="402" src="https://www.sraga.cz/wp-content/uploads/2025/02/Registry-Editor-Outlook-Desktop-Font-768x402.png" class="attachment-medium_large size-medium_large wp-image-1009" alt="Outlook Desktop - registry - default font settings" srcset="https://www.sraga.cz/wp-content/uploads/2025/02/Registry-Editor-Outlook-Desktop-Font-768x402.png 768w, https://www.sraga.cz/wp-content/uploads/2025/02/Registry-Editor-Outlook-Desktop-Font-300x157.png 300w, https://www.sraga.cz/wp-content/uploads/2025/02/Registry-Editor-Outlook-Desktop-Font-1024x536.png 1024w, https://www.sraga.cz/wp-content/uploads/2025/02/Registry-Editor-Outlook-Desktop-Font.png 1426w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-4e43ccd elementor-widget elementor-widget-text-editor" data-id="4e43ccd" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Jak je z obrázku patrné, nastavení fontu přes editor registru asi nebude úplně komfortní. Lze to, ale asi bych to nikomu nepřál. Můj doporučený postup tedy je:</p><p>1. Na jakékoliv klientské stanici otevřít Outlook Desktop a jít do nastavení výchozích fontů:</p><p><em>File &gt; Options &gt; Mail &gt; Stationary and Fonts</em><br /><em>Soubor &gt; Možnosti &gt; Pošta &gt; Šablony e-mailů a písma</em></p>								</div>
				</div>
				<div class="elementor-element elementor-element-9eb2c74 elementor-widget elementor-widget-image" data-id="9eb2c74" 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/Outlook-Desktop-nastaveni-sablony-a-pisma.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="Outlook Desktop - nastaveni sablony a pisma" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTAxNiwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMDJcL091dGxvb2stRGVza3RvcC1uYXN0YXZlbmktc2FibG9ueS1hLXBpc21hLnBuZyJ9">
							<img loading="lazy" decoding="async" width="768" height="376" src="https://www.sraga.cz/wp-content/uploads/2025/02/Outlook-Desktop-nastaveni-sablony-a-pisma-768x376.png" class="attachment-medium_large size-medium_large wp-image-1016" alt="Outlook Desktop nastavení šablony a písma" srcset="https://www.sraga.cz/wp-content/uploads/2025/02/Outlook-Desktop-nastaveni-sablony-a-pisma-768x376.png 768w, https://www.sraga.cz/wp-content/uploads/2025/02/Outlook-Desktop-nastaveni-sablony-a-pisma-300x147.png 300w, https://www.sraga.cz/wp-content/uploads/2025/02/Outlook-Desktop-nastaveni-sablony-a-pisma-1024x502.png 1024w, https://www.sraga.cz/wp-content/uploads/2025/02/Outlook-Desktop-nastaveni-sablony-a-pisma-1536x752.png 1536w, https://www.sraga.cz/wp-content/uploads/2025/02/Outlook-Desktop-nastaveni-sablony-a-pisma.png 1721w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-44196be elementor-widget elementor-widget-text-editor" data-id="44196be" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Nastavte požadnované písmo a jeho velikost pro Nové zprávy a také pro odpovědi a nastavení uložte. </p><p>Zavřete Outlook.</p><p>Otevřete Editor registru (regedit.exe) a najděte již výše zmíněný klíč:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-bc21496 elementor-widget elementor-widget-code-block-for-elementor" data-id="bc21496" 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-javascript'>HKEY_Current_User\Software\Microsoft\Office\16.0\Common\MailSettings</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-df6749a elementor-widget elementor-widget-text-editor" data-id="df6749a" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Dvojklikem na některou z hodnotu můžete pro jistotu zkontrolovat, zda-li se fotn a jeho velikost v konfiguraci skutečně vyskytuje.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-c6d7562 elementor-widget elementor-widget-image" data-id="c6d7562" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="642" height="220" src="https://www.sraga.cz/wp-content/uploads/2025/02/regedit-outlook-default-font.png" class="attachment-large size-large wp-image-1017" alt="regedit-outlook-default-font." srcset="https://www.sraga.cz/wp-content/uploads/2025/02/regedit-outlook-default-font.png 642w, https://www.sraga.cz/wp-content/uploads/2025/02/regedit-outlook-default-font-300x103.png 300w" sizes="(max-width: 642px) 100vw, 642px" />															</div>
				</div>
				<div class="elementor-element elementor-element-d8414bb elementor-widget elementor-widget-text-editor" data-id="d8414bb" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Pokud je vše v pořádku, klikněte pravým tlačítkem na klíč &#8222;<strong>MailSettins</strong>&#8220; a zvolte možnost &#8222;<strong>Export</strong>&#8222;</p>								</div>
				</div>
				<div class="elementor-element elementor-element-85bdec5 elementor-widget elementor-widget-image" data-id="85bdec5" 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-outlook-default-font-export.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="regedit-outlook-default-font-export" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTAxOCwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMDJcL3JlZ2VkaXQtb3V0bG9vay1kZWZhdWx0LWZvbnQtZXhwb3J0LnBuZyJ9">
							<img loading="lazy" decoding="async" width="768" height="587" src="https://www.sraga.cz/wp-content/uploads/2025/02/regedit-outlook-default-font-export-768x587.png" class="attachment-medium_large size-medium_large wp-image-1018" alt="Outlook Desktop Registry Export" srcset="https://www.sraga.cz/wp-content/uploads/2025/02/regedit-outlook-default-font-export-768x587.png 768w, https://www.sraga.cz/wp-content/uploads/2025/02/regedit-outlook-default-font-export-300x229.png 300w, https://www.sraga.cz/wp-content/uploads/2025/02/regedit-outlook-default-font-export.png 785w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-9fc3770 elementor-widget elementor-widget-text-editor" data-id="9fc3770" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Dobrá. Máme soubor registru s nastavením, které bychm rádi doručili na &#8222;všechny&#8220; nebo &#8222;vybrané&#8220; stanice. Vyjma případu, kdy by bylo možné registri importovat ručně, nabízí se možnost použití Group Policy nebo Microsoft Intune.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-f2062c3 elementor-widget elementor-widget-heading" data-id="f2062c3" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h3 class="elementor-heading-title elementor-size-default">Změna výchozího fontu v Outlooku | Group Policy</h3>				</div>
				</div>
				<div class="elementor-element elementor-element-0bf9570 elementor-widget elementor-widget-text-editor" data-id="0bf9570" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Pro snadnou distribuci nastavení pomocí Group Policy, <strong>musíte převést soubor .REG na soubor .XML.</strong> To lze provést stažením powershell skriptu od <a href="https://4sysops.com/" target="_blank" rel="noopener">4sysops</a> zde. Pro spuštění skriptu zadejte správné cesty:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-c8c1e50 elementor-widget elementor-widget-code-block-for-elementor" data-id="c8c1e50" 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'>.\RegToXML.ps1 c:\path\input.reg c:\path\output.xml</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-97e1bb8 elementor-widget elementor-widget-text-editor" data-id="97e1bb8" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Nyní tento výstupní XML soubor, zkopírujte soubor do počítače, který používáte ke správě Group Policy.</p><p>Otevřete Group Policy editor, vytvořte novou zásadu a přejděte do:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-6e1712e elementor-widget elementor-widget-code-block-for-elementor" data-id="6e1712e" 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'>User Configuration &gt; Preferences &gt; Windows Settings &gt; Registry</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-0587001 elementor-widget elementor-widget-text-editor" data-id="0587001" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Do místa pro vložení textu vložte obsah XML souboru</p><p>Nalinkujte zásadu na správnou OU a zajistěte, aby se politika aplikovala na koncová zaříézení.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-9f19162 elementor-widget elementor-widget-heading" data-id="9f19162" data-element_type="widget" data-widget_type="heading.default">
				<div class="elementor-widget-container">
					<h3 class="elementor-heading-title elementor-size-default">Změna výchozího fontu v Outlooku | Intune</h3>				</div>
				</div>
				<div class="elementor-element elementor-element-0eec6c4 elementor-widget elementor-widget-text-editor" data-id="0eec6c4" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Vzhledem k tomu, že se jedná o úpravu uživatelského registru (HKCU &#8211; HKEY_CURRENT_USER), musíme na problém jít trochu od lesa, protože klasický powershell skript nám v tomto případě moc nepomůže. Takže co budeme potřebovat:</p><ol><li>Stáhněte si balíček <a href="https://github.com/microsoft/Microsoft-Win32-Content-Prep-Tool" target="_blank" rel="noopener">IntuneWin32 Content Prep Tool</a></li><li>Vyexportuje si z registru klíč MailSettings <strong>před</strong> <strong>úpravou </strong>a uložte si jej jako <strong>originalfont.reg</strong></li><li>Proveďte úpravu výchozích fontů, tak jak je popsáno na začátku skriptu a exportuje si z registru klíč MailSettings <strong>po </strong><strong>úpravě </strong>a uložte si jej jako <strong>originalfont.reg</strong></li><li>Vytvořte si následující složky (můžete libovolně, toto je můj setup):</li></ol>								</div>
				</div>
				<div class="elementor-element elementor-element-302d4cf elementor-widget elementor-widget-code-block-for-elementor" data-id="302d4cf" 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'>C:\Tools\IntuneWinAppUtil

C:\Tools\IntuneWinAppUtil\InREG
C:\Tools\IntuneWinAppUtil\Out</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-68187d2 elementor-widget elementor-widget-text-editor" data-id="68187d2" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Soubor <a class="Link--primary" title="IntuneWinAppUtil.exe" href="https://github.com/microsoft/Microsoft-Win32-Content-Prep-Tool/blob/master/IntuneWinAppUtil.exe" aria-label="IntuneWinAppUtil.exe, (File)" target="_blank" rel="noopener">IntuneWinAppUtil.exe</a> si uložte do složky &#8222;<strong>C:\Tools\IntuneWinAppUtil\</strong>&#8222;</p><p>Dále vytvořte 2 spustitelné soubory:</p><p><strong>C:\Tools\IntuneWinAppUtil\InREG\outlookfont.cmd</strong> s obsahem:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-bc7dbc1 elementor-widget elementor-widget-code-block-for-elementor" data-id="bc7dbc1" 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'>reg import .\outlookfont.reg</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-2000ad8 elementor-widget elementor-widget-text-editor" data-id="2000ad8" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p><strong>C:\Tools\IntuneWinAppUtil\InREG\originalfont.cmd</strong> s obsahem:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-591591f elementor-widget elementor-widget-code-block-for-elementor" data-id="591591f" 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'>reg import .\originalfont.reg</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-63268ce elementor-widget elementor-widget-text-editor" data-id="63268ce" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Exportované soubory registru (<strong>originalfont.reg</strong> a <strong>outlookfont.reg</strong>) nakopírujte také do složky &#8222;<strong>C:\Tools\IntuneWinAppUtil\InREG</strong>&#8222;</p><p>Obsah adresáře bude vypadat takto:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-a2cf64e elementor-widget elementor-widget-image" data-id="a2cf64e" 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/intunewin-1.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="intunewin-1" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTAyOCwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMDJcL2ludHVuZXdpbi0xLnBuZyJ9">
							<img loading="lazy" decoding="async" width="768" height="136" src="https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-1-768x136.png" class="attachment-medium_large size-medium_large wp-image-1028" alt="InuneWin - seznam souborů" srcset="https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-1-768x136.png 768w, https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-1-300x53.png 300w, https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-1.png 773w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-8d7e7dc elementor-widget elementor-widget-text-editor" data-id="8d7e7dc" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Spusťte příkazový řádek (cmd.exe) a zadejte tyto příkazy:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-064fd43 elementor-widget elementor-widget-code-block-for-elementor" data-id="064fd43" 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'># Prejit do slozky s IntuneWin
cd C:\Tools\IntuneWinAppUtil\

# Spustit IntuneWinAppUtil
.\IntuneWinAppUtil.exe

# Specifikujte zdrojovou slozku
Please specify the source folder: C:\Tools\IntuneWinAppUtil\InREG

# Specifikjte soubor, ktery spusti instalaci
Please specify the setup file: outlookfont.cmd

# Specifikujte vystupni slozku
Please specify the output folder: C:\Tools\IntuneWinAppUtil\Out

# Slozku katalogu nespecifikujte
Do you want to specify catalog folder (Y/N)?n</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-8055289 elementor-widget elementor-widget-text-editor" data-id="8055289" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Celý proces bude vypadat takto:</p>								</div>
				</div>
				<div class="elementor-element elementor-element-2c79b3e elementor-widget elementor-widget-image" data-id="2c79b3e" 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/intunewin-2.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="intunewin-2" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTAzMiwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMDJcL2ludHVuZXdpbi0yLnBuZyJ9">
							<img loading="lazy" decoding="async" width="768" height="340" src="https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-2-768x340.png" class="attachment-medium_large size-medium_large wp-image-1032" alt="IntuneWIn postup" srcset="https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-2-768x340.png 768w, https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-2-300x133.png 300w, https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-2-1024x453.png 1024w, https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-2-1536x680.png 1536w, https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-2.png 1919w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-62715d6 elementor-widget elementor-widget-text-editor" data-id="62715d6" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Ve složce &#8222;<strong>C:\Tools\IntuneWinAppUtil\Out</strong>&#8220; najdete nový soubor &#8222;<strong>outlookfont.intunewin</strong>&#8222;.</p><p>Přejtedě to <a href="https://intune.microsoft.com" target="_blank" rel="noopener">Microsoft Intune Admin Centra</a></p><p><strong>Zařízení &gt; Aplikace &gt; Windows &gt; Přidat &gt; Aplikace pro Windows (Win32)</strong></p>								</div>
				</div>
				<div class="elementor-element elementor-element-b7ce556 elementor-widget elementor-widget-image" data-id="b7ce556" 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/intunewin-3.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="intunewin-3" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTAzNiwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMDJcL2ludHVuZXdpbi0zLnBuZyJ9">
							<img loading="lazy" decoding="async" width="768" height="312" src="https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-3-768x312.png" class="attachment-medium_large size-medium_large wp-image-1036" alt="Intune - win32 app" srcset="https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-3-768x312.png 768w, https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-3-300x122.png 300w, https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-3-1024x417.png 1024w, https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-3-1536x625.png 1536w, https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-3.png 1723w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-ee4b750 elementor-widget elementor-widget-text-editor" data-id="ee4b750" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Klikěte na &#8222;Vybrat soubor balíčku aplikace&#8220;  a v pravé části obrazovky klikněte na ikonu &#8222;složky&#8220; a vyberte soubor ze složky Out (<strong>outlookfont.intunewin</strong>)</p>								</div>
				</div>
				<div class="elementor-element elementor-element-88ae0d3 elementor-widget elementor-widget-image" data-id="88ae0d3" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="1024" height="490" src="https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-4-1024x490.png" class="attachment-large size-large wp-image-1037" alt="IntuneWin - balíček" srcset="https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-4-1024x490.png 1024w, https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-4-300x143.png 300w, https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-4-768x367.png 768w, https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-4-1536x735.png 1536w, https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-4.png 1861w" sizes="(max-width: 1024px) 100vw, 1024px" />															</div>
				</div>
				<div class="elementor-element elementor-element-bece153 elementor-widget elementor-widget-text-editor" data-id="bece153" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>V sekci &#8222;Informace o aplikaci&#8220; zadejte minimálně povinné údaje</p><ul><li>Název</li><li>Popis</li><li>Vydavatel</li></ul><p>A klikněte na tlačítko &#8222;<strong>Další</strong>&#8222;</p>								</div>
				</div>
				<div class="elementor-element elementor-element-74cd1d6 elementor-widget elementor-widget-image" data-id="74cd1d6" 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/intunewin-5.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="intunewin-5" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTAzOCwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMDJcL2ludHVuZXdpbi01LnBuZyJ9">
							<img loading="lazy" decoding="async" width="1024" height="788" src="https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-5-1024x788.png" class="attachment-large size-large wp-image-1038" alt="IntuneWin - Informace o aplikaci" srcset="https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-5-1024x788.png 1024w, https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-5-300x231.png 300w, https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-5-768x591.png 768w, https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-5.png 1108w" sizes="(max-width: 1024px) 100vw, 1024px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-b13d892 elementor-widget elementor-widget-text-editor" data-id="b13d892" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>V sekci &#8222;<strong>Program</strong>&#8220; zadejte</p><ul><li>Příkaz pro instalaci: &#8222;outlookfont.cmd&#8220;</li><li>Příkaz pro odinstalaci: &#8222;originalfont.cmd&#8220;</li><li>Chování při instalaci: Uživatel</li></ul><p>Zbytek údajů vyplňte dle potřeby a klikněte na tlačítko &#8222;<strong>Další</strong>&#8222;</p>								</div>
				</div>
				<div class="elementor-element elementor-element-a749119 elementor-widget elementor-widget-image" data-id="a749119" 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/intunewin-6.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="intunewin-6" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTA0MiwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMDJcL2ludHVuZXdpbi02LnBuZyJ9">
							<img loading="lazy" decoding="async" width="768" height="798" src="https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-6-768x798.png" class="attachment-medium_large size-medium_large wp-image-1042" alt="IntuneWin-program" srcset="https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-6-768x798.png 768w, https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-6-289x300.png 289w, https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-6.png 827w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-dac43a2 elementor-widget elementor-widget-text-editor" data-id="dac43a2" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>V sekci &#8222;<strong>Poždavky</strong>&#8220; je potřeba vypořádat se alespoň s povynnými údaji</p><ul><li>Architektura operačního systému: <em>vybere obě</em></li><li>Minimální operační systém: <em>zvolte podle toho, co ve firmě používáte</em></li></ul><p>Klikněte na tlačítko &#8222;<strong>Další</strong>&#8222;</p>								</div>
				</div>
				<div class="elementor-element elementor-element-258a2a1 elementor-widget elementor-widget-image" data-id="258a2a1" 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/intunewin-7.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="intunewin-7" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTA0MywidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMDJcL2ludHVuZXdpbi03LnBuZyJ9">
							<img loading="lazy" decoding="async" width="768" height="603" src="https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-7-768x603.png" class="attachment-medium_large size-medium_large wp-image-1043" alt="IntuneWin - požadavky" srcset="https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-7-768x603.png 768w, https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-7-300x236.png 300w, https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-7-1024x804.png 1024w, https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-7.png 1112w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-85529ac elementor-widget elementor-widget-text-editor" data-id="85529ac" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p><strong>Pravidla detekce</strong> slouží k tomu, aby Intune poznal, zda-li je aplikace v systému nainstalovaná či nikoliv. Pravidlo detekce je povinným údajem, proto se s ním musíme nějak vypořádat.</p><ul><li>Formát pravidel: <em>Ručně nakonfigurovat pravidla zjišťování</em></li><li>Klikněte na &#8222;<strong>+ Přidat</strong>&#8222;</li><li>Typ pravidla: <em>Registr</em></li><li>Cesta ke klíči: <em>Computer\HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\MailSettings</em></li><li>Název hodnoty: <em>ComposeFontSimple</em></li></ul><p>A teď máte 2 možnosti.</p><p>1. <strong>Metoda zjišťování: Hodnota existuje</strong> &#8211; tímto jsem začal a má to své neduhy, protože tato hodnota existuje od začátku, pokud je Outlook Desktop (Classic) v počítači již nainstalovaný. Takže k vyhodnocení dojde tak či tak a instalace nemusí proběhnout</p><p>2. <strong>Metoda zjišťování: Porovnání řetězců</strong></p><ul><li>Operátor: <em>Je rovno</em></li><li>Hodnota: </li></ul>								</div>
				</div>
				<div class="elementor-element elementor-element-7e3d126 elementor-widget elementor-widget-code-block-for-elementor" data-id="7e3d126" 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'>hex:3c,00,00,00,1f,00,00,f8,00,00,00,40,dc,00,00,00,00,00,\   00,00,00,00,00,00,00,22,41,72,69,61,6c,00,00,00,00,00,00,00,00,00,00,00,00,\   00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00</code></pre>				</div>
				</div>
				<div class="elementor-element elementor-element-6e310b2 elementor-widget elementor-widget-text-editor" data-id="6e310b2" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Výše uvedená hodnota je z nového nastavení a již obsahuje font Arial o velikosti 11 (původní font je Aptos)</p>								</div>
				</div>
				<div class="elementor-element elementor-element-a511440 elementor-widget elementor-widget-image" data-id="a511440" 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/intunewin-8.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="intunewin-8" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTA0NywidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMDJcL2ludHVuZXdpbi04LnBuZyJ9">
							<img loading="lazy" decoding="async" width="768" height="424" src="https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-8-768x424.png" class="attachment-medium_large size-medium_large wp-image-1047" alt="IntuneWin - pravidla detekce" srcset="https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-8-768x424.png 768w, https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-8-300x166.png 300w, https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-8-1024x566.png 1024w, https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-8-1536x848.png 1536w, https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-8.png 1622w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-72e510d elementor-widget elementor-widget-text-editor" data-id="72e510d" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Sekce &#8222;Nahrazování&#8220; a &#8222;Závoslosti&#8220; v tomto případě můžete přeskočit a věnujte pozornost sekci <strong>&#8222;Přiřazení&#8220;.</strong></p><p>Doporučuji zacílit na skuponu zabezpečení. Já cílím na skupiny vždy. Volby pro &#8222;Všechna zařízení&#8220; či &#8222;Všichni uživatelé&#8220; nikdy nepoužítám.</p><p>Zvolte skupinu dle potřeby a pokračujte tlačítkem &#8222;<strong>Další</strong>&#8220; na rekapitulaci a aplikaci vytvořte.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-c3bcbdb elementor-widget elementor-widget-image" data-id="c3bcbdb" data-element_type="widget" data-widget_type="image.default">
				<div class="elementor-widget-container">
															<img loading="lazy" decoding="async" width="1024" height="553" src="https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-9-1024x553.png" class="attachment-large size-large wp-image-1048" alt="IntuneWin - Přiřazení" srcset="https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-9-1024x553.png 1024w, https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-9-300x162.png 300w, https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-9-768x415.png 768w, https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-9-1536x830.png 1536w, https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-9.png 1605w" sizes="(max-width: 1024px) 100vw, 1024px" />															</div>
				</div>
				<div class="elementor-element elementor-element-667f1d5 elementor-widget elementor-widget-text-editor" data-id="667f1d5" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p>Po uložení nastavení nějakou chvíli trvá, než se aplikace na zařízení nainstaluje. Každopádně po úspěšné instalaci se uživateli v Outlooku zobrazí požadovaný font.</p>								</div>
				</div>
				<div class="elementor-element elementor-element-aaaaab6 elementor-widget elementor-widget-image" data-id="aaaaab6" 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/intunewin-10.png" data-elementor-open-lightbox="yes" data-elementor-lightbox-title="intunewin-10" data-e-action-hash="#elementor-action%3Aaction%3Dlightbox%26settings%3DeyJpZCI6MTA1MiwidXJsIjoiaHR0cHM6XC9cL3d3dy5zcmFnYS5jelwvd3AtY29udGVudFwvdXBsb2Fkc1wvMjAyNVwvMDJcL2ludHVuZXdpbi0xMC5wbmcifQ%3D%3D">
							<img loading="lazy" decoding="async" width="768" height="457" src="https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-10-768x457.png" class="attachment-medium_large size-medium_large wp-image-1052" alt="Outlook Classic Desktop Font" srcset="https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-10-768x457.png 768w, https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-10-300x179.png 300w, https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-10-1024x609.png 1024w, https://www.sraga.cz/wp-content/uploads/2025/02/intunewin-10.png 1141w" sizes="(max-width: 768px) 100vw, 768px" />								</a>
															</div>
				</div>
				<div class="elementor-element elementor-element-6965c10 elementor-widget elementor-widget-text-editor" data-id="6965c10" data-element_type="widget" data-widget_type="text-editor.default">
				<div class="elementor-widget-container">
									<p><strong>Tento postup je šitý horkou jehlou</strong>, předpokládám, že mohou nastat problémy s detekcí registru a tím pádem mohou vznikat chybné reporty v Intune Admin centru. Při testovální v labu jsem se setkal s chybovým hlášením &#8222;<strong>Aplikaci se nepovedlo detekovat, i když se její instalace úspěšně dokončila. (0x87D1041C)</strong>&#8222;. Pokud se s tímto také setkáte, neznamená to, že by se nastavení neaplikovalo, ale že detekční pravidla nejsou nastavena úplně správně. Věřím, že návod vás nasměroval a kosmetické vady si již doladíte.</p>								</div>
				</div>
					</div>
				</div>
				</div>
		]]></content:encoded>
					
					<wfw:commentRss>https://www.sraga.cz/microsoft-outlook-zmena-vychoziho-fontu/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
