<?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>active directory Archives - Apostolidis Cloud Corner</title>
	<atom:link href="https://www.cloudcorner.gr/tag/active-directory/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.cloudcorner.gr/tag/active-directory/</link>
	<description>Remarks from a Cloud Architect encounters</description>
	<lastBuildDate>Fri, 20 Nov 2020 09:00:06 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>

<image>
	<url>https://www.cloudcorner.gr/wp-content/uploads/2021/04/cropped-cloudcorner2-32x32.png</url>
	<title>active directory Archives - Apostolidis Cloud Corner</title>
	<link>https://www.cloudcorner.gr/tag/active-directory/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Azure Client VPN with Azure AD auth &#038; MFA &#124; Step by step guide</title>
		<link>https://www.cloudcorner.gr/microsoft/azure/azure-client-vpn-with-azure-ad-auth-mfa-step-by-step-guide/</link>
					<comments>https://www.cloudcorner.gr/microsoft/azure/azure-client-vpn-with-azure-ad-auth-mfa-step-by-step-guide/#comments</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Tue, 02 Jun 2020 21:16:37 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[active directory]]></category>
		<category><![CDATA[azure]]></category>
		<category><![CDATA[azure active directory]]></category>
		<category><![CDATA[azure ad]]></category>
		<category><![CDATA[conditional access]]></category>
		<category><![CDATA[mfa]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[openvpn]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[ssl vpn]]></category>
		<category><![CDATA[vpn]]></category>
		<category><![CDATA[vpn gateway]]></category>
		<guid isPermaLink="false">https://www.e-apostolidis.gr/?p=3514</guid>

					<description><![CDATA[<p>Azure Client VPN using Azure AD &#38; MFA Azure Virtual Network Gateway provides the ability to connect to your Azure</p>
<p>The post <a href="https://www.cloudcorner.gr/microsoft/azure/azure-client-vpn-with-azure-ad-auth-mfa-step-by-step-guide/">Azure Client VPN with Azure AD auth &#038; MFA | Step by step guide</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h1>Azure Client VPN using Azure AD &amp; MFA</h1>
<p>Azure Virtual Network Gateway provides the ability to connect to your Azure Virtual Network with Azure Client VPN (SSL) connections using your Azure AD or hybrid identity, with Multi Factor Authentication (MFA) and your Conditional Access policies.</p>
<p>We can have an Enterprise grade SSL VPN, with Active Directory authentication and Single Sign on (SSO) from your corporate laptops and apply all your conditional access policies, like MFA, Compliance devices, trused locations, etc.</p>
<h2>How to create the VPN Gateway</h2>
<p>Go to your Virtual Network&#8217;s subnets and create a Gateway subnet by clicking the &#8220;+ Gateway subnet&#8221;<img fetchpriority="high" decoding="async" width="891" height="536" class="alignnone size-full wp-image-3515 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/06/img_5ed6a426d77ae.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6a426d77ae.png 891w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6a426d77ae-300x180.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6a426d77ae-768x462.png 768w" sizes="(max-width: 891px) 100vw, 891px" /></p>
<p>Create a Virtual network gateway, by searching for the &#8220;Virtual network gateways&#8221; service and press Add.</p>
<p id="XbDmhqE"><img decoding="async" width="492" height="336" class="alignnone size-full wp-image-3516 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/06/img_5ed6a4931a565.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6a4931a565.png 492w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6a4931a565-300x205.png 300w" sizes="(max-width: 492px) 100vw, 492px" /></p>
<p>Select &#8220;VPN&#8221;, &#8220;Route-based&#8221; and at the SKU select any size except the Basic. Basic SKU does not support Azure AD authentication.</p>
<p id="qvgewrJ"><img decoding="async" width="948" height="504" class="alignnone size-full wp-image-3517 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/06/img_5ed6a50482005.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6a50482005.png 948w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6a50482005-300x159.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6a50482005-768x408.png 768w" sizes="(max-width: 948px) 100vw, 948px" /></p>
<p>Create a Public IP and leave all other settings default and create the Gateway.</p>
<p id="UXfLamy"><img loading="lazy" decoding="async" width="935" height="408" class="alignnone size-full wp-image-3519 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/06/img_5ed6a85e07a51.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6a85e07a51.png 935w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6a85e07a51-300x131.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6a85e07a51-768x335.png 768w" sizes="auto, (max-width: 935px) 100vw, 935px" /></p>
<p>After about 20 minutes the VPN Gateway is ready. In the meantime we will prepare the Azure AD and give concern to use the Azure AD with the Azure client VPN. Using a <strong>Global Admin</strong> account, go to the &#8220;Azure Active Directory&#8221; and copy the &#8220;Tenant ID&#8221; from the Overview blade, and keep it on a notepad.</p>
<p id="gHUHJqv"><img loading="lazy" decoding="async" width="1081" height="603" class="alignnone size-full wp-image-3521 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/06/img_5ed6b05cd34f5.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6b05cd34f5.png 1081w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6b05cd34f5-300x167.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6b05cd34f5-1024x571.png 1024w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6b05cd34f5-768x428.png 768w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6b05cd34f5-360x200.png 360w" sizes="auto, (max-width: 1081px) 100vw, 1081px" /></p>
<p>Then copy the url and paste the below url to your browser&#8217;s address bar. You need to log in with a <strong>Global Admin</strong> <strong>non guest non Microsoft</strong> account.</p>
<p><a href="https://login.microsoftonline.com/common/oauth2/authorize?client_id=41b23e61-6c1e-4545-b367-cd054e0ed4b4&amp;response_type=code&amp;redirect_uri=https://portal.azure.com&amp;nonce=1234&amp;prompt=admin_consent">https://login.microsoftonline.com/common/oauth2/authorize?client_id=41b23e61-6c1e-4545-b367-cd054e0ed4b4&amp;response_type=code&amp;redirect_uri=https://portal.azure.com&amp;nonce=1234&amp;prompt=admin_consent</a></p>
<p>With a guest or Microsoft account, even if it is Global Admin, you will be propted to login with an admin account, meaning a member work account.</p>
<p id="kAAExqq"><img loading="lazy" decoding="async" width="643" height="608" class="alignnone size-full wp-image-3524 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/06/img_5ed6b4475597c.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6b4475597c.png 643w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6b4475597c-300x284.png 300w" sizes="auto, (max-width: 643px) 100vw, 643px" /></p>
<p>Once you login with a member work Global Admin account, you can accept the permissions to create the Azure VPN application</p>
<p id="fGSMgKv"><img loading="lazy" decoding="async" width="596" height="679" class="alignnone size-full wp-image-3525 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/06/img_5ed6b48355abd.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6b48355abd.png 596w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6b48355abd-263x300.png 263w" sizes="auto, (max-width: 596px) 100vw, 596px" /></p>
<p>You can navigate to the Azure Active Directory / Enterprise Application and view / manage the Azure AD application.</p>
<p id="tOfnbRl"><img loading="lazy" decoding="async" width="950" height="541" class="alignnone size-full wp-image-3526 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/06/img_5ed6b4b4bf3bd.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6b4b4bf3bd.png 950w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6b4b4bf3bd-300x171.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6b4b4bf3bd-768x437.png 768w" sizes="auto, (max-width: 950px) 100vw, 950px" /></p>
<p>Open the Azure VPN enterprise application and copy the &#8220;Application ID&#8221; to a notepad.</p>
<p id="LhEUXqE"><img loading="lazy" decoding="async" width="730" height="460" class="alignnone size-full wp-image-3527 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/06/img_5ed6b715717d7.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6b715717d7.png 730w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6b715717d7-300x189.png 300w" sizes="auto, (max-width: 730px) 100vw, 730px" /></p>
<p>Go to the VPN Gateway, select the &#8220;Point to site configuration&#8221; and click the &#8220;Configure now&#8221;</p>
<p id="cDHYpor"><img loading="lazy" decoding="async" width="752" height="562" class="alignnone size-full wp-image-3520 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/06/img_5ed6af1243349.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6af1243349.png 752w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6af1243349-300x224.png 300w" sizes="auto, (max-width: 752px) 100vw, 752px" /></p>
<p>Add the Address Pool that you want the VPN clients to have, for Tunnel type select &#8220;OpenVPN (SSL) as it is the only type that supports Azure AD authentication.</p>
<p>Then use the details that you have copied to the notepad, the Tenant ID and the Application ID, and add them to the required fields and press save.</p>
<ul>
<li>Tenant: https://login.microsoftonline.com/paste-your-tenant-id-here</li>
<li>Audience: paste-the-azure-vpn-application-id-here</li>
<li>Issuer: https://sts.windows.net/paste-your-tenant-id-here/</li>
</ul>
<p id="vbJwJxG"><img loading="lazy" decoding="async" width="630" height="623" class="alignnone size-full wp-image-3531 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/06/img_5ed6b96e0f4ab.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6b96e0f4ab.png 630w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6b96e0f4ab-300x297.png 300w" sizes="auto, (max-width: 630px) 100vw, 630px" /></p>
<h2>How to Download the VPN Client and Connect to the Gateway</h2>
<p>Download the VPN client, using the button.</p>
<p id="rGhrhkI"><img loading="lazy" decoding="async" width="543" height="140" class="alignnone size-full wp-image-3532 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/06/img_5ed6b9dbea812.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6b9dbea812.png 543w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6b9dbea812-300x77.png 300w" sizes="auto, (max-width: 543px) 100vw, 543px" /></p>
<p>Extrack the downloadded zip file</p>
<p id="qhhgLTL"><img loading="lazy" decoding="async" width="319" height="131" class="alignnone size-full wp-image-3533 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/06/img_5ed6ba4ac8144.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6ba4ac8144.png 319w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6ba4ac8144-300x123.png 300w" sizes="auto, (max-width: 319px) 100vw, 319px" /></p>
<p>And at the AzureVPN folder you will find the configuration xml.</p>
<p id="KcgzbGt"><img loading="lazy" decoding="async" width="505" height="228" class="alignnone size-full wp-image-3534 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/06/img_5ed6bab24518b.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6bab24518b.png 505w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6bab24518b-300x135.png 300w" sizes="auto, (max-width: 505px) 100vw, 505px" /></p>
<p>Open the Microsoft Store and get the Azure VPN Client</p>
<p id="YqtvuLo"><img loading="lazy" decoding="async" width="954" height="668" class="alignnone size-full wp-image-3535 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/06/img_5ed6bb49de438.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6bb49de438.png 954w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6bb49de438-300x210.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6bb49de438-768x538.png 768w" sizes="auto, (max-width: 954px) 100vw, 954px" /></p>
<p>Open the Azure VPN Client and at the lower left corner, press the + and Import the xml configuration file</p>
<p id="QDTOiQv"><img loading="lazy" decoding="async" width="1268" height="997" class="alignnone size-full wp-image-3536 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/06/img_5ed6bc065436b.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6bc065436b.png 1268w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6bc065436b-300x236.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6bc065436b-1024x805.png 1024w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6bc065436b-768x604.png 768w" sizes="auto, (max-width: 1268px) 100vw, 1268px" /></p>
<p>accept all the settings and press save</p>
<p id="lbuQpHb"><img loading="lazy" decoding="async" width="536" height="887" class="alignnone size-full wp-image-3537 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/06/img_5ed6bc2cbe829.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6bc2cbe829.png 536w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6bc2cbe829-181x300.png 181w" sizes="auto, (max-width: 536px) 100vw, 536px" /></p>
<p>The Azure VPN connection will appear at the Azure VPN client and also at the Windows 10 network connections, like any other VPN</p>
<p>Azure VPN Client:</p>
<p id="jqPwQBD"><img loading="lazy" decoding="async" width="542" height="308" class="alignnone size-full wp-image-3538 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/06/img_5ed6bc402e108.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6bc402e108.png 542w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6bc402e108-300x170.png 300w" sizes="auto, (max-width: 542px) 100vw, 542px" /></p>
<p>Windows 10 Network Connections:</p>
<p id="kJAsVUF"><img loading="lazy" decoding="async" width="438" height="714" class="alignnone size-full wp-image-3539 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/06/img_5ed6bc7fb9a2f.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6bc7fb9a2f.png 438w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6bc7fb9a2f-184x300.png 184w" sizes="auto, (max-width: 438px) 100vw, 438px" /></p>
<p>Once you press connect, it will prompt you to connect using the account(s) that you are already using at your Windows 10 machine, or use a different account</p>
<p id="eJISWQM"><img loading="lazy" decoding="async" width="552" height="620" class="alignnone size-full wp-image-3540 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/06/img_5ed6bcd312f28.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6bcd312f28.png 552w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6bcd312f28-267x300.png 267w" sizes="auto, (max-width: 552px) 100vw, 552px" /></p>
<p>You will be prompted for MFA or any other conditional access policy you have applied, and the you will be connected.</p>
<p id="esSTiap"><img loading="lazy" decoding="async" width="1277" height="512" class="alignnone size-full wp-image-3541 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/06/img_5ed6bd8c30d69.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6bd8c30d69.png 1277w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6bd8c30d69-300x120.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6bd8c30d69-1024x411.png 1024w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed6bd8c30d69-768x308.png 768w" sizes="auto, (max-width: 1277px) 100vw, 1277px" /></p>
<h2>Conditional Access &amp; Multi-Factor Authentication (MFA)</h2>
<p>You can add Conditional Access to the Azure client VPN connection. Go to Azure Active Directory / Security / Conditional Access and create a new Policy.</p>
<p>Select the &#8220;Azure VPN&#8221; at the &#8220;Cloud apps or actions&#8221; section</p>
<p><img loading="lazy" decoding="async" width="865" height="842" class="alignnone size-full wp-image-3547 " style="font-size: 1.0625rem;" src="https://www.e-apostolidis.gr/wp-content/uploads/2020/06/img_5ed735787be01.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed735787be01.png 865w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed735787be01-300x292.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed735787be01-768x748.png 768w" sizes="auto, (max-width: 865px) 100vw, 865px" /></p>
<p id="csTztEz"><img loading="lazy" decoding="async" width="895" height="431" class="alignnone size-full wp-image-3548 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/06/img_5ed735abe7b3b.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed735abe7b3b.png 895w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed735abe7b3b-300x144.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed735abe7b3b-768x370.png 768w" sizes="auto, (max-width: 895px) 100vw, 895px" /></p>
<p>At the Access Controls / Grand section, you can require multi-factor authentication, or AD Joined device, or compliant device, or all of that</p>
<p id="HUUcMBC"><img loading="lazy" decoding="async" width="706" height="650" class="alignnone size-full wp-image-3549 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/06/img_5ed735cd68190.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed735cd68190.png 706w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed735cd68190-300x276.png 300w" sizes="auto, (max-width: 706px) 100vw, 706px" /></p>
<p>At the &#8220;Conditions&#8221; section you can controll the location that the policy will apply. Lets say, you can apply the MFA requirement at &#8220;Any location&#8221; and exclude the &#8220;Trusted locations&#8221;, in order to not require MFA when the device is at a trusted location, like your company&#8217;s network.</p>
<p id="qhmCyyd"><img loading="lazy" decoding="async" width="1027" height="498" class="alignnone size-full wp-image-3550 " src="https://www.e-apostolidis.gr/wp-content/uploads/2020/06/img_5ed73635a0fc0.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed73635a0fc0.png 1027w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed73635a0fc0-300x145.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed73635a0fc0-1024x497.png 1024w, https://www.cloudcorner.gr/wp-content/uploads/2020/06/img_5ed73635a0fc0-768x372.png 768w" sizes="auto, (max-width: 1027px) 100vw, 1027px" /></p>
<p>&nbsp;</p>
<div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><img loading="lazy" decoding="async" src="https://www.e-apostolidis.gr/wp-content/uploads/2019/05/mvpsummit2019.jpg" width="100"  height="100" alt="Pantelis Apostolidis" itemprop="image"></div><div class="saboxplugin-authorname"><a href="https://www.cloudcorner.gr/author/admin/" class="vcard author" rel="author"><span class="fn">Pantelis Apostolidis</span></a></div><div class="saboxplugin-desc"><div itemprop="description"><p>Pantelis Apostolidis is a Sr. Specialist, Azure at Microsoft and a former Microsoft Azure MVP. For the last 20 years, Pantelis has been involved to major cloud projects in Greece and abroad, helping companies to adopt and deploy cloud technologies, driving business value. He is entitled to a lot of Microsoft Expert Certifications, demonstrating his proven experience in delivering high quality solutions. He is an author, blogger and he is acting as a spokesperson for conferences, workshops and webinars. He is also an active member of several communities as a moderator in azureheads.gr and autoexec.gr. Follow him on Twitter @papostolidis.</p>
</div></div><div class="saboxplugin-web "><a href="https://www.cloudcorner.gr" target="_self" >www.cloudcorner.gr</a></div><div class="clearfix"></div><div class="saboxplugin-socials "><a title="Facebook" target="_blank" href="https://www.facebook.com/pantelis.apostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-facebook" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 264 512"><path fill="currentColor" d="M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"></path></svg></span></a><a title="Linkedin" target="_blank" href="https://www.linkedin.com/in/papostolidis/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-linkedin" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z"></path></svg></span></a><a title="Instagram" target="_blank" href="https://www.instagram.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-instagram" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"></path></svg></span></a><a title="Rss" target="_blank" href="https://wwwcloudcorner.gr/feed/rdf/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-rss" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M128.081 415.959c0 35.369-28.672 64.041-64.041 64.041S0 451.328 0 415.959s28.672-64.041 64.041-64.041 64.04 28.673 64.04 64.041zm175.66 47.25c-8.354-154.6-132.185-278.587-286.95-286.95C7.656 175.765 0 183.105 0 192.253v48.069c0 8.415 6.49 15.472 14.887 16.018 111.832 7.284 201.473 96.702 208.772 208.772.547 8.397 7.604 14.887 16.018 14.887h48.069c9.149.001 16.489-7.655 15.995-16.79zm144.249.288C439.596 229.677 251.465 40.445 16.503 32.01 7.473 31.686 0 38.981 0 48.016v48.068c0 8.625 6.835 15.645 15.453 15.999 191.179 7.839 344.627 161.316 352.465 352.465.353 8.618 7.373 15.453 15.999 15.453h48.068c9.034-.001 16.329-7.474 16.005-16.504z"></path></svg></span></a><a title="Twitter" target="_blank" href="https://twitter.com/papostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-twitter" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path d="M26.37,26l-8.795-12.822l0.015,0.012L25.52,4h-2.65l-6.46,7.48L11.28,4H4.33l8.211,11.971L12.54,15.97L3.88,26h2.65 l7.182-8.322L19.42,26H26.37z M10.23,6l12.34,18h-2.1L8.12,6H10.23z" /></svg></span></a><a title="Github" target="_blank" href="https://github.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-github" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></span></a><a title="User email" target="_self" href="mailto:pr&#111;x&#105;&#109;ag&#114;&#064;h&#111;&#116;&#109;a&#105;l.&#099;om" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-user_email" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"></path></svg></span></a></div></div></div><p><a class="a2a_button_email" href="https://www.addtoany.com/add_to/email?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fazure%2Fazure-client-vpn-with-azure-ad-auth-mfa-step-by-step-guide%2F&amp;linkname=Azure%20Client%20VPN%20with%20Azure%20AD%20auth%20%26%20MFA%20%7C%20Step%20by%20step%20guide" title="Email" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_print" href="https://www.addtoany.com/add_to/print?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fazure%2Fazure-client-vpn-with-azure-ad-auth-mfa-step-by-step-guide%2F&amp;linkname=Azure%20Client%20VPN%20with%20Azure%20AD%20auth%20%26%20MFA%20%7C%20Step%20by%20step%20guide" title="Print" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fazure%2Fazure-client-vpn-with-azure-ad-auth-mfa-step-by-step-guide%2F&#038;title=Azure%20Client%20VPN%20with%20Azure%20AD%20auth%20%26%20MFA%20%7C%20Step%20by%20step%20guide" data-a2a-url="https://www.cloudcorner.gr/microsoft/azure/azure-client-vpn-with-azure-ad-auth-mfa-step-by-step-guide/" data-a2a-title="Azure Client VPN with Azure AD auth &amp; MFA | Step by step guide"><img src="https://static.addtoany.com/buttons/share_save_171_16.png" alt="Share"></a></p><p>The post <a href="https://www.cloudcorner.gr/microsoft/azure/azure-client-vpn-with-azure-ad-auth-mfa-step-by-step-guide/">Azure Client VPN with Azure AD auth &#038; MFA | Step by step guide</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.cloudcorner.gr/microsoft/azure/azure-client-vpn-with-azure-ad-auth-mfa-step-by-step-guide/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>How to disconnect a mailbox &#038; re-assign it to new user in a Hybrid Scenario</title>
		<link>https://www.cloudcorner.gr/microsoft/office-365/how-to-disconnect-a-mailbox-re-assign-it-to-new-user-in-a-hybrid-scenario/</link>
					<comments>https://www.cloudcorner.gr/microsoft/office-365/how-to-disconnect-a-mailbox-re-assign-it-to-new-user-in-a-hybrid-scenario/#comments</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Wed, 21 Jun 2017 10:32:34 +0000</pubDate>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Office 365]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[active directory]]></category>
		<category><![CDATA[dirsync]]></category>
		<category><![CDATA[exchange]]></category>
		<category><![CDATA[exchange online]]></category>
		<category><![CDATA[hybrid]]></category>
		<category><![CDATA[office 365]]></category>
		<category><![CDATA[powershell]]></category>
		<guid isPermaLink="false">http://www.e-apostolidis.gr/?p=1298</guid>

					<description><![CDATA[<p>How to disconnect a mailbox &#38; re-assign it to new user in a Hybrid Scenario Scenario objectives: We have an</p>
<p>The post <a href="https://www.cloudcorner.gr/microsoft/office-365/how-to-disconnect-a-mailbox-re-assign-it-to-new-user-in-a-hybrid-scenario/">How to disconnect a mailbox &#038; re-assign it to new user in a Hybrid Scenario</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<h1 style="text-align: justify;">How to disconnect a mailbox &amp; re-assign it to new user in a Hybrid Scenario</h1>
<p style="text-align: justify;">Scenario objectives: We have an Exchange Hybrid setup between on-premises and Exchange Online (Office 365). All users are synced and the mailbox is located at Exchange Online.</p>
<p style="text-align: justify;">We need to separate an existing mailbox from its user account and re-connect this mailbox to a new user account. If the mailbox in this scenario was located at the on-premises Exchange it would be an easy process just using the Exchange Management Console. But in a Hybrid scenario, the process includes many steps since the mailbox is not directory conencted to the Active Directory user account but it is conected to the Azure AD Synced User Account.</p>
<p style="text-align: justify;">For the ease of the guide we will name the Existing User Account: OLDUSER and the New User Account: NEWUSER.</p>
<p style="text-align: justify;">We will disconnect the Exchange Online Mailbox from the OLDUSER and connect it to the NEWUSER.</p>
<p style="text-align: justify;">Step 1.</p>
<p style="text-align: justify;">At the on-premises Active Directory, at an OU that is not synced with Azure AD, create the new user account. The &#8220;NEWUSER&#8221;. Ensure that you do not enter nothing at the email field. Just a user account with no email attributes.</p>
<p style="text-align: justify;">Step 2.</p>
<p style="text-align: justify;">Move the &#8220;OLDUSER&#8221; to an OU that is not synced with Azure AD</p>
<p style="text-align: justify;">Step 3.</p>
<p style="text-align: justify;">Run a Delta Sync. Go to the server that the AD Connect is installed, open the PowerShell and run &#8220;Start-ADSyncSyncCycle&#8221;</p>
<p style="text-align: justify;">Step 4.</p>
<p style="text-align: justify;">We need to get the GUID of the NEWUSER. To do so login to a Domain Controller, open PowerShell and run:</p>
<pre class="lang:ps decode:true ">[system.convert]::ToBase64String((Get-Aduser NEWUSER).objectGUid.ToByteArray())</pre>
<p id="jmbPsYf" style="text-align: justify;"><img loading="lazy" decoding="async" width="571" height="40" class="alignnone size-full wp-image-1301 " src="http://www.e-apostolidis.gr/wp-content/uploads/2017/06/img_594a4492c7b43.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_594a4492c7b43.png 571w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_594a4492c7b43-300x21.png 300w" sizes="auto, (max-width: 571px) 100vw, 571px" /></p>
<p style="text-align: justify;">Copy the GUID to a Notepad</p>
<p style="text-align: justify;">Step 5.</p>
<p style="text-align: justify;">Open the Office 365 Admin Center and Restore the deleted user &#8220;OLDUSER&#8221;</p>
<p style="text-align: justify;">Go to Users &#8211;&gt; Deleted Users &#8211;&gt; Select the user &#8220;OLDUSER&#8221; &#8211;&gt;Click Restore</p>
<p id="cPpLMLX" style="text-align: justify;"><img loading="lazy" decoding="async" width="613" height="254" class="alignnone size-full wp-image-1302 " src="http://www.e-apostolidis.gr/wp-content/uploads/2017/06/img_594a456ca9d87.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_594a456ca9d87.png 613w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_594a456ca9d87-300x124.png 300w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_594a456ca9d87-600x249.png 600w" sizes="auto, (max-width: 613px) 100vw, 613px" /></p>
<p style="text-align: justify;">Step 6.</p>
<p style="text-align: justify;">Connect to Azure AD and set the GUID of the &#8220;NEWUSER&#8221; to the Office 365 &#8220;OLD USER&#8221;. Details for connecting to Azure AD &#8220;<a href="https://technet.microsoft.com/en-us/library/dn975125.aspx">https://technet.microsoft.com/en-us/library/dn975125.aspx</a>&#8220;</p>
<pre class="lang:ps decode:true">Connect-MsolService

Set-MsolUser -UserPrincipalName olduser@mydomain.com -ImmutableId vMZGJpW6CUGY09bduJ5dlw==</pre>
<p id="gxeKOAr" style="text-align: justify;"><img loading="lazy" decoding="async" width="579" height="41" class="alignnone size-full wp-image-1303 " src="http://www.e-apostolidis.gr/wp-content/uploads/2017/06/img_594a46a11e745.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_594a46a11e745.png 579w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_594a46a11e745-300x21.png 300w" sizes="auto, (max-width: 579px) 100vw, 579px" /></p>
<p style="text-align: justify;">Step 5.</p>
<p style="text-align: justify;">Open the Office 365 Admin Center and Delete the old user &#8220;OLDUSER&#8221;</p>
<p style="text-align: justify;">Go to Users &#8211;&gt; Active users &#8211;&gt; Select the &#8220;OLDUSER&#8221; &#8211;&gt; click Delete user</p>
<p id="VoMSGyP" style="text-align: justify;"><img loading="lazy" decoding="async" width="505" height="217" class="alignnone size-full wp-image-1304 " src="http://www.e-apostolidis.gr/wp-content/uploads/2017/06/img_594a46e3db163.png" alt="" srcset="https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_594a46e3db163.png 505w, https://www.cloudcorner.gr/wp-content/uploads/2017/06/img_594a46e3db163-300x129.png 300w" sizes="auto, (max-width: 505px) 100vw, 505px" /></p>
<p style="text-align: justify;">Step 6.</p>
<p style="text-align: justify;">Clean the on-premises Active Directory account of the old user &#8220;OLDUSER&#8221; from all attributes that will be added to the new user, like Proxy addresses, Target, address, Alias name, nickname etc.</p>
<p style="text-align: justify;">Step 7.</p>
<p style="text-align: justify;">Make the &#8220;NEWUSER&#8221; user account a Remote Mailbox object</p>
<p style="text-align: justify;">At the on-premises Exchange, open the Exchange Management Shell and run:</p>
<pre class="lang:ps decode:true ">Enable-RemoteMailbox -Identity NEWUSER -DisplayName "NEW USER" -RemoteRoutingAddress newuser@mydomain.onmicrosoft.com -Alias newuser -PrimarySmtpAddress newuser@mydomain.com</pre>
<p style="text-align: justify;">Step 8.</p>
<p style="text-align: justify;">Move the &#8220;NEWUSER&#8221; to an OU that is Synced with Azure AD and run a Delta Sync like Step 3.</p>
<p style="text-align: justify;">After that the &#8220;NEWUSER&#8221; active directory account will be connected with the &#8220;OLDUSER&#8221; Exchange Online mailbox and all attributes of the Exchange Online mailbox will be replaced with the &#8220;NEWUSER&#8217;s&#8221; values.</p>
<p>&nbsp;</p>
<p>I suppose there are other ways, maybe easier, to accomplish this task, but following this process you will have the desired result without problems.</p>
<div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><img loading="lazy" decoding="async" src="https://www.e-apostolidis.gr/wp-content/uploads/2019/05/mvpsummit2019.jpg" width="100"  height="100" alt="Pantelis Apostolidis" itemprop="image"></div><div class="saboxplugin-authorname"><a href="https://www.cloudcorner.gr/author/admin/" class="vcard author" rel="author"><span class="fn">Pantelis Apostolidis</span></a></div><div class="saboxplugin-desc"><div itemprop="description"><p>Pantelis Apostolidis is a Sr. Specialist, Azure at Microsoft and a former Microsoft Azure MVP. For the last 20 years, Pantelis has been involved to major cloud projects in Greece and abroad, helping companies to adopt and deploy cloud technologies, driving business value. He is entitled to a lot of Microsoft Expert Certifications, demonstrating his proven experience in delivering high quality solutions. He is an author, blogger and he is acting as a spokesperson for conferences, workshops and webinars. He is also an active member of several communities as a moderator in azureheads.gr and autoexec.gr. Follow him on Twitter @papostolidis.</p>
</div></div><div class="saboxplugin-web "><a href="https://www.cloudcorner.gr" target="_self" >www.cloudcorner.gr</a></div><div class="clearfix"></div><div class="saboxplugin-socials "><a title="Facebook" target="_blank" href="https://www.facebook.com/pantelis.apostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-facebook" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 264 512"><path fill="currentColor" d="M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"></path></svg></span></a><a title="Linkedin" target="_blank" href="https://www.linkedin.com/in/papostolidis/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-linkedin" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z"></path></svg></span></a><a title="Instagram" target="_blank" href="https://www.instagram.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-instagram" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"></path></svg></span></a><a title="Rss" target="_blank" href="https://wwwcloudcorner.gr/feed/rdf/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-rss" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M128.081 415.959c0 35.369-28.672 64.041-64.041 64.041S0 451.328 0 415.959s28.672-64.041 64.041-64.041 64.04 28.673 64.04 64.041zm175.66 47.25c-8.354-154.6-132.185-278.587-286.95-286.95C7.656 175.765 0 183.105 0 192.253v48.069c0 8.415 6.49 15.472 14.887 16.018 111.832 7.284 201.473 96.702 208.772 208.772.547 8.397 7.604 14.887 16.018 14.887h48.069c9.149.001 16.489-7.655 15.995-16.79zm144.249.288C439.596 229.677 251.465 40.445 16.503 32.01 7.473 31.686 0 38.981 0 48.016v48.068c0 8.625 6.835 15.645 15.453 15.999 191.179 7.839 344.627 161.316 352.465 352.465.353 8.618 7.373 15.453 15.999 15.453h48.068c9.034-.001 16.329-7.474 16.005-16.504z"></path></svg></span></a><a title="Twitter" target="_blank" href="https://twitter.com/papostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-twitter" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path d="M26.37,26l-8.795-12.822l0.015,0.012L25.52,4h-2.65l-6.46,7.48L11.28,4H4.33l8.211,11.971L12.54,15.97L3.88,26h2.65 l7.182-8.322L19.42,26H26.37z M10.23,6l12.34,18h-2.1L8.12,6H10.23z" /></svg></span></a><a title="Github" target="_blank" href="https://github.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-github" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></span></a><a title="User email" target="_self" href="mailto:pro&#120;imag&#114;&#064;h&#111;t&#109;a&#105;l&#046;c&#111;m" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-user_email" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"></path></svg></span></a></div></div></div><p><a class="a2a_button_email" href="https://www.addtoany.com/add_to/email?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Foffice-365%2Fhow-to-disconnect-a-mailbox-re-assign-it-to-new-user-in-a-hybrid-scenario%2F&amp;linkname=How%20to%20disconnect%20a%20mailbox%20%26%20re-assign%20it%20to%20new%20user%20in%20a%20Hybrid%20Scenario" title="Email" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_print" href="https://www.addtoany.com/add_to/print?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Foffice-365%2Fhow-to-disconnect-a-mailbox-re-assign-it-to-new-user-in-a-hybrid-scenario%2F&amp;linkname=How%20to%20disconnect%20a%20mailbox%20%26%20re-assign%20it%20to%20new%20user%20in%20a%20Hybrid%20Scenario" title="Print" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Foffice-365%2Fhow-to-disconnect-a-mailbox-re-assign-it-to-new-user-in-a-hybrid-scenario%2F&#038;title=How%20to%20disconnect%20a%20mailbox%20%26%20re-assign%20it%20to%20new%20user%20in%20a%20Hybrid%20Scenario" data-a2a-url="https://www.cloudcorner.gr/microsoft/office-365/how-to-disconnect-a-mailbox-re-assign-it-to-new-user-in-a-hybrid-scenario/" data-a2a-title="How to disconnect a mailbox &amp; re-assign it to new user in a Hybrid Scenario"><img src="https://static.addtoany.com/buttons/share_save_171_16.png" alt="Share"></a></p><p>The post <a href="https://www.cloudcorner.gr/microsoft/office-365/how-to-disconnect-a-mailbox-re-assign-it-to-new-user-in-a-hybrid-scenario/">How to disconnect a mailbox &#038; re-assign it to new user in a Hybrid Scenario</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.cloudcorner.gr/microsoft/office-365/how-to-disconnect-a-mailbox-re-assign-it-to-new-user-in-a-hybrid-scenario/feed/</wfw:commentRss>
			<slash:comments>22</slash:comments>
		
		
			</item>
		<item>
		<title>Match OnPrem Active Directory users to existing Office365 Users</title>
		<link>https://www.cloudcorner.gr/microsoft/office-365/match-onprem-active-directory-users-existing-office365-users/</link>
					<comments>https://www.cloudcorner.gr/microsoft/office-365/match-onprem-active-directory-users-existing-office365-users/#respond</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Fri, 29 Jul 2016 09:27:03 +0000</pubDate>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Office 365]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[active directory]]></category>
		<category><![CDATA[dirsync]]></category>
		<category><![CDATA[office 365]]></category>
		<category><![CDATA[powershell]]></category>
		<guid isPermaLink="false">http://www.e-apostolidis.gr/?p=1021</guid>

					<description><![CDATA[<p>Lets say you have an Office 365 account and cloud only users with mailboxes and now you decide that you want</p>
<p>The post <a href="https://www.cloudcorner.gr/microsoft/office-365/match-onprem-active-directory-users-existing-office365-users/">Match OnPrem Active Directory users to existing Office365 Users</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Lets say you have an Office 365 account and cloud only users with mailboxes and now you decide that you want to sync it and match the Office 365 users with your Active Directory users.</p>
<p>I prepared a lab with one DC and I created a trial Office 365 E3 account with custom domain. I created users with the same username to both.  At Active Directory I set the UPN to match the Office 365 user name and also added the email address.</p>
<p>Next I enabled directory synchronization from Office 365 and installed Azure AD Connect to DC2. After the initial sync i got this error:</p>
<p><em>Unable to update this object because the following attributes associated with this object have values that may already be associated with another object in your local directory services: [Mail test1@xxxxx.gr;].</em></p>
<p>I realized that Office 365 could not map the users, it was trying to create new. So there must be an attribute that needs correction. The solution came form the following blog:</p>
<p>http://blogs.4ward.it/how-to-map-onprem-active-directory-users-to-existing-office365-users/</p>
<p>and specifically at the &#8220;manual match method&#8221; section:</p>
<p><em>In order to match the user with the cloud user you have to set the Immutable ID of onPremise Active Directory user’s ObjectGUID to the immutableID value of the Office365 user.</em><br />
<em>To retrieve the ObjectGUID you can use the following command:</em></p>
<p><em>Ldifde –d “CN=xxx…,OU=xxx,DC=xxxx,DC=xx” –f c:\temp\exportuser1.txt</em></p>
<p><em>“CN=xxx…,OU=xxx,DC=xxxx,DC=xx” is the distinguished name of the user. You can use ADSIEdit or the AD Users &amp; Computer (attribute editor) to find this value</em></p>
<p><em>In the Textfile exportuser1.txt look for the ObjectGUID. You will find a string like z2Xbu0xFTUapOeDqHRTN1A==</em></p>
<p><em>Then connect to Windows Azure Active Director and use the command</em></p>
<p><em>set-MsolUser -UserPrincipalName user1.surname1@customerdomain.com -ImmutableId z2Xbu0xFTUapOeDqHRTN1A==</em></p>
<p>After that I just forced a delta sync &#8220;Start-ADSyncSyncCycle -PolicyType Delta&#8221; , the sync was successful and the users in Office 365 changed from &#8220;In Clout&#8221; to &#8220;Synced with Active Directory&#8221;</p>
<p>&nbsp;</p>
<p><a href="http://www.e-apostolidis.gr/wp-content/uploads/2016/07/How-to-Map-OnPrem-Active-Directory-users-to-existing-Office365-Users.pdf">How to Map OnPrem Active Directory users to existing Office365 Users</a></p>
<p>source: http://blogs.4ward.it/how-to-map-onprem-active-directory-users-to-existing-office365-users/</p>
<div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><img loading="lazy" decoding="async" src="https://www.e-apostolidis.gr/wp-content/uploads/2019/05/mvpsummit2019.jpg" width="100"  height="100" alt="Pantelis Apostolidis" itemprop="image"></div><div class="saboxplugin-authorname"><a href="https://www.cloudcorner.gr/author/admin/" class="vcard author" rel="author"><span class="fn">Pantelis Apostolidis</span></a></div><div class="saboxplugin-desc"><div itemprop="description"><p>Pantelis Apostolidis is a Sr. Specialist, Azure at Microsoft and a former Microsoft Azure MVP. For the last 20 years, Pantelis has been involved to major cloud projects in Greece and abroad, helping companies to adopt and deploy cloud technologies, driving business value. He is entitled to a lot of Microsoft Expert Certifications, demonstrating his proven experience in delivering high quality solutions. He is an author, blogger and he is acting as a spokesperson for conferences, workshops and webinars. He is also an active member of several communities as a moderator in azureheads.gr and autoexec.gr. Follow him on Twitter @papostolidis.</p>
</div></div><div class="saboxplugin-web "><a href="https://www.cloudcorner.gr" target="_self" >www.cloudcorner.gr</a></div><div class="clearfix"></div><div class="saboxplugin-socials "><a title="Facebook" target="_blank" href="https://www.facebook.com/pantelis.apostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-facebook" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 264 512"><path fill="currentColor" d="M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"></path></svg></span></a><a title="Linkedin" target="_blank" href="https://www.linkedin.com/in/papostolidis/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-linkedin" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z"></path></svg></span></a><a title="Instagram" target="_blank" href="https://www.instagram.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-instagram" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"></path></svg></span></a><a title="Rss" target="_blank" href="https://wwwcloudcorner.gr/feed/rdf/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-rss" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M128.081 415.959c0 35.369-28.672 64.041-64.041 64.041S0 451.328 0 415.959s28.672-64.041 64.041-64.041 64.04 28.673 64.04 64.041zm175.66 47.25c-8.354-154.6-132.185-278.587-286.95-286.95C7.656 175.765 0 183.105 0 192.253v48.069c0 8.415 6.49 15.472 14.887 16.018 111.832 7.284 201.473 96.702 208.772 208.772.547 8.397 7.604 14.887 16.018 14.887h48.069c9.149.001 16.489-7.655 15.995-16.79zm144.249.288C439.596 229.677 251.465 40.445 16.503 32.01 7.473 31.686 0 38.981 0 48.016v48.068c0 8.625 6.835 15.645 15.453 15.999 191.179 7.839 344.627 161.316 352.465 352.465.353 8.618 7.373 15.453 15.999 15.453h48.068c9.034-.001 16.329-7.474 16.005-16.504z"></path></svg></span></a><a title="Twitter" target="_blank" href="https://twitter.com/papostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-twitter" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path d="M26.37,26l-8.795-12.822l0.015,0.012L25.52,4h-2.65l-6.46,7.48L11.28,4H4.33l8.211,11.971L12.54,15.97L3.88,26h2.65 l7.182-8.322L19.42,26H26.37z M10.23,6l12.34,18h-2.1L8.12,6H10.23z" /></svg></span></a><a title="Github" target="_blank" href="https://github.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-github" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></span></a><a title="User email" target="_self" href="mailto:pr&#111;xim&#097;&#103;r&#064;&#104;o&#116;m&#097;&#105;&#108;.com" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-user_email" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"></path></svg></span></a></div></div></div><p><a class="a2a_button_email" href="https://www.addtoany.com/add_to/email?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Foffice-365%2Fmatch-onprem-active-directory-users-existing-office365-users%2F&amp;linkname=Match%20OnPrem%20Active%20Directory%20users%20to%20existing%20Office365%20Users" title="Email" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_print" href="https://www.addtoany.com/add_to/print?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Foffice-365%2Fmatch-onprem-active-directory-users-existing-office365-users%2F&amp;linkname=Match%20OnPrem%20Active%20Directory%20users%20to%20existing%20Office365%20Users" title="Print" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Foffice-365%2Fmatch-onprem-active-directory-users-existing-office365-users%2F&#038;title=Match%20OnPrem%20Active%20Directory%20users%20to%20existing%20Office365%20Users" data-a2a-url="https://www.cloudcorner.gr/microsoft/office-365/match-onprem-active-directory-users-existing-office365-users/" data-a2a-title="Match OnPrem Active Directory users to existing Office365 Users"><img src="https://static.addtoany.com/buttons/share_save_171_16.png" alt="Share"></a></p><p>The post <a href="https://www.cloudcorner.gr/microsoft/office-365/match-onprem-active-directory-users-existing-office365-users/">Match OnPrem Active Directory users to existing Office365 Users</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.cloudcorner.gr/microsoft/office-365/match-onprem-active-directory-users-existing-office365-users/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Find AD accounts that are expiring</title>
		<link>https://www.cloudcorner.gr/microsoft/find-ad-accounts-that-are-expiring/</link>
					<comments>https://www.cloudcorner.gr/microsoft/find-ad-accounts-that-are-expiring/#respond</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Thu, 25 Sep 2014 07:42:59 +0000</pubDate>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[active directory]]></category>
		<guid isPermaLink="false">http://proximagr.wordpress.com/?p=202</guid>

					<description><![CDATA[<p>[sourcecode language=&#8221;powershell&#8221;] Search-ADAccount -AccountExpiring -TimeSpan ([TimeSpan]::FromDays(7)) &#124; Select-Object name*,userpri*,accou* [/sourcecode] &#8220;FromDays(7)&#8221; = this will search accounts that are expiring in</p>
<p>The post <a href="https://www.cloudcorner.gr/microsoft/find-ad-accounts-that-are-expiring/">Find AD accounts that are expiring</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>[sourcecode language=&#8221;powershell&#8221;]<br />
Search-ADAccount -AccountExpiring -TimeSpan ([TimeSpan]::FromDays(7)) | Select-Object name*,userpri*,accou*<br />
[/sourcecode]<br />
&#8220;FromDays(7)&#8221; = this will search accounts that are expiring in 7 days<br />
Select-Object name*,userpri*,accou* = this will print a table with account names, UPN and accountexpirationdate</p>
<div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><img loading="lazy" decoding="async" src="https://www.e-apostolidis.gr/wp-content/uploads/2019/05/mvpsummit2019.jpg" width="100"  height="100" alt="Pantelis Apostolidis" itemprop="image"></div><div class="saboxplugin-authorname"><a href="https://www.cloudcorner.gr/author/admin/" class="vcard author" rel="author"><span class="fn">Pantelis Apostolidis</span></a></div><div class="saboxplugin-desc"><div itemprop="description"><p>Pantelis Apostolidis is a Sr. Specialist, Azure at Microsoft and a former Microsoft Azure MVP. For the last 20 years, Pantelis has been involved to major cloud projects in Greece and abroad, helping companies to adopt and deploy cloud technologies, driving business value. He is entitled to a lot of Microsoft Expert Certifications, demonstrating his proven experience in delivering high quality solutions. He is an author, blogger and he is acting as a spokesperson for conferences, workshops and webinars. He is also an active member of several communities as a moderator in azureheads.gr and autoexec.gr. Follow him on Twitter @papostolidis.</p>
</div></div><div class="saboxplugin-web "><a href="https://www.cloudcorner.gr" target="_self" >www.cloudcorner.gr</a></div><div class="clearfix"></div><div class="saboxplugin-socials "><a title="Facebook" target="_blank" href="https://www.facebook.com/pantelis.apostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-facebook" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 264 512"><path fill="currentColor" d="M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"></path></svg></span></a><a title="Linkedin" target="_blank" href="https://www.linkedin.com/in/papostolidis/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-linkedin" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z"></path></svg></span></a><a title="Instagram" target="_blank" href="https://www.instagram.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-instagram" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"></path></svg></span></a><a title="Rss" target="_blank" href="https://wwwcloudcorner.gr/feed/rdf/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-rss" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M128.081 415.959c0 35.369-28.672 64.041-64.041 64.041S0 451.328 0 415.959s28.672-64.041 64.041-64.041 64.04 28.673 64.04 64.041zm175.66 47.25c-8.354-154.6-132.185-278.587-286.95-286.95C7.656 175.765 0 183.105 0 192.253v48.069c0 8.415 6.49 15.472 14.887 16.018 111.832 7.284 201.473 96.702 208.772 208.772.547 8.397 7.604 14.887 16.018 14.887h48.069c9.149.001 16.489-7.655 15.995-16.79zm144.249.288C439.596 229.677 251.465 40.445 16.503 32.01 7.473 31.686 0 38.981 0 48.016v48.068c0 8.625 6.835 15.645 15.453 15.999 191.179 7.839 344.627 161.316 352.465 352.465.353 8.618 7.373 15.453 15.999 15.453h48.068c9.034-.001 16.329-7.474 16.005-16.504z"></path></svg></span></a><a title="Twitter" target="_blank" href="https://twitter.com/papostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-twitter" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path d="M26.37,26l-8.795-12.822l0.015,0.012L25.52,4h-2.65l-6.46,7.48L11.28,4H4.33l8.211,11.971L12.54,15.97L3.88,26h2.65 l7.182-8.322L19.42,26H26.37z M10.23,6l12.34,18h-2.1L8.12,6H10.23z" /></svg></span></a><a title="Github" target="_blank" href="https://github.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-github" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></span></a><a title="User email" target="_self" href="mailto:p&#114;&#111;x&#105;m&#097;g&#114;&#064;h&#111;&#116;ma&#105;l.c&#111;m" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-user_email" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"></path></svg></span></a></div></div></div><p><a class="a2a_button_email" href="https://www.addtoany.com/add_to/email?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Ffind-ad-accounts-that-are-expiring%2F&amp;linkname=Find%20AD%20accounts%20that%20are%20expiring" title="Email" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_print" href="https://www.addtoany.com/add_to/print?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Ffind-ad-accounts-that-are-expiring%2F&amp;linkname=Find%20AD%20accounts%20that%20are%20expiring" title="Print" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Ffind-ad-accounts-that-are-expiring%2F&#038;title=Find%20AD%20accounts%20that%20are%20expiring" data-a2a-url="https://www.cloudcorner.gr/microsoft/find-ad-accounts-that-are-expiring/" data-a2a-title="Find AD accounts that are expiring"><img src="https://static.addtoany.com/buttons/share_save_171_16.png" alt="Share"></a></p><p>The post <a href="https://www.cloudcorner.gr/microsoft/find-ad-accounts-that-are-expiring/">Find AD accounts that are expiring</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.cloudcorner.gr/microsoft/find-ad-accounts-that-are-expiring/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Manage Office 365 password expiration</title>
		<link>https://www.cloudcorner.gr/microsoft/manage-office-365-password-expiration/</link>
					<comments>https://www.cloudcorner.gr/microsoft/manage-office-365-password-expiration/#respond</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Mon, 22 Sep 2014 14:03:27 +0000</pubDate>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Office 365]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[active directory]]></category>
		<guid isPermaLink="false">http://proximagr.wordpress.com/?p=185</guid>

					<description><![CDATA[<p>Check if the password is set to never expire for one user: Get-MSOLUser -UserPrincipalName username &#124; Select PasswordNeverExpires Check if</p>
<p>The post <a href="https://www.cloudcorner.gr/microsoft/manage-office-365-password-expiration/">Manage Office 365 password expiration</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Check if the password is set to never expire for one user:</p>
<pre class="lang:ps decode:true ">Get-MSOLUser -UserPrincipalName username | Select PasswordNeverExpires</pre>
<p>Check if the password is set to never expire for all users:</p>
<pre class="lang:ps decode:true ">Get-MSOLUser | Select UserPrincipalName, PasswordNeverExpires</pre>
<p>&nbsp;</p>
<p>Check if the password is set to never expire for a list of users:<br />
create a txt file listing the required users, line by line with title &#8220;username&#8221;, and save it as c:pwdexpire.txt, like this:</p>
<p>username<br />
testuser1<br />
testuser2<br />
testuser3</p>
<p>then run:</p>
<pre class="lang:ps decode:true ">Import-csv c:pwdexpire.txt | for each { Get-MSOLUser -UserPrincipalName $_.username | Select PasswordNeverExpires }</pre>
<p>Set password to never expire for one user:</p>
<pre class="lang:ps decode:true ">Set-MsolUser -UserPrincipalName username -PasswordNeverExpires $true</pre>
<p>Set password to never expire for all users:</p>
<pre class="lang:ps decode:true ">Get-MSOLUser | Set-MsolUser -PasswordNeverExpires $true</pre>
<p>Set password to never expire for a list of users:<br />
like before create a txt list and run:</p>
<pre class="lang:ps decode:true ">Import-csv c:pwdexpire.txt | for each { Set-MsolUser -UserPrincipalName $_.username -PasswordNeverExpires $true }</pre>
<p>to re-set the password to expire just replace the $true with $false (please note that is the organization&#8217;s password expiration period has passed then the user/users will be locked and you will need to reset their passwords)</p>
<div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><img loading="lazy" decoding="async" src="https://www.e-apostolidis.gr/wp-content/uploads/2019/05/mvpsummit2019.jpg" width="100"  height="100" alt="Pantelis Apostolidis" itemprop="image"></div><div class="saboxplugin-authorname"><a href="https://www.cloudcorner.gr/author/admin/" class="vcard author" rel="author"><span class="fn">Pantelis Apostolidis</span></a></div><div class="saboxplugin-desc"><div itemprop="description"><p>Pantelis Apostolidis is a Sr. Specialist, Azure at Microsoft and a former Microsoft Azure MVP. For the last 20 years, Pantelis has been involved to major cloud projects in Greece and abroad, helping companies to adopt and deploy cloud technologies, driving business value. He is entitled to a lot of Microsoft Expert Certifications, demonstrating his proven experience in delivering high quality solutions. He is an author, blogger and he is acting as a spokesperson for conferences, workshops and webinars. He is also an active member of several communities as a moderator in azureheads.gr and autoexec.gr. Follow him on Twitter @papostolidis.</p>
</div></div><div class="saboxplugin-web "><a href="https://www.cloudcorner.gr" target="_self" >www.cloudcorner.gr</a></div><div class="clearfix"></div><div class="saboxplugin-socials "><a title="Facebook" target="_blank" href="https://www.facebook.com/pantelis.apostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-facebook" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 264 512"><path fill="currentColor" d="M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"></path></svg></span></a><a title="Linkedin" target="_blank" href="https://www.linkedin.com/in/papostolidis/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-linkedin" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z"></path></svg></span></a><a title="Instagram" target="_blank" href="https://www.instagram.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-instagram" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"></path></svg></span></a><a title="Rss" target="_blank" href="https://wwwcloudcorner.gr/feed/rdf/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-rss" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M128.081 415.959c0 35.369-28.672 64.041-64.041 64.041S0 451.328 0 415.959s28.672-64.041 64.041-64.041 64.04 28.673 64.04 64.041zm175.66 47.25c-8.354-154.6-132.185-278.587-286.95-286.95C7.656 175.765 0 183.105 0 192.253v48.069c0 8.415 6.49 15.472 14.887 16.018 111.832 7.284 201.473 96.702 208.772 208.772.547 8.397 7.604 14.887 16.018 14.887h48.069c9.149.001 16.489-7.655 15.995-16.79zm144.249.288C439.596 229.677 251.465 40.445 16.503 32.01 7.473 31.686 0 38.981 0 48.016v48.068c0 8.625 6.835 15.645 15.453 15.999 191.179 7.839 344.627 161.316 352.465 352.465.353 8.618 7.373 15.453 15.999 15.453h48.068c9.034-.001 16.329-7.474 16.005-16.504z"></path></svg></span></a><a title="Twitter" target="_blank" href="https://twitter.com/papostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-twitter" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path d="M26.37,26l-8.795-12.822l0.015,0.012L25.52,4h-2.65l-6.46,7.48L11.28,4H4.33l8.211,11.971L12.54,15.97L3.88,26h2.65 l7.182-8.322L19.42,26H26.37z M10.23,6l12.34,18h-2.1L8.12,6H10.23z" /></svg></span></a><a title="Github" target="_blank" href="https://github.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-github" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></span></a><a title="User email" target="_self" href="mailto:&#112;&#114;&#111;x&#105;m&#097;&#103;&#114;&#064;hotmai&#108;&#046;c&#111;m" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-user_email" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"></path></svg></span></a></div></div></div><p><a class="a2a_button_email" href="https://www.addtoany.com/add_to/email?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fmanage-office-365-password-expiration%2F&amp;linkname=Manage%20Office%20365%20password%20expiration" title="Email" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_print" href="https://www.addtoany.com/add_to/print?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fmanage-office-365-password-expiration%2F&amp;linkname=Manage%20Office%20365%20password%20expiration" title="Print" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fmanage-office-365-password-expiration%2F&#038;title=Manage%20Office%20365%20password%20expiration" data-a2a-url="https://www.cloudcorner.gr/microsoft/manage-office-365-password-expiration/" data-a2a-title="Manage Office 365 password expiration"><img src="https://static.addtoany.com/buttons/share_save_171_16.png" alt="Share"></a></p><p>The post <a href="https://www.cloudcorner.gr/microsoft/manage-office-365-password-expiration/">Manage Office 365 password expiration</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.cloudcorner.gr/microsoft/manage-office-365-password-expiration/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Delete user from Office 365 with DirSync</title>
		<link>https://www.cloudcorner.gr/microsoft/delete-user-from-office-365-with-dirsync/</link>
					<comments>https://www.cloudcorner.gr/microsoft/delete-user-from-office-365-with-dirsync/#respond</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Wed, 06 Aug 2014 10:44:00 +0000</pubDate>
				<category><![CDATA[Exchange]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Office 365]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[active directory]]></category>
		<guid isPermaLink="false">http://proximagr.wordpress.com/?p=150</guid>

					<description><![CDATA[<p>First you need to remove the user from DirSync: Open the &#8220;Synchronization Service Manager&#8221; (cn be fount at &#8220;C:Program FilesWindowsAzureActiveDirectorySyncSYNCBUSSynchronization</p>
<p>The post <a href="https://www.cloudcorner.gr/microsoft/delete-user-from-office-365-with-dirsync/">Delete user from Office 365 with DirSync</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>First you need to remove the user from DirSync:</strong></p>
<p>Open the &#8220;Synchronization Service Manager&#8221; (cn be fount at &#8220;C:Program FilesWindowsAzureActiveDirectorySyncSYNCBUSSynchronization ServiceUIShellmiisclient.exe&#8221;)</p>
<p>Navigate to “Metaverse Search” and click on “Add Clause”</p>
<p>Be sure that you choose Displayname as Attribute, and then configure your search, in my case Show all objects starting with svc</p>
<p>Double click an entry, and open the tab connectors</p>
<p>Activate the line with the “Active Directory Connector” Management Agent and click on “Disconnect…</p>
<p>In the disconnect object accept question, choose “Disconnector (Default)” to remove the connector. Explicit Disconnector will lock the object to be a connector again.</p>
<p>Disconnect Object</p>
<p>You can then rerun your search, and the specific account will not be shown anymore. And after a sync, the object will also be be removed from the azure Directory</p>
<p><strong>Then you need to remove the user object from the Office 365 portal using the PowerShell</strong></p>
<p>Open PowerShell &#8220;Windows Azure Active Directory Module&#8221;</p>
<p>$msolcred = get-credential</p>
<p>connect-msolservice -credential $msolcred</p>
<p>Get-MsolUser -ReturnDeletedUsers | FT UserP*,ObjectId</p>
<p>Remove-MsolUser -ObjectId abc1234-12abc-123a-ab12-a12b3c4d5f6gah -RemoveFromRecycleBin -Force</p>
<p>Get-MsolUser -ReturnDeletedUsers | Remove-MsolUser -RemoveFromRecycleBin -Force</p>
<p>Then at the next scheduled sync of te DirSync the user will be recreated. Also you can force the DirSync to creaate the user faster.</p>
<div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><img loading="lazy" decoding="async" src="https://www.e-apostolidis.gr/wp-content/uploads/2019/05/mvpsummit2019.jpg" width="100"  height="100" alt="Pantelis Apostolidis" itemprop="image"></div><div class="saboxplugin-authorname"><a href="https://www.cloudcorner.gr/author/admin/" class="vcard author" rel="author"><span class="fn">Pantelis Apostolidis</span></a></div><div class="saboxplugin-desc"><div itemprop="description"><p>Pantelis Apostolidis is a Sr. Specialist, Azure at Microsoft and a former Microsoft Azure MVP. For the last 20 years, Pantelis has been involved to major cloud projects in Greece and abroad, helping companies to adopt and deploy cloud technologies, driving business value. He is entitled to a lot of Microsoft Expert Certifications, demonstrating his proven experience in delivering high quality solutions. He is an author, blogger and he is acting as a spokesperson for conferences, workshops and webinars. He is also an active member of several communities as a moderator in azureheads.gr and autoexec.gr. Follow him on Twitter @papostolidis.</p>
</div></div><div class="saboxplugin-web "><a href="https://www.cloudcorner.gr" target="_self" >www.cloudcorner.gr</a></div><div class="clearfix"></div><div class="saboxplugin-socials "><a title="Facebook" target="_blank" href="https://www.facebook.com/pantelis.apostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-facebook" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 264 512"><path fill="currentColor" d="M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"></path></svg></span></a><a title="Linkedin" target="_blank" href="https://www.linkedin.com/in/papostolidis/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-linkedin" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z"></path></svg></span></a><a title="Instagram" target="_blank" href="https://www.instagram.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-instagram" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"></path></svg></span></a><a title="Rss" target="_blank" href="https://wwwcloudcorner.gr/feed/rdf/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-rss" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M128.081 415.959c0 35.369-28.672 64.041-64.041 64.041S0 451.328 0 415.959s28.672-64.041 64.041-64.041 64.04 28.673 64.04 64.041zm175.66 47.25c-8.354-154.6-132.185-278.587-286.95-286.95C7.656 175.765 0 183.105 0 192.253v48.069c0 8.415 6.49 15.472 14.887 16.018 111.832 7.284 201.473 96.702 208.772 208.772.547 8.397 7.604 14.887 16.018 14.887h48.069c9.149.001 16.489-7.655 15.995-16.79zm144.249.288C439.596 229.677 251.465 40.445 16.503 32.01 7.473 31.686 0 38.981 0 48.016v48.068c0 8.625 6.835 15.645 15.453 15.999 191.179 7.839 344.627 161.316 352.465 352.465.353 8.618 7.373 15.453 15.999 15.453h48.068c9.034-.001 16.329-7.474 16.005-16.504z"></path></svg></span></a><a title="Twitter" target="_blank" href="https://twitter.com/papostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-twitter" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path d="M26.37,26l-8.795-12.822l0.015,0.012L25.52,4h-2.65l-6.46,7.48L11.28,4H4.33l8.211,11.971L12.54,15.97L3.88,26h2.65 l7.182-8.322L19.42,26H26.37z M10.23,6l12.34,18h-2.1L8.12,6H10.23z" /></svg></span></a><a title="Github" target="_blank" href="https://github.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-github" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></span></a><a title="User email" target="_self" href="mailto:&#112;&#114;&#111;&#120;im&#097;&#103;r&#064;ho&#116;m&#097;il&#046;&#099;o&#109;" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-user_email" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"></path></svg></span></a></div></div></div><p><a class="a2a_button_email" href="https://www.addtoany.com/add_to/email?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fdelete-user-from-office-365-with-dirsync%2F&amp;linkname=Delete%20user%20from%20Office%20365%20with%20DirSync" title="Email" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_print" href="https://www.addtoany.com/add_to/print?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fdelete-user-from-office-365-with-dirsync%2F&amp;linkname=Delete%20user%20from%20Office%20365%20with%20DirSync" title="Print" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.cloudcorner.gr%2Fmicrosoft%2Fdelete-user-from-office-365-with-dirsync%2F&#038;title=Delete%20user%20from%20Office%20365%20with%20DirSync" data-a2a-url="https://www.cloudcorner.gr/microsoft/delete-user-from-office-365-with-dirsync/" data-a2a-title="Delete user from Office 365 with DirSync"><img src="https://static.addtoany.com/buttons/share_save_171_16.png" alt="Share"></a></p><p>The post <a href="https://www.cloudcorner.gr/microsoft/delete-user-from-office-365-with-dirsync/">Delete user from Office 365 with DirSync</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.cloudcorner.gr/microsoft/delete-user-from-office-365-with-dirsync/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Register Active Directory Schema Snap-In</title>
		<link>https://www.cloudcorner.gr/everything/register-active-directory-schema-snap-in/</link>
					<comments>https://www.cloudcorner.gr/everything/register-active-directory-schema-snap-in/#respond</comments>
		
		<dc:creator><![CDATA[Pantelis Apostolidis]]></dc:creator>
		<pubDate>Tue, 17 Jun 2014 13:21:14 +0000</pubDate>
				<category><![CDATA[Everything]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Servers]]></category>
		<category><![CDATA[active directory]]></category>
		<category><![CDATA[fsmo]]></category>
		<category><![CDATA[schema]]></category>
		<guid isPermaLink="false">http://proximagr.wordpress.com/?p=72</guid>

					<description><![CDATA[<p>To be able to add the Active Directory Schema Snap-In at an MMC you need to register thschema management dll. To</p>
<p>The post <a href="https://www.cloudcorner.gr/everything/register-active-directory-schema-snap-in/">Register Active Directory Schema Snap-In</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>To be able to add the Active Directory Schema Snap-In at an MMC you need to register thschema management dll. To do so, open an elevated command prompt and run:</p>
<pre>regsvr32 schmmgmt.dll</pre>
<div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><img loading="lazy" decoding="async" src="https://www.e-apostolidis.gr/wp-content/uploads/2019/05/mvpsummit2019.jpg" width="100"  height="100" alt="Pantelis Apostolidis" itemprop="image"></div><div class="saboxplugin-authorname"><a href="https://www.cloudcorner.gr/author/admin/" class="vcard author" rel="author"><span class="fn">Pantelis Apostolidis</span></a></div><div class="saboxplugin-desc"><div itemprop="description"><p>Pantelis Apostolidis is a Sr. Specialist, Azure at Microsoft and a former Microsoft Azure MVP. For the last 20 years, Pantelis has been involved to major cloud projects in Greece and abroad, helping companies to adopt and deploy cloud technologies, driving business value. He is entitled to a lot of Microsoft Expert Certifications, demonstrating his proven experience in delivering high quality solutions. He is an author, blogger and he is acting as a spokesperson for conferences, workshops and webinars. He is also an active member of several communities as a moderator in azureheads.gr and autoexec.gr. Follow him on Twitter @papostolidis.</p>
</div></div><div class="saboxplugin-web "><a href="https://www.cloudcorner.gr" target="_self" >www.cloudcorner.gr</a></div><div class="clearfix"></div><div class="saboxplugin-socials "><a title="Facebook" target="_blank" href="https://www.facebook.com/pantelis.apostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-facebook" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 264 512"><path fill="currentColor" d="M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"></path></svg></span></a><a title="Linkedin" target="_blank" href="https://www.linkedin.com/in/papostolidis/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-linkedin" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z"></path></svg></span></a><a title="Instagram" target="_blank" href="https://www.instagram.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-instagram" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"></path></svg></span></a><a title="Rss" target="_blank" href="https://wwwcloudcorner.gr/feed/rdf/" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-rss" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M128.081 415.959c0 35.369-28.672 64.041-64.041 64.041S0 451.328 0 415.959s28.672-64.041 64.041-64.041 64.04 28.673 64.04 64.041zm175.66 47.25c-8.354-154.6-132.185-278.587-286.95-286.95C7.656 175.765 0 183.105 0 192.253v48.069c0 8.415 6.49 15.472 14.887 16.018 111.832 7.284 201.473 96.702 208.772 208.772.547 8.397 7.604 14.887 16.018 14.887h48.069c9.149.001 16.489-7.655 15.995-16.79zm144.249.288C439.596 229.677 251.465 40.445 16.503 32.01 7.473 31.686 0 38.981 0 48.016v48.068c0 8.625 6.835 15.645 15.453 15.999 191.179 7.839 344.627 161.316 352.465 352.465.353 8.618 7.373 15.453 15.999 15.453h48.068c9.034-.001 16.329-7.474 16.005-16.504z"></path></svg></span></a><a title="Twitter" target="_blank" href="https://twitter.com/papostolidis" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-twitter" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"><path d="M26.37,26l-8.795-12.822l0.015,0.012L25.52,4h-2.65l-6.46,7.48L11.28,4H4.33l8.211,11.971L12.54,15.97L3.88,26h2.65 l7.182-8.322L19.42,26H26.37z M10.23,6l12.34,18h-2.1L8.12,6H10.23z" /></svg></span></a><a title="Github" target="_blank" href="https://github.com/proximagr" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-github" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"></path></svg></span></a><a title="User email" target="_self" href="mailto:&#112;&#114;&#111;x&#105;ma&#103;&#114;&#064;&#104;o&#116;&#109;ai&#108;&#046;co&#109;" rel="nofollow noopener" class="saboxplugin-icon-grey"><svg aria-hidden="true" class="sab-user_email" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z"></path></svg></span></a></div></div></div><p><a class="a2a_button_email" href="https://www.addtoany.com/add_to/email?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Feverything%2Fregister-active-directory-schema-snap-in%2F&amp;linkname=Register%20Active%20Directory%20Schema%20Snap-In" title="Email" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_print" href="https://www.addtoany.com/add_to/print?linkurl=https%3A%2F%2Fwww.cloudcorner.gr%2Feverything%2Fregister-active-directory-schema-snap-in%2F&amp;linkname=Register%20Active%20Directory%20Schema%20Snap-In" title="Print" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.cloudcorner.gr%2Feverything%2Fregister-active-directory-schema-snap-in%2F&#038;title=Register%20Active%20Directory%20Schema%20Snap-In" data-a2a-url="https://www.cloudcorner.gr/everything/register-active-directory-schema-snap-in/" data-a2a-title="Register Active Directory Schema Snap-In"><img src="https://static.addtoany.com/buttons/share_save_171_16.png" alt="Share"></a></p><p>The post <a href="https://www.cloudcorner.gr/everything/register-active-directory-schema-snap-in/">Register Active Directory Schema Snap-In</a> appeared first on <a href="https://www.cloudcorner.gr">Apostolidis Cloud Corner</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.cloudcorner.gr/everything/register-active-directory-schema-snap-in/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
