<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>winde76</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/winde76/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/winde76/feed.xml</link>
    <description>this is Loay Al Hammouri Blog</description>
    <lastBuildDate>Wed, 17 Apr 2019 03:50:20 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>exchange 2010 mobile Sync "problem 4003 (INSUFF_ACCESS_RIGHTS) when you sync mobile device"</title>
      <link>https://docs.microsoft.com/archive/blogs/winde76/exchange-2010-mobile-sync-problem-4003-insuff_access_rights-when-you-sync-mobile-device</link>
      <pubDate>Sun, 02 Jun 2013 00:50:00 GMT</pubDate>
      <dc:creator><![CDATA[Loayal]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/winde76/2013/06/02/exchange-2010-mobile-sync-problem-4003-insuff_access_rights-when-you-sync-mobile-device/</guid>
      <description><![CDATA[The first time that a user tries to synchronize an EAS device, the Microsoft Exchange Server tries...]]></description>
      <content:encoded><![CDATA[<p>The first time that a user tries to synchronize an EAS device, the Microsoft Exchange Server tries to create a container of the type msExchActiveSyncDevices under the user object in Active Directory Domain Services (AD DS). The Exchange Server then tries to change permissions on the container.<br /><br />By default, the Exchange Server&nbsp; group has rights to Create and Delete msExchActiveSyncDevices objects. However, the Exchange Server group does not have rights to change permissions on msExchActiveSyncDevices. Instead, the rights are inherited from&nbsp; the Owner Rights security principal. By default, the Owner Rights security principal has Full Control permissions</p>
<p>&nbsp;</p>
<p>usually this should be resolved by following KB <a href="https://support.microsoft.com/kb/2579075">https://support.microsoft.com/kb/2579075</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>in some cases the above KB article doesn't solve the issue so we have to add the permissions at a higher level using dsacls as below</p>
<p>&nbsp;</p>
<p>in my case&nbsp;I found the below permissions missing</p>
<p>&nbsp;</p>
<p>Domain Name\Exchange Servers&nbsp;&nbsp;&nbsp;&nbsp;SPECIAL ACCESS for msExchActiveSyncDevices&nbsp;&nbsp; &lt;Inherited from parent&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CREATE CHILD<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DELETE CHILD<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LIST CONTENTS</p>
<p>Dsacls &ldquo;<span style="color: black; font-family: 'Arial','sans-serif'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">dc=contoso,dc=com</span>&rdquo; /I:S /G &ldquo;Contoso\exchange servers:CCDC;msexchActiveSyncDevices;user&rdquo;<br />Dsacls &ldquo;<span style="color: black; font-family: 'Arial','sans-serif'; font-size: 9pt; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">dc=contoso,dc=com</span>&rdquo; /I:S /G &ldquo;Contoso\exchange servers:LC;;user&rdquo;</p>
<p>&nbsp;after that the user should be able to sync his mobile</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Exchange 2010 Datacenter switchover</title>
      <link>https://docs.microsoft.com/archive/blogs/winde76/exchange-2010-datacenter-switchover</link>
      <pubDate>Thu, 30 Aug 2012 03:36:00 GMT</pubDate>
      <dc:creator><![CDATA[Loay Al Hammouri]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/winde76/2012/08/30/exchange-2010-datacenter-switchover/</guid>
      <description><![CDATA[when exchange 2010 was released and the DAG feature was first introduced &nbsp;everybody was excited...]]></description>
      <content:encoded><![CDATA[<p>when exchange 2010 was released and the DAG feature was first introduced &nbsp;everybody was excited about it and looking forward to deploy it, but performing the disaster recovery is a nightmare because it requires multiple steps so I thought sharing the steps to do a site switchover&nbsp;in a scenario based will help many people who would like to either create a DR document or do the actual site switchover</p>
<p>in this Blog I will only cover the mailbox role and will do simulate a mailbox servers failure in production site that requires a full site switchover, there are other steps you need to do to activate the other server roles that are not mentioned here&nbsp;</p>
<p>we have the below Organization that contains two Sites</p>
<p>CLT site (production)</p>
<p>ADA-CLT-MBX, ADA-CLT-MBX02, ADA-CLT-HC</p>
<p>SEA site (DR)</p>
<p>ADA-SEA-MBX, ADA-SEA-HC</p>
<p>we are going to deploy a DAG on three Mailbox servers and learn how to do site switchover</p>
<p>first we need to create a new domain called&nbsp; Adatum.com</p>
<p>place one DC in CLT site and another one in SEA site</p>
<p>install exchange on all servers in both CLT and SEA sites</p>
<p>follow this blog to implement DAG</p>
<p>&nbsp;<a href="https://blogs.technet.com/b/winde76/archive/2011/03/23/step-by-step-create-a-database-availability-group-dag.aspx">https://blogs.technet.com/b/winde76/archive/2011/03/23/step-by-step-create-a-database-availability-group-dag.aspx</a></p>
<p>&nbsp;</p>
<p><strong><span style="font-size: large;">No&nbsp;DAC Enabled </span></strong></p>
<p>to test our DR site switch over we need to do the following steps</p>
<ul>
<li>simulate the production site power failure by switching off all exchange mailbox servers in main site</li>
<li>Stop the Cluster service on each DAG member in the second data-center by running the following command on each member:</li>
</ul>
<p>net stop clussvc</p>
<ul>
<li>On a DAG member in the second data-center, force a quorum start of the Cluster service by running the following command:</li>
</ul>
<p>net start clussvc /forcequorum</p>
<p>&nbsp;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/97/8625.force%20qurum.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-97/8625.force-qurum.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/97/8625.force%20qurum.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-97/8625.force-qurum.png" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<ul>
<li>Open the Fail-over Cluster Management tool and connect to the DAG's underlying cluster. Expand the cluster, and then expand <strong>Nodes</strong>. Right-click each node in the primary data-center, select <strong>More Actions</strong>, and then select <strong>Evict</strong>.</li>
</ul>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/97/0488.cluster%20evect.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-97/0488.cluster-evect.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/97/0488.cluster%20evect.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-97/0488.cluster-evect.png" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<ul>
<li>activate mailbox servers in DR site</li>
</ul>
<p>The quorum must be modified based on the number of DAG members in the second data-center.</p>
<ul>
<li>If there's an odd number of DAG members, change the DAG quorum model from a Node a File Share Majority to a Node Majority quorum by running the following command:
<div class="codeSnippetContainer">
<div class="codeSnippetContainerTabs"><br />cluster &lt;DAGName&gt; /quorum /nodemajority</div>
</div>
</li>
</ul>
<p>&nbsp;</p>
<ul>
<li>If there's an even number of DAG members, reconfigure the witness server and directory by running the following command in the Exchange Management Shell:</li>
</ul>
<div style="color: black;">
<pre>Set-DatabaseAvailabilityGroup &lt;DAGName&gt; -WitnessServer &lt;ServerName&gt;</pre>
</div>
<div class="codeSnippetContainerCode" dir="ltr">
<div style="color: black;">
<pre>in our scenario we have odd number so we will use</pre>
</div>
<div style="color: black;">
<pre>&nbsp;</pre>
</div>
<div style="color: black;">
<pre>cluster loayaldag /quorum /nodemajority</pre>
</div>
<div style="color: black;">
<pre>&nbsp;</pre>
</div>
<div style="color: black;">
<pre><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/97/6747.node%20maj.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-97/6747.node-maj.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/97/6747.node%20maj.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-97/6747.node-maj.png" alt="" border="0" /></a></pre>
</div>
<div style="color: black;">
<pre>&nbsp;</pre>
</div>
<ul>
<li>
<div style="color: black;">
<pre>Start the Cluster service on any remaining DAG members in the second data-center by running the following command:</pre>
</div>
</li>
</ul>
<div class="codeSnippetContainerCodeContainer" style="color: black;">
<div class="codeSnippetContainerCode" style="color: black;" dir="ltr">
<pre>net start clussvc</pre>
<pre>&nbsp;</pre>
</div>
</div>
</div>
<ul>
<li>&nbsp;Perform server switch-overs to activate the mailbox databases in the DAG by running the following command&nbsp;</li>
</ul>
<div class="codeSnippetContainerTabs">get-mailboxdatabase | Move-ActiveMailboxDatabase -ActivateOnServer ADA-SEA-MBX -<em>SkipActiveCopyChecks -<em>SkipHealthChecks -<em>SkipClientExperienceChecks -<em>SkipLagChecks -<em>MountDialOverride:Besteffort</em></em></em></em></em></div>
<div class="codeSnippetContainerTabs"><em><em><em><em><em></em></em></em></em></em>&nbsp;</div>
<div class="codeSnippetContainerTabs"><em><em><em><em><em></em></em></em></em></em>&nbsp;</div>
<div class="codeSnippetContainerTabs"><em><em><em><em><em><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/97/1072.movemailbox.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-97/1072.movemailbox.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/97/1072.movemailbox.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-97/1072.movemailbox.png" alt="" border="0" /></a></em></em></em></em></em></div>
<div class="codeSnippetContainerTabs"><em><em><em><em><em></em></em></em></em></em>&nbsp;</div>
<div class="codeSnippetContainerTabs"><em><em><em><em><em>if after the above command the databases are not mounted you can run this command</em></em></em></em></em></div>
<div class="codeSnippetContainerTabs"><em><em><em><em><em></em></em></em></em></em>&nbsp;</div>
<div class="codeSnippetContainer">
<div class="codeSnippetContainerCodeContainer">
<div class="codeSnippetToolBar">
<div class="codeSnippetToolBarText">Get-MailboxDatabase &lt;DAGMemberinSecondSite&gt; | Mount-Database</div>
</div>
</div>
</div>
<div class="codeSnippetContainerTabs"><em><em><em><em><em></em></em></em></em></em>&nbsp;</div>
<div class="codeSnippetContainerTabs"><em><em><em><em><em>now you need to change the OWA url and the MX records to point to the DR HUB and CAS servers</em></em></em></em></em></div>
<div class="codeSnippetContainerTabs"><em><em><em><em><em></em></em></em></em></em>&nbsp;</div>
<div class="codeSnippetContainerTabs">&nbsp;</div>
<div class="codeSnippetContainerTabs"><br />after the power is restored in the Primary site we need to reactivate the service</div>
<div class="codeSnippetContainerTabs">&nbsp;</div>
<ul>
<li>
<div class="codeSnippetContainerTabs">start all mailbox servers</div>
</li>
</ul>
<div class="codeSnippetContainerTabs">&nbsp;</div>
<ul>
<li>
<div class="codeSnippetContainerTabs">remove the copies from the Primary site</div>
</li>
</ul>
<div class="codeSnippetContainerTabs">&nbsp;</div>
<div class="codeSnippetContainerTabs"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/97/5417.remove%20copy.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-97/5417.remove-copy.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/97/5417.remove%20copy.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-97/5417.remove-copy.png" alt="" border="0" /></a></div>
<div class="codeSnippetContainerTabs">&nbsp;</div>
<div class="codeSnippetContainerTabs">&nbsp;</div>
<ul>
<li>
<div class="codeSnippetContainerTabs">remove the servers from the DAG</div>
</li>
</ul>
<div class="codeSnippetContainerTabs">&nbsp;</div>
<div class="codeSnippetContainerTabs"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/97/3051.remove%20member.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-97/3051.remove-member.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/97/3051.remove%20member.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-97/3051.remove-member.png" alt="" border="0" /></a></div>
<div class="codeSnippetContainerTabs">&nbsp;</div>
<ul>
<li>
<div class="codeSnippetContainerTabs">add the servers back to the DAG either using EMC or Add-DatabaseAvailabilityGroupServer&nbsp;</div>
</li>
</ul>
<div class="codeSnippetContainerTabs">&nbsp;</div>
<ul>
<li>
<div class="codeSnippetContainerTabs">add database copies again</div>
</li>
</ul>
<div class="codeSnippetContainerTabs">&nbsp;</div>
<div class="codeSnippetContainerTabs"><span style="font-size: large;"><strong>&nbsp;exchange server is in DAC mode</strong></span></div>
<div class="codeSnippetContainerTabs">&nbsp;</div>
<div class="codeSnippetContainerTabs">&nbsp;</div>
<ul>
<li>
<div class="codeSnippetContainerTabs">first we need to enable DAC mode by running</div>
</li>
</ul>
<div class="codeSnippetContainerTabs">&nbsp;</div>
<div class="codeSnippetContainerTabs">Set-DatabaseAvailabilityGroup -Identity loayaldag -DatacenterActivationMode DagOnly&nbsp;</div>
<div class="codeSnippetContainerTabs">&nbsp;</div>
<div class="codeSnippetContainerTabs"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/97/5850.dagonly.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-97/5850.dagonly.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/97/5850.dagonly.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-97/5850.dagonly.png" alt="" border="0" /></a></div>
<div class="codeSnippetContainerTabs">&nbsp;</div>
<ul>
<li>
<div class="codeSnippetContainerTabs">simulate the failure shutdown the mailbox servers in the primary site</div>
</li>
</ul>
<div class="codeSnippetContainerTabs">&nbsp;</div>
<div class="codeSnippetContainerTabs">
<div class="codeSnippetContainerTabs"><em>The Cluster service must be stopped on each DAG member in the second data-center </em></div>
<div class="codeSnippetContainerTabs"><em><code></code></em>&nbsp;</div>
<div class="codeSnippetContainerTabs"><em><code>Stop-Service ClusSvc "exchange management shell" </code></em></div>
<div class="codeSnippetContainerTabs"><em>or </em></div>
<div class="codeSnippetContainerTabs"><em>net stop clussvc "cmd"</em></div>
<div class="codeSnippetContainerTabs"><em></em>&nbsp;</div>
</div>
<ul>
<li>
<div class="codeSnippetContainerTabs">&nbsp;The DAG members in the primary data-center must be marked as stopped in the primary data-center. <em>Stopped</em> is a state of Active Manager that prevents databases from mounting, and Active Manager on each server in the failed data-center is put into this state by using the&nbsp;stop-DatabaseAvailabilityGoup cmdlet from the Primary site servers, If the Mailbox server is unavailable but Active Directory is operating in the primary data-center, the <strong>Stop-DatabaseAvailabilityGroup</strong> command with the <em>ConfigurationOnly</em> parameter must be run against all servers in this state in the primary data-center</div>
</li>
</ul>
<div class="codeSnippetContainerTabs">&nbsp;</div>
<div class="codeSnippetContainerTabs">in our scenario the mailbox servers are off but the AD is still active so we will use the &nbsp;<em>ConfigurationOnly parameter </em></div>
<div class="codeSnippetContainerTabs">&nbsp;</div>
<div class="codeSnippetContainerTabs">Stop-DatabaseAvailabilityGroup -Identity loayaldag -ActiveDirectorySite CLT -<em>ConfigurationOnly</em></div>
<div class="codeSnippetContainerTabs"><em></em>&nbsp;</div>
<div class="codeSnippetContainerTabs"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/97/0871.stopped%20server.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-97/0871.stopped-server.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/97/0871.stopped%20server.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-97/0871.stopped-server.png" alt="" border="0" /></a></div>
<div class="codeSnippetContainerTabs">&nbsp;</div>
<ul>
<li>
<div class="codeSnippetContainerTabs"><em>to complete activation of the mailbox servers in the second data-center are as follows</em></div>
</li>
</ul>
<div class="codeSnippetContainerTabs"><em></em>&nbsp;</div>
<div class="codeSnippetContainerTabs"><em><code></code></em>&nbsp;</div>
<div class="codeSnippetContainerTabs"><em>The Mailbox servers in the standby datacenter are then activated by using the <a href="https://technet.microsoft.com/en-us/library/dd351169(v=exchg.141).aspx">Restore-DatabaseAvailabilityGroup</a> cmdlet,The Active Directory site of the standby datacenter is passed to the <strong>Restore-DatabaseAvailabilityGroup</strong> cmdlet to identify which servers to use to restore service and to configure the DAG to use an alternate witness server. If the alternate witness server wasn't previously configured, you can configure it by using the <em>AlternateWitnessServer</em> and <em>AlternateWitnessDirectory</em> parameters of the <a href="https://technet.microsoft.com/en-us/library/dd351169(v=exchg.141).aspx">Restore-DatabaseAvailabilityGroup</a> cmdlet</em></div>
<div class="codeSnippetContainerTabs">&nbsp;</div>
<div class="codeSnippetContainerTabs">&nbsp;</div>
<div class="codeSnippetContainerTabs">&nbsp;</div>
<div class="codeSnippetContainerTabs">Restore-DatabaseAvailabilityGroup -Identity loayaldag -ActiveDirectorySite sea -AlternateWitnessServer ada-sea-hc -AlternateWitnessDirectory c:\loayaldag</div>
<div class="codeSnippetContainerTabs">&nbsp;</div>
<ul>
<li>
<div class="codeSnippetContainerTabs">&nbsp;The databases can now be activated. Depending on the specific configuration used by the organization, this may not be automatic. If the servers in the standby datacenter have an activation blocked setting, the system won't do an automatic failover from the primary datacenter to the standby datacenter of any database. If no failover restrictions are present for any of the database copies in the standby datacenter, the system will activate copies in the second datacenter assuming they are healthy. If databases are configured with an activation blocked setting that requires explicit manual action, there are two choices for action:</div>
</li>
</ul>
<div class="codeSnippetContainerTabs"><ol>
<li>Clear the setting that blocks activation. This will make the system return to its default behavior, which is to activate any available copy.</li>
<li>Leave the setting unchanged and use the <a href="https://technet.microsoft.com/en-us/library/dd298068(v=exchg.141).aspx">Move-ActiveMailboxDatabase</a> cmdlet to complete the database activation in the second datacenter. To complete this step using the <strong>Move-ActiveMailboxDatabase</strong> cmdlet when activation blocked is set, you must explicitly identify the target of the move.</li>
</ol></div>
<p class="codeSnippetContainer">&nbsp;in our scenario there is no block so we will just go for activation</p>
<p class="codeSnippetContainer">&nbsp;</p>
<p class="codeSnippetContainer">get-mailboxdatabase | Move-ActiveMailboxDatabase -ActivateOnServer ada-sea-mbx -<em>SkipActiveCopyChecks -<em>SkipClientExperienceChecks -<em>SkipHealthChecks -<em>SkipLagChecks</em></em>&nbsp;</em>&nbsp;</em>-MountDialOverride:besteffort</p>
<p class="codeSnippetContainer">&nbsp;</p>
<p class="codeSnippetContainer"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/97/0285.movedatabase.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-97/0285.movedatabase.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/97/0285.movedatabase.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-97/0285.movedatabase.png" alt="" border="0" /></a></p>
<ul>
<li>
<div class="codeSnippetContainer">after we fix the issues on the servers in the clt site we need to restore the service and add them back to DAG</div>
</li>
</ul>
<p class="codeSnippetContainer">&nbsp;</p>
<ul>
<li>
<div class="codeSnippetContainer">First you can reincorporate the DAG members in the primary site by using the <a href="https://technet.microsoft.com/en-us/library/dd335076(v=exchg.141).aspx">Start-DatabaseAvailabilityGroup</a> cmdlet. Then, to make sure that the proper quorum model is being used by the DAG, run the <a href="https://technet.microsoft.com/en-us/library/dd297934(v=exchg.141).aspx">Set-DatabaseAvailabilityGroup</a> cmdlet against the DAG without specifying any parameters.</div>
</li>
</ul>
<p class="codeSnippetContainer">&nbsp;&nbsp;Start-DatabaseAvailabilityGroup -Identity loayaldag -ActiveDirectorySite clt</p>
<p class="codeSnippetContainer">&nbsp;</p>
<p class="codeSnippetContainer"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/97/2100.?????.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-97/2100._33064106340642064106_.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/97/2100.?????.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-83-97/2100._33064106340642064106_.png" alt="" border="0" /></a></p>
<p class="codeSnippetContainer">&nbsp;</p>
<p class="codeSnippetContainer">Set-DatabaseAvailabilityGroup</p>
<p class="codeSnippetContainer">&nbsp;</p>
<ul>
<li>
<div class="codeSnippetContainer">After the Mailbox servers in the primary data-center have been incorporated into the DAG, they will need some time to synchronize their database copies. Depending on the nature of the failure, the length of the outage, and actions taken by an administrator during the outage, this may require reseeding the database copies</div>
</li>
</ul>
<div class="codeSnippetContainer">
<pre>&nbsp;</pre>
</div>
<p class="codeSnippetContainer">&nbsp;hope that the above is clear and straightforward</p>
<p class="codeSnippetContainer">&nbsp;</p>
<div class="codeSnippetContainerTabs">&nbsp;</div>
<div class="codeSnippetContainerTabs">&nbsp;</div>
<div class="codeSnippetContainerTabs">&nbsp;</div>
<div class="codeSnippetContainerTabs">&nbsp;</div>
<div class="codeSnippetContainerTabs">&nbsp;</div>]]></content:encoded>
    </item>
    <item>
      <title>prepare AD creates duplicate security groups</title>
      <link>https://docs.microsoft.com/archive/blogs/winde76/prepare-ad-creates-duplicate-security-groups</link>
      <pubDate>Sun, 10 Jun 2012 05:43:00 GMT</pubDate>
      <dc:creator><![CDATA[Loay Al Hammouri]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/winde76/2012/06/10/prepare-ad-creates-duplicate-security-groups/</guid>
      <description><![CDATA[some times when you run setup /prepareAD you find duplicate security groups, this happens when you...]]></description>
      <content:encoded><![CDATA[<p>some times when you run setup /prepareAD you find duplicate security groups, this happens when you have the issue below</p>
<p>You may get the following error when you run Get-ReceiveConnector cmdlet from <br />Exchange Management Shell<br /><br />The Exchange group with GUID <br />"3f965b9c-f167-4b4a-936c-b8efb19c4784" was not found. This group was <br />automatically created during Exchange Setup, but has been subsequently <br />removed.<br /><br /><br />More Information:<br />=================<br /><br />This typically <br />happens if one or more Exchange Security groups are missing. There are 6 <br />Exchange security groups . Exchange Organization Administrators, Exchange <br />Public Folder Administrators, Exchange Recipient Administrators, Exchange <br />Servers, Exchange View-Only Administrators and ExchangeLegacyInterop.<br /><br />In this situation Exchange security group "ExchangeLegacyInterop" is missing. Running <br />the Exchange Setup /PrepareAD may fail as well with the following <br />error<br /><br />[13/05/2009 10:01:40 PM] [2] [ERROR] The well-known object entry <br />B:32:9C5B963F67F14A4B936CB8EFB19C4784:CN=ExchangeLegacyInterop\0ADEL:90d1a283-ed42-4ddf-8402-f0dbef0290b2,CN=Deleted <br />Objects,DC=CAO,DC=local of the <span id="#h1" class="KeywordHighlight">otherWellKnownObjects</span> attribute on container <br />object CN=Configuration,DC=CAO,DC=local points to an invalid DN or a deleted <br />object. Please remove the entry and rerun the task.</p>
<p>&nbsp;</p>
<p>Resolution:<br />=================<br /><br />You cannot delete the invalid DN value <br />from ADSIEDIT.msc so you have to use LDAP. Once you have deleted the invalid DN <br />reference, you need to run the PrepareAD command from the Exchange setup to <br />create the missing Security Group.<br /><br />1.) Go to Start -&gt; Run -Type <br />LDP.exe -&gt; click OK<br />2.) Click Connection -&gt; Connect and then click <br />OK<br />3.) Click Connection -&gt; Bind and then click OK<br />4.) Click View -&gt; <br />Tree and for the BaseDN select CN=Configuration,DC=DomainName,DC=local and click <br />OK<br />5.) In the left-pane expand the Configuration partition -&gt; Services <br />-&gt; Microsoft Exchange<br />6.) Right-click the object Microsoft Exchange and <br />then click Modify<br />7.) In the Attribute box type <span id="#h2" class="KeywordHighlight">otherWellKnownObjects</span><br />8.) In the Values box <br />type <br />B:32:9C5B963F67F14A4B936CB8EFB19C4784:CN=ExchangeLegacyInterop\0ADEL:90d1a283-ed42-4ddf-8402- <br />f0dbef0290b2,CN=Deleted Objects,DC=CAO,DC=local (The invalid DN reference you <br />want to delete)<br />9.) Select the Delete radio button<br />10.) Click the Enter <br />button<br />11.) The Entry List text box will populate with [Delete] and the <br />selected attribute and its value in steps 7 &amp; 8.<br />12.) Click on the Run <br />button</p>
<p>&nbsp;if you by mistake cleared the otherwellknowobjects&nbsp; value above and you&nbsp; run setup /prepareAD it will create duplicate security group</p>
<p>&nbsp;</p>
<p></p>
<p>&nbsp;</p>
<p>what actually happens here</p>
<p>&nbsp;</p>
<p>when we run setup /prepareAD, setup will go and check the contents of OtherWellKnownObjects attribute on Microsoft exchange object to see what security groups are existing, so it will find nothing and when it tries to create the security groups it will find that those groups exists in AD so it adds number one after each security group name</p>
<p>&nbsp;</p>
<p>to resolve this issue the shortest way is to delete all exchange security groups, clear the OtherWellKnownObjects attribute and run exchange setup /prepareAD again</p>
<p><br />&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>getting an error when you open EMC / EMS</title>
      <link>https://docs.microsoft.com/archive/blogs/winde76/getting-an-error-when-you-open-emc-ems</link>
      <pubDate>Sat, 17 Mar 2012 22:40:00 GMT</pubDate>
      <dc:creator><![CDATA[Loay Al Hammouri]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/winde76/2012/03/17/getting-an-error-when-you-open-emc-ems/</guid>
      <description><![CDATA[some times after you install service pack or update roll up for exchange 2010 you find that EMC /...]]></description>
      <content:encoded><![CDATA[<p>some times after you install service pack or update roll up for exchange 2010 you find that EMC / EMS are not working with below error</p>
<p>Connecting to remote server failed with the following error<br />message: The WinRM client cannot process the request. It cannot determine the<br />content type of the HTTP response from the destination computer. The content<br />type is absent or invalid. For more information, see the<br />about_Remote_Troubleshooting Help topic.</p>
<p>&nbsp;</p>
<p>looking at the application log we can see the below warning</p>
<p>&nbsp;</p>
<p>&nbsp;Log Name:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Application</p>
<p>Source:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ASP.NET<br />2.0.50727.0</p>
<p>Date:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />3/11/2012 11:22:04 AM</p>
<p>Event ID:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1310</p>
<p>Task Category: Web Event</p>
<p>Level:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Warning</p>
<p>Keywords:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Classic</p>
<p>User:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; N/A</p>
<p>Computer:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />ABC.XYZ.LOCAL</p>
<p>Description:</p>
<p>Event code: 3008</p>
<p>Event message: A configuration error has occurred.</p>
<p>Event time: 3/11/2012 11:22:04 AM</p>
<p>Event time (UTC): 3/11/2012 8:22:04 AM</p>
<p>Event ID: c21330b3c7e64e37938fefc93278b3b0</p>
<p>Event sequence: 2</p>
<p>Event occurrence: 2</p>
<p>Event detail code: 0</p>
<p>&nbsp;</p>
<p>Application information:</p>
<p>&nbsp;&nbsp;&nbsp; Application<br />domain: /LM/W3SVC/1/ROOT/PowerShell-1-129759272693526091</p>
<p>&nbsp;&nbsp;&nbsp; Trust level: Full</p>
<p>&nbsp;&nbsp;&nbsp; Application<br />Virtual Path: /PowerShell</p>
<p>&nbsp;&nbsp;&nbsp; Application Path:<br />D:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\PowerShell\</p>
<p>&nbsp;&nbsp;&nbsp; Machine name:<br />ABC</p>
<p>&nbsp;</p>
<p>Process information:</p>
<p>&nbsp;&nbsp;&nbsp; Process ID: 7192</p>
<p>&nbsp;&nbsp;&nbsp; Process name:<br />w3wp.exe</p>
<p>&nbsp;&nbsp;&nbsp; Account name: NT<br />AUTHORITY\SYSTEM</p>
<p>&nbsp;</p>
<p>Exception information:</p>
<p>&nbsp;&nbsp;&nbsp; Exception type:<br />ConfigurationErrorsException</p>
<p>&nbsp;&nbsp;&nbsp; Exception message:<br />Could not load file or assembly<br />'Microsoft.Exchange.Configuration.RedirectionModule, Version=14.0.0.0,<br />Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.<br />The system cannot find the file specified. (D:\Program Files\Microsoft\Exchange<br />Server\V14\ClientAccess\PowerShell\web.config line 42)</p>
<p>&nbsp;</p>
<p>Request information:</p>
<p>&nbsp;&nbsp;&nbsp; Request URL:<br />https://ABC.XYZ.LOCAL/PowerShell?PSVersion=2.0</p>
<p>&nbsp;&nbsp;&nbsp; Request path:<br />/PowerShell</p>
<p>&nbsp;&nbsp;&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp; User:&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp; Is authenticated:<br />False</p>
<p>&nbsp;&nbsp;&nbsp; Authentication<br />Type:&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp; Thread account<br />name: NT AUTHORITY\SYSTEM</p>
<p>&nbsp;</p>
<p>Thread information:</p>
<p>&nbsp;&nbsp;&nbsp; Thread ID: 7</p>
<p>&nbsp;&nbsp;&nbsp; Thread account<br />name: NT AUTHORITY\SYSTEM</p>
<p>&nbsp;&nbsp;&nbsp; Is impersonating:<br />False</p>
<p>&nbsp;&nbsp;&nbsp; Stack trace:&nbsp;&nbsp;&nbsp; at<br />System.Web.Configuration.ConfigUtil.GetType(String typeName, String<br />propertyName, ConfigurationElement configElement, XmlNode node, Boolean<br />checkAptcaBit, Boolean ignoreCase)</p>
<p>&nbsp;&nbsp; at<br />System.Web.Configuration.Common.ModulesEntry..ctor(String</p>
<p>&nbsp;</p>
<p>looking at the above warning looks like something missed up in the web.config under power shell directory</p>
<p>&nbsp;</p>
<p>if we edit the web.config we can see a variable called %ExchangeInstallDir% but that variable doesn't exist in the environment variable path, even after we add it still the issue is the same</p>
<p>so what i did here is replace this variable with the physical path as below</p>
<p>&nbsp;</p>
<p>open web.config</p>
<p>Replace all "file:///%ExchangeInstallDir%" with "file:///D:\Program Files\Microsoft\Exchange Server\" where&nbsp;<em>D</em> is the drive where Exchange is installed</p>
<p>Save the file</p>
<p>iisreset</p>
<p>&nbsp;</p>
<p>now EMC and EMS should open properly</p>]]></content:encoded>
    </item>
    <item>
      <title>issue in incoming e mails for some users</title>
      <link>https://docs.microsoft.com/archive/blogs/winde76/issue-in-incoming-e-mails-for-some-users</link>
      <pubDate>Sun, 12 Feb 2012 20:39:40 GMT</pubDate>
      <dc:creator><![CDATA[Loay Al Hammouri]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/winde76/2012/02/12/issue-in-incoming-e-mails-for-some-users/</guid>
      <description><![CDATA[recently i faced an issue with one of my customers which was really strange and i decided to blog...]]></description>
      <content:encoded><![CDATA[<p>recently i faced an issue with one of my customers which was really strange and i decided to blog about it</p>
<p>the issue was some users are not able to receive e mails from certain domains, when we check message tracking, no trace for the message, we enabled pipeline tracing and also no trace for the message, if the sender sends an e mail to the user and another few users in his organization the message is received for all users except the problematic user and the odd thing is that the user is not in the header of the message which means something is filtering the user before it even arrives at exchange server, we checked customer network devices and even we replaced some appliances with no luck, then we found that what is common between the problematic users are all having black berry accounts</p>
<p>and that's when we found that the messages were going to black berry instead of exchange server</p>
<p></p>]]></content:encoded>
    </item>
    <item>
      <title>misleading NDR 550 5.5.3 RESOLVER.ADR.RecipLimit; too many recipients exchange 2010</title>
      <link>https://docs.microsoft.com/archive/blogs/winde76/misleading-ndr-550-5-5-3-resolver-adr-reciplimit-too-many-recipients-exchange-2010</link>
      <pubDate>Wed, 25 Jan 2012 22:38:00 GMT</pubDate>
      <dc:creator><![CDATA[Loay Al Hammouri]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/winde76/2012/01/25/misleading-ndr-550-5-5-3-resolver-adr-reciplimit-too-many-recipients-exchange-2010/</guid>
      <description><![CDATA[recently i faced a strange issue where some users are not able to to send e mail to number of users...]]></description>
      <content:encoded><![CDATA[<p>recently i faced a strange issue where some users are not able to to send e mail to number of users even though they have a big limit</p>
<p>Suppose you have a user with a recipient limit of 5000 and intermittently when he sends an e mail to a certain list of users he got an NDR similar to this</p>
<p><b><span style="color: #000066; font-family: 'Arial','sans-serif'; font-size: 12pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">This message wasn't delivered to anyone because there are too many recipients. The limit is 50. This message has 216 recipients</span></b></p>
<p>but&nbsp;the user has a recipient limit of 5000, so what is special in this message</p>
<p>checking the message tracking i can see the same message failed also with ambiguous address, looking at the recipients in that message i could find an address which doesn't have an E mail and it displays as 'user name', so this looks like a bad address, Mail tips also shows that its invalid address</p>
<p>removing the address from the recipient list will solve the issue and bingo message is sent</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Step by Step Create a Database Availability Group (DAG)</title>
      <link>https://docs.microsoft.com/archive/blogs/winde76/step-by-step-create-a-database-availability-group-dag</link>
      <pubDate>Wed, 23 Mar 2011 06:03:00 GMT</pubDate>
      <dc:creator><![CDATA[Loay Al Hammouri]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/winde76/2011/03/23/step-by-step-create-a-database-availability-group-dag/</guid>
      <description><![CDATA[in order to create a DAG in exchange 2010 we need to have

unique name for the DAG of up to 15...]]></description>
      <content:encoded><![CDATA[<p>in order to create a DAG in exchange 2010 we need to have</p>
<ul>
<li>unique name for the DAG of up to 15 characters one or more IP addresses (either IPv4 or both IPv4 and IPv6) to the DAG, must be on the subnet intended for the MAPI network and must be available for use</li>
<li>witness server and witness directory, recommended to be on HUB server</li>
<li>one or more exchange 2010 mailbox server roles installed</li>
</ul>
<p>in this scenario we have single Domain controller&nbsp;with exchange servers roles installed as below</p>
<p>DAG-CASh01: CAS and HUB server with single network card (192.168.1.4 /24)</p>
<p>DAG-MBX01 : Mailbox server with two network cards (192.168.1.2 /24) for MAPI and (11.11.11.1 /8) for replication</p>
<p>DAG-MBX02: Mailbox server with two network cards (192.168.1.6 /24) for MAPI and (11.11.11.2 /8) for replication</p>
<p>DC01 : domain controller with single network card (192.168.1.1 /24)</p>
<p>Database Availability Group Name : LabDAG</p>
<p>Database Availability Group IP Address: 192.168.1.10</p>
<p><span style="font-size: medium;"></span>&nbsp;</p>
<p><span style="font-size: small;"><strong>Creating the DAG (EMC)</strong></span></p>
<ol>
<li>In the console tree, navigate to <strong>Organization Configuration</strong> &gt; <strong>Mailbox</strong>.</li>
<li>In the action pane, click <strong>New</strong> <strong>Database Availability Group</strong>.</li>
<li>specify the DAG name</li>
</ol>
<p>&nbsp;<img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/97/4466.dag.JPG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-83-97/4466.dag.JPG" border="0" /></p>
<ul>
<li>notice that i left the <strong>Witness Server</strong> and <strong>Witness Directory</strong> check boxes cleared. In this scenario, the wizard will search for a Hub Transport server that doesn't have the Mailbox server role installed. It will automatically create the default directory and share on that Hub Transport server and use that server as the witness server.</li>
</ul>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/97/1212.finish.JPG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-83-97/1212.finish.JPG" border="0" /></p>
<p>&nbsp;</p>
<p><span style="font-size: medium;"><strong><span style="font-size: small;">Assigning DAG IP Address </span></strong></span></p>
<p>now the DAG is ready we need to assign an IP Address</p>
<p>set-DatabaseAvailabilityGroup -Identity LABDAG -DatabaseAvailabilityGroupIpAddresses 192.168.1.10</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/97/6747.ipaddress.JPG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-83-97/6747.ipaddress.JPG" border="0" /></p>
<p>&nbsp;now DAG is ready and next step is to add a new member to DAG</p>
<p><span style="font-size: small;"><strong>Adding a new member to DAG (EMC)</strong></span></p>
<p><span style="font-size: small;"></span>&nbsp;</p>
<ul>
<li>In the console tree, navigate to <strong>Organization Configuration</strong> &gt;<strong> Mailbox</strong>.</li>
<li>In the result pane, click the <strong>Database Availability Group</strong> tab, right-click the DAG you want to manage, and then click <strong>Manage Database Availability Group Membership</strong></li>
<li>On the <strong>Manage Database Availability Group Membership</strong> page click Add, add the first exchange mailbox server from the list, Manage and Finish</li>
</ul>
<p>&nbsp;<img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/97/8357.member.JPG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-83-97/8357.member.JPG" border="0" /></p>
<p>&nbsp;</p>
<p>now we have DAG with one member and notice that net DAG networks created automatically</p>
<p>&nbsp;</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/97/6138.final.JPG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-83-97/6138.final.JPG" border="0" /></p>
<p>&nbsp;now we can add other members by repeating the steps above in the add member section</p>
<p>&nbsp;</p>
<div class="title"><span style="font-size: small;"><strong>Add a Mailbox Database Copy (EMC)</strong></span></div>
<div class="title"><span style="font-size: small;"><strong></strong></span>&nbsp;</div>
<ul>
<ul>
<li>
<div class="title"><span style="font-size: small;">In the console tree, navigate to <strong>Organization Configuration</strong> &gt; <strong>Mailbox</strong>.</span></div>
</li>
</ul>
</ul>
<div class="title">
<ul>
<li>In the result pane, on the <strong>Database Management</strong> tab, right-click the mailbox database that you want to copy, and then click <strong>Add Mailbox Database Copy</strong></li>
</ul>
</div>
<p>&nbsp;</p>
<p class="title">&nbsp;<img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/97/4401.newcopy.JPG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-83-97/4401.newcopy.JPG" border="0" /></p>
<p>&nbsp;On the <strong>Add Mailbox Database Copy</strong> page, complete the following fields.</p>
<ul>
<li><strong>Mailbox database name</strong> This read-only box displays the name of the database for which you are going to make a copy.</li>
<li><strong>Server name</strong> Click <strong>Browse</strong> to open the <strong>Select Mailbox Server</strong> dialog box. Use this dialog box to select the Mailbox server that will host the copy of the mailbox database, and then click <strong>OK</strong>.</li>
</ul>
<p>&nbsp;</p>
<p>&nbsp;<img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/97/0882.newcopy2.JPG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-83-97/0882.newcopy2.JPG" border="0" /></p>
<div class="title">
<ul>
<li>&nbsp;Click <strong>Add</strong> to add the copy of the mailbox database.</li>
<li><a id="PROGRESSTRIDENTSWIZARDPAGE"></a>On the <strong>Completion</strong> page, review the following, and then click <strong>Finish</strong> to close the wizard:</li>
</ul>
<p>&nbsp;</p>
<p>Create a New DAG (Power Shell)</p>
<p>New-DatabaseAvailabilityGroup -Name LABDAG -DatabaseAvailabilityGroupIPAddresses 192.168.1.10</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/97/3187.dagPS.JPG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-83-97/3187.dagPS.JPG" border="0" /></p>
<p>Add member to DAG (Power Shell)</p>
<p>Add-DatabaseAvailabilityGroupServer -Identity LABDAG&nbsp; -MailboxServer DAG-MBX01</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/97/1401.dagmemberps.JPG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-83-97/1401.dagmemberps.JPG" border="0" /></p>
<p>&nbsp;</p>
<p>&nbsp; add a mailbox database copy (Power Shell)</p>
<p>&nbsp;</p>
<p>Add-MailboxDatabaseCopy -Identity&nbsp;"Mailbox Database 0697449700" &nbsp;-MailboxServer&nbsp;DAG-MBX02</p>
<p>&nbsp;</p>
<p><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/83/97/4087.new%20copy%20ps.JPG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-83-97/4087.new-copy-ps.JPG" border="0" />&nbsp;</p>
</div>
<div class="title">&nbsp;</div>
<p><span style="font-size: medium;"><strong>&nbsp;References </strong></span></p>
<p>&nbsp;</p>
<p><a href="https://technet.microsoft.com/en-us/library/dd351172.aspx">https://technet.microsoft.com/en-us/library/dd351172.aspx</a></p>
<p><a href="https://technet.microsoft.com/en-us/library/dd351278.aspx">https://technet.microsoft.com/en-us/library/dd351278.aspx</a></p>
<p><a href="https://technet.microsoft.com/en-us/library/dd298080.aspx">https://technet.microsoft.com/en-us/library/dd298080.aspx</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Credentials Prompt in exchange 2010 when you restart one of the CAS Array members</title>
      <link>https://docs.microsoft.com/archive/blogs/winde76/credentials-prompt-in-exchange-2010-when-you-restart-one-of-the-cas-array-members</link>
      <pubDate>Sat, 10 Jul 2010 02:54:00 GMT</pubDate>
      <dc:creator><![CDATA[Loay Al Hammouri]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/winde76/2010/07/10/credentials-prompt-in-exchange-2010-when-you-restart-one-of-the-cas-array-members/</guid>
      <description><![CDATA[in exchange 2010 when you create a new CAS array normally all the links should point to the CAS...]]></description>
      <content:encoded><![CDATA[<p class="MsoNormal"><span lang="EN" style="font-family: 'Times New Roman','serif'; font-size: 14pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN;">in exchange 2010 when you create a new CAS array normally all the links should point to the CAS array name and not the server name for high availability, so when a CAS array member goes offline all the requests From NLB should go directly to Next member but in this scenario things will be different <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN" style="font-family: 'Times New Roman','serif'; font-size: 14pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN;">environment<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN" style="font-family: 'Times New Roman','serif'; font-size: 14pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN;">first installed exchange 2007 or exchange 2010 not CAS array member<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN" style="font-family: 'Times New Roman','serif'; font-size: 14pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN;">2 exchange 2010 CAS array members NLB<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN" style="font-family: 'Times New Roman','serif'; font-size: 14pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN;">&nbsp;<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN" style="font-family: 'Times New Roman','serif'; font-size: 14pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN;">When the first CAS is shut down, Ol2k7 Client try to connect to its SCP to retrieve the Autodiscover settings.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN" style="font-family: 'Times New Roman','serif'; font-size: 14pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN;">Users get a pop-up authentication window. If they hit cancel, then Outlook connects to the next available SCP<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN" style="font-family: 'Times New Roman','serif'; font-size: 14pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN;">Outlook always tries to contact the SCP of the first installed CAS Server, which is not member of the CAS array<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN" style="font-family: 'Times New Roman','serif'; font-size: 14pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN;">to resolve this issue <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN" style="font-family: 'Times New Roman','serif'; font-size: 14pt; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN;">Change SCP of First CAS to match the FQDN of the CAS Array using command Set-ClientAccessServer &ndash;AutodiscoverServiceInternalUri <o:p></o:p></span></p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
  </channel>
</rss>