<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Get-ExchangeHelp</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/get-exchangehelp/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/get-exchangehelp/feed.xml</link>
    <description>Optimizing your Microsoft Exchange Experience... one Blog post at a time.</description>
    <lastBuildDate>Tue, 18 Aug 2015 18:48:06 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Event ID 1008: "Maximum Request Length Exceeded"</title>
      <link>https://docs.microsoft.com/archive/blogs/get-exchangehelp/event-id-1008-maximum-request-length-exceeded</link>
      <pubDate>Mon, 10 Jun 2013 15:19:00 GMT</pubDate>
      <dc:creator><![CDATA[Craig Rennich]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/get-exchangehelp/2013/06/10/event-id-1008-maximum-request-length-exceeded/</guid>
      <description><![CDATA[I&#39;ve recently run into this issue a few times with Exchange 2010 customers.&nbsp;&nbsp;This...]]></description>
      <content:encoded><![CDATA[<p>I&#39;ve recently run into this issue a few times with <strong>Exchange 2010</strong> customers.&nbsp;&nbsp;This issue&nbsp;tends to have more of an effect on iOS devices, due to the nature of how Apple implements the ActiveSync protocol with its devices.</p>
<p>This issue manifests itself in a number of ways.&nbsp; However the most common is likely that an&nbsp;iOS device is trying to send a large attachment (likely around 8MB or larger).&nbsp; The result is that the device fails to send the attachment, and the following Event ID is logged on the Exchange Client Access server:</p>
<p>&nbsp;</p>
<p><strong>Event ID 1008</strong><br /><strong>Message:</strong> An exception occurred and was handled by Exchange ActiveSync. This may have been caused by an outdated or corrupted Exchange ActiveSync device partnership. This can occur if a user tries to modify the same item from multiple computers. If this is the case, Exchange ActiveSync will re-create the partnership with the device. Items will be updated at the next synchronization.</p>
<p>If you look further down into the Event ID you will find <em><strong>Maximum Request Length Exceeded</strong></em> under the Exception Message.</p>
<p>&nbsp;</p>
<p>This Event ID will likely repeat over and over as the iPhone continues to sync.&nbsp; Most likely if you check the device (or devices) of any affected users you will see a message in the outbox with a large attachment (&gt;8MB).&nbsp;</p>
<p>This is due to the Max Request Length setting being <strong>10MB</strong> by default.&nbsp; So any message with an attachment&nbsp;that is around 8MB or so will fail to send as the request is too big.&nbsp; The reason I say 8MB is that we have to take into consideration the 33% MIME conversion bloat added to the message after MIME conversion.&nbsp; Once that 33% is taken into account, we will exceed the 10MB Max Request Length&nbsp;limitation.&nbsp; The iPhone will continue to try and send the message until it is removed from the device.&nbsp;</p>
<p>&nbsp;</p>
<p>To resolve this issue&nbsp;with iOS devices, we typically recommend increasing the Maximum Request Length&nbsp;parameter on the web.config file&nbsp;for ActiveSync on the Client Access Server(s).&nbsp; &nbsp;</p>
<ul>
<li>On the CAS servers, browse to the web.config file (under the ClientAccess\Sync folder)</li>
<li>Open the web.config file</li>
<li>Modify the <strong>&lt;httpRuntime maxRequestLength=&rdquo;10240&Prime;/&gt;</strong> parameter to a higher value to something higher, such as <strong>15360</strong> (15MB).</li>
<li>Save the updated web.config file</li>
<li>Restart IIS (IISRESET)</li>
</ul>
<p>That&#39;s it.&nbsp; Naturally if a larger value is needed then just follow the same steps to increase the value that is required.&nbsp; We don&#39;t recommend getting too carried away with this setting.&nbsp; Common recommendations are <strong>15-20MB</strong>... and usually no higher than <strong>50MB</strong>.</p>
<p>~Craig</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>"Sorry!  Access Denied" error when trying to configure/customize Voice settings via ECP</title>
      <link>https://docs.microsoft.com/archive/blogs/get-exchangehelp/sorry-access-denied-error-when-trying-to-configurecustomize-voice-settings-via-ecp</link>
      <pubDate>Mon, 03 Jun 2013 11:15:00 GMT</pubDate>
      <dc:creator><![CDATA[Craig Rennich]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/get-exchangehelp/2013/06/03/sorry-access-denied-error-when-trying-to-configurecustomize-voice-settings-via-ecp/</guid>
      <description><![CDATA[I ran into an issue recently where a customer had rolled out Unified Messaging features to their...]]></description>
      <content:encoded><![CDATA[<p>I ran into an issue recently where a customer had rolled out Unified Messaging features to their users.&nbsp;</p>
<p>Everything was working fine except for the fact that several users would receive the following error when trying to configure Voice settings using ECP:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/86/8132.OWA.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-86/8132.OWA.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/86/8132.OWA.png" original-url="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-86/8132.OWA.png" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>Even though this was not the most insightful error, it did point to a permissions problem.&nbsp; So next we attempted to just login via ECP with the affected user, and of course that also failed.&nbsp;</p>
<p>As it turned out OWA was disabled for all the affected users.&nbsp; We simply enabled OWA access for these users and they could now successfully customize their voice settings via ECP.</p>
<p>~Craig</p>]]></content:encoded>
    </item>
    <item>
      <title>Junk E-mail Validation Error</title>
      <link>https://docs.microsoft.com/archive/blogs/get-exchangehelp/junk-e-mail-validation-error</link>
      <pubDate>Fri, 29 Mar 2013 07:51:00 GMT</pubDate>
      <dc:creator><![CDATA[Craig Rennich]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/get-exchangehelp/2013/03/29/junk-e-mail-validation-error/</guid>
      <description><![CDATA[I recently worked on a case where we could not make changes to the Junk e-mail configuration...]]></description>
      <content:encoded><![CDATA[<p>I recently worked on a case where we could not make changes to the Junk e-mail configuration settings for several users... whether we tried to make the changes from OWA or from Exchange Management Shell.</p>
<p>One of the users we were trying to modify was not receiving emails from an automated application in her inbox - they were going to Junk email.&nbsp; This was happening in both Outlook&nbsp;and in OWA.&nbsp; It turned out the e-mail address for the application server was on the user's BlockedSendersandDomains list.&nbsp; However when we tried to modify the list in OWA we received the following error:</p>
<p><strong>Junk e-mail validation error.&nbsp; Value:&nbsp; <a href="mailto:user@domain.com">user@domain.com</a></strong></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/86/0246.owa_junk.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-86/0246.owa_5F00_junk.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/86/0246.owa_junk.png" original-url="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-86/0246.owa_5F00_junk.png" alt="" border="0" /></a></p>
<p>&nbsp;</p>
<p>Since OWA failed we tried to modify the Junk e-mail configuration from the Exchange Management Shell with a command similar to the following:</p>
<p><em><strong>Get-MailboxJunkEmailConfiguration&nbsp;affect_user | Set-MailboxJunkEmailConfiguration -TrustedSendersAndDomains <a href="mailto:&ldquo;do_not_reply@wcsr.com">&ldquo;name@domain.com</a>&rdquo;</strong></em></p>
<p>However this command also failed with a similar validation error:</p>
<p><span style="color: #ff0000;">Junk e-mail validation error. Value: <a href="mailto:'name@site.com'"><span style="color: #ff0000;">'name@domain.com'</span></a>.</span><br /><span style="color: #ff0000;">&nbsp;&nbsp;&nbsp; + CategoryInfo&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : NotSpecified: (0:Int32) [Set-MailboxJunkEmailConfiguration], JunkEmailValidationException</span><br /><span style="color: #ff0000;">&nbsp;&nbsp;&nbsp; + FullyQualifiedErrorId : XXXXXXXX,Microsoft.Exchange.Management.StoreTasks.SetMailboxJunkEmailConfiguration</span></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/86/2500.junk_shell.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-86/2500.junk_5F00_shell.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/86/2500.junk_shell.png" original-url="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-86/2500.junk_5F00_shell.png" alt="" width="799" height="114" border="0" /></a></p>
<p>&nbsp;</p>
<p>Luckily the resolution in this case was easier than I figured it would be.&nbsp; Just before I was considering having the customer download MFCMAPI so we could delete the Junk e-mail message from her mailbox, we went back to OWA once more to have a look at the options.&nbsp; That's when I noticed the option was checked/enabled to <strong>Trust Email from my Contacts</strong>.&nbsp; Low and behold we disabled/unchecked this option in OWA and BINGO - we could now make changes to the Junk e-mail configuration settings from both OWA&nbsp;&amp; the Exchange Shell without the validation error.&nbsp;&nbsp;</p>
<p>It's amazing the effects a checkbox can have on certain functions.&nbsp;&nbsp;</p>
<p>~Craig&nbsp;&nbsp;&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Unable to clone an Edge Transport server configuration</title>
      <link>https://docs.microsoft.com/archive/blogs/get-exchangehelp/unable-to-clone-an-edge-transport-server-configuration</link>
      <pubDate>Fri, 08 Mar 2013 16:07:00 GMT</pubDate>
      <dc:creator><![CDATA[Craig Rennich]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/get-exchangehelp/2013/03/08/unable-to-clone-an-edge-transport-server-configuration/</guid>
      <description><![CDATA[I just ran into an interesting issue the other day where we tried to clone configuration from one...]]></description>
      <content:encoded><![CDATA[<p>I just ran into an interesting issue the other day where we tried to clone configuration from one Edge Transport server to a new server and wanted to share my experience.</p>
<p>Typically this is a relatively straightforward process, and the following link details the Import &amp; Export scripts you would run to perform this process: <a href="http://technet.microsoft.com/en-us/library/aa996008.aspx">http://technet.microsoft.com/en-us/library/aa996008.aspx</a></p>
<p>&nbsp;</p>
<p>We exported the configuration from the&nbsp;Source Edge server using a variation of the following command:</p>
<p><em>./ExportEdgeConfig -CloneConfigData:"C:\CloneConfigData.xml"</em></p>
<p>&nbsp;</p>
<p>Then we copied the XML file to the&nbsp;TARGET Edge server and validated the configuration file &amp; created an answer file with a variation of the following command:</p>
<p><em>./ImportEdgeConfig -CloneConfigData:"C:\CloneConfigData.xml" -IsImport $false -CloneConfigAnswer:"C:\CloneConfigAnswer.xml"&nbsp; </em></p>
<p><br />&nbsp;</p>
<p>Finally we attempted to import the configuration file to the TARGET Edge server with a variation of the following command:</p>
<p><em>./ImportEdgeConfig -CloneConfigData:"C:\CloneConfigData.xml" -IsImport $true -CloneConfigAnswer:"C:\CloneConfigAnswer.xml"</em></p>
<p>&nbsp;</p>
<p>We received the following error:&nbsp; <strong>Error: "Validation Failed for Fqdn element of type FQDN"</strong></p>
<p>&nbsp;</p>
<p>As it turned out we didn't save the CloneConfigAnswer.xml after modifying&nbsp;the last of the invalid settings.&nbsp; Thus the FQDN in the CloneConfigAnswer.xml&nbsp;was reflecting the <em>source</em> Edge Transport server and not the <em>target</em>&nbsp;Edge Transport server. Thus it fails the FQDN Validation step of the cloning process.&nbsp;</p>
<p>Validation errors are usually due to problems with the&nbsp;CloneConfigAnswer.xml file, I had just never actually received an error during the Validation step before.&nbsp; At least the fix was&nbsp;straightforward, as we updated the FQDN in the CloneConfigAnswer.xml to reflect the FQDN of the <em>target</em> Edge Transport server that <br />the configuration&nbsp;was being copied to and then we were able to successfully clone the Edge Transport configuration.</p>
<p>&nbsp;</p>
<p>~Craig&nbsp;</p>
<p>&nbsp;&nbsp;&nbsp;</p>
<div class="sectionbody">&nbsp;</div>
<p>&nbsp;&nbsp;&nbsp;</p>
<p><br /><br />&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Various Exchange Releases, including Exchange 2010 SP3</title>
      <link>https://docs.microsoft.com/archive/blogs/get-exchangehelp/various-exchange-releases-including-exchange-2010-sp3</link>
      <pubDate>Fri, 15 Feb 2013 11:58:00 GMT</pubDate>
      <dc:creator><![CDATA[Craig Rennich]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/get-exchangehelp/2013/02/15/various-exchange-releases-including-exchange-2010-sp3/</guid>
      <description><![CDATA[This week the following updates are now available:

Exchange 2010 SP3 (KB2808208)...]]></description>
      <content:encoded><![CDATA[<p><span style="color: black; font-family: 'Tahoma','sans-serif'; font-size: 11pt; 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;">This week the following updates are now available:</span></p>
<ul>
<li><span style="color: black; font-family: 'Tahoma','sans-serif'; font-size: 11pt; 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;"><strong>Exchange 2010 SP3</strong> (<a title="KB2808208" href="http://support.microsoft.com/kb/2808208" target="_blank">KB2808208</a>) </span></li>
</ul>
<p><span style="color: black; font-family: 'Tahoma','sans-serif'; font-size: 11pt; 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;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.microsoft.com/en-us/download/details.aspx?id=36768">http://www.microsoft.com/en-us/download/details.aspx?id=36768</a></span></p>
<ul>
<li><span style="color: black; font-family: 'Tahoma','sans-serif'; font-size: 11pt; 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;"><strong><span style="color: black; font-family: 'Tahoma','sans-serif'; font-size: 11pt; 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;">Exchange 2010 SP2 RU6 </span></strong>(<a title="KB2746164" href="KB2746164http://support.microsoft.com/kb/2746164" target="_blank">KB2746164</a>)&nbsp;</span></li>
</ul>
<p><span style="color: black; font-family: 'Tahoma','sans-serif'; font-size: 11pt; 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;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.microsoft.com/en-us/download/details.aspx?id=36716">http://www.microsoft.com/en-us/download/details.aspx?id=36716 </a></span></p>
<ul>
<li><span style="color: black; font-family: 'Tahoma','sans-serif'; font-size: 11pt; 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;"><strong>Exchange 2007 SP3 RU10</strong> (K<a title="KB2788321 " href="http://support.microsoft.com/kb/2788321" target="_blank">B2788321</a>)&nbsp;&nbsp;</span></li>
</ul>
<p><span style="color: black; font-family: 'Tahoma','sans-serif'; font-size: 11pt; 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;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://www.microsoft.com/en-us/download/details.aspx?id=36708">http://www.microsoft.com/en-us/download/details.aspx?id=36708</a></span></p>
<p>&nbsp;</p>
<p><span style="color: black; font-family: 'Tahoma','sans-serif'; font-size: 11pt; 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;">Of course Exchange 2010 SP3 is a&nbsp;major update.&nbsp; It not only addresses many known issues, but it is critical to Exchange 2010-2013 coexistence as well.&nbsp; </span></p>
<p>&nbsp;</p>
<p><span style="color: black; font-family: 'Tahoma','sans-serif'; font-size: 11pt; 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;">~Craig</span></p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>iOS 6.1 issue with Exchange 2010 EAS Calendar Syncing</title>
      <link>https://docs.microsoft.com/archive/blogs/get-exchangehelp/ios-6-1-issue-with-exchange-2010-eas-calendar-syncing</link>
      <pubDate>Tue, 12 Feb 2013 09:04:00 GMT</pubDate>
      <dc:creator><![CDATA[Craig Rennich]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/get-exchangehelp/2013/02/12/ios-6-1-issue-with-exchange-2010-eas-calendar-syncing/</guid>
      <description><![CDATA[As most of you are probably aware by now, Microsoft&nbsp;&amp; Apple are&nbsp;actively investigating...]]></description>
      <content:encoded><![CDATA[<p>As most of you are probably aware by now, Microsoft&nbsp;&amp; Apple are&nbsp;actively investigating the latest reported issue with <strong>iOS 6.1</strong> users syncing with Exchange 2010 ActiveSync.&nbsp;</p>
<p>Microsoft&nbsp;has released a KB article that details what we know so far:&nbsp; <strong><a href="http://support.microsoft.com/kb/2814847">http://support.microsoft.com/kb/2814847</a></strong></p>
<p>Apple has also recently released a support article for this issue: <strong><a href="http://support.apple.com/kb/TS4532">http://support.apple.com/kb/TS4532</a></strong></p>
<p><strong></strong>&nbsp;</p>
<p><strong>*UPDATE: Apple has released 6.1.2 (<a href="http://support.apple.com/kb/TS4532">http://support.apple.com/kb/TS4532)</a> which should address the 6.1 issue.&nbsp;&nbsp;&nbsp; </strong></p>
<p>&nbsp;</p>
<p>Essentially the symptoms we've seen so far are excessive log growth, resource consumption on Client Access &amp; Mailbox servers, and performance-related problems due to high memory and/or CPU increases.</p>
<p>Here are a few of&nbsp;the workarounds we've been using thus far:</p>
<ul>
<li><strong>Do not process Calendar items on the iOS device... especially meeting requests.</strong></li>
<li>Disable ActiveSync for the user(s) in question until the partnership can be removed and/or the device can be restarted</li>
<li><strong>Remove the device partnership and recreate it.&nbsp; This&nbsp;option should&nbsp;fix the issue for the user(s) in question.</strong></li>
<li>Create a custom Throttling Policy for iOS 6.1 users (see the KB listed above for more information)</li>
<li>Block iOS 6.1 users/phones.&nbsp; This can be achieved by using the Allow/Block/Quarantine feature in Exchange 2010.&nbsp; <a href="http://blogs.technet.com/b/exchange/archive/2010/11/15/3411539.aspx">http://blogs.technet.com/b/exchange/archive/2010/11/15/3411539.aspx</a></li>
<li>iRule customizations (See this link for F5 Forums: <a href="https://devcentral.f5.com/community/group/aft/2165837/asg/50">https://devcentral.f5.com/community/group/aft/2165837/asg/50</a> )</li>
<li>TMG/ISA Http Filtering</li>
<li>IIS URL Rewrite: <a href="http://social.technet.microsoft.com/wiki/contents/articles/15997.using-url-rewrite-to-block-certain-clients-from-exchange.aspx">http://social.technet.microsoft.com/wiki/contents/articles/15997.using-url-rewrite-to-block-certain-clients-from-exchange.aspx</a></li>
</ul>
<p>&nbsp;</p>
<p><strong>Install 6.1.2 update from Apple to resolve the issue:</strong></p>
<ul>
<li><strong><a href="http://support.apple.com/kb/TS4532">http://support.apple.com/kb/TS4532</a></strong></li>
</ul>
<p>&nbsp;</p>
<h4>Identify iOS 6.1 Devices</h4>
<p>To identify the issue in your environment, the process I've been using thus far is parsing through IIS logs.&nbsp; The easiest way to do this is to use a tool called <strong>Log Parser Studio</strong>.&nbsp; If you haven't been using this great tool, download it here: <a href="http://gallery.technet.microsoft.com/Log-Parser-Studio-cd458765">http://gallery.technet.microsoft.com/Log-Parser-Studio-cd458765</a></p>
<p>Log Parser Studio has several built in queries to collect ActiveSync information, such as the ActiveSync Report.&nbsp; Any 6.1 devices should be noticeable by locating the User-Agent field, which will look something like the following for iOS 6.1:</p>
<ul>
<li>Apple-iPad3C3/1002.141</li>
<li>Apple-iPhone4C1/1002.142</li>
</ul>
<p>To create the query to check specifically for the iOS 6.1 issue (from the KB Article), open Log Parser Studio, click <strong>File</strong>, <strong>New</strong>, and <strong>Query</strong>.&nbsp;</p>
<p>Then paste the following query (also in the KB) into the New Query window:</p>
<p><strong>SELECT </strong><br /><strong>&nbsp;&nbsp; Cs-username AS User,</strong><br /><strong>&nbsp;&nbsp; MyDeviceId AS DeviceId,</strong><br /><strong>&nbsp;&nbsp; COUNT(*) AS Hits</strong><br /><strong>USING</strong><br /><strong>&nbsp;&nbsp; EXTRACT_VALUE(cs-uri-query,'DeviceId') AS MyDeviceId</strong><br /><strong>FROM '[LOGFILEPATH]' </strong><br /><strong>WHERE&nbsp; cs-uri-query LIKE '%Error:WrongObjectTypeException%' </strong><br /><strong>GROUP BY DeviceId,User</strong><br /><strong>ORDER BY Hits DESC</strong></p>
<p><strong></strong>&nbsp;</p>
<p>Now click File and Save Query (if you wish to save this new query).&nbsp; Otherwise at this point you can load your IIS logs into Log Parser Studio and execute the query.&nbsp;</p>
<p>&nbsp;</p>
<p>Here are the list of&nbsp;iOS UserAgents to be on the lookout for:</p>
<p style="color: #1f497d; font-family: Calibri; font-size: 11pt; margin-top: 0pt; margin-bottom: 12pt;"><span style="color: #000000;"><strong>6.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1002.141</strong></span></p>
<p style="color: #1f497d; font-family: Calibri; font-size: 11pt; margin-top: 0pt; margin-bottom: 12pt;"><span style="color: #000000;"><strong>-or&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1002.142</strong></span></p>
<p style="color: #1f497d; font-family: Calibri; font-size: 11pt; margin-top: 0pt; margin-bottom: 12pt;"><span style="color: #000000;"><strong>-or&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1002.143</strong></span></p>
<p style="color: #1f497d; font-family: Calibri; font-size: 11pt; margin-top: 0pt; margin-bottom: 12pt;"><span style="color: #000000;"><strong>-or&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1002.144</strong></span></p>
<p style="color: #1f497d; font-family: Calibri; font-size: 11pt; margin-top: 0pt; margin-bottom: 12pt;"><span style="color: #000000;"><strong>6.1.1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1002.145</strong></span></p>
<p style="margin: 0in; color: #1f497d; font-family: Calibri; font-size: 11pt;"><span style="color: #0000ff;"><strong>6.1.2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1002.146</strong></span></p>
<p style="margin: 0in; color: #1f497d; font-family: Calibri; font-size: 11pt;"><span style="color: #0000ff;"><strong>----or&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1002.147</strong></span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>This Exchange Shell command should help you locate iOS 6.1 devices as well if you don't have Log Parser Studio:</p>
<p><strong>Get-ActiveSyncDevice | where {$_.DeviceOs -match &ldquo;iOS 6.1&Prime;}</strong></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><em><strong>*UPDATE from the Apple KB:</strong></em></p>
<p>Apple has identified a fix and will make it available in an upcoming software update. In the meantime, you can avoid this bug by not responding to an exception to a recurring event on your iOS device. If you do experience the symptoms described above, disable then reenable the Exchange calendar on your iOS device using the steps below.<br />1.&nbsp;Go to Settings &gt; Mail, Contacts, Calendars <br />2.&nbsp;Select the Exchange account from your Accounts list. <br />3.&nbsp;Turn the switch for Calendars to OFF. <br />4.&nbsp;Wait ten seconds. <br />5.&nbsp;Turn the switch for Calendars back to ON.</p>
<p>&nbsp;</p>
<p><em><strong>**UPDATE: Apple has released 6.1.2 (<a href="http://support.apple.com/kb/TS4532">http://support.apple.com/kb/TS4532)</a> which should address the 6.1 issue.&nbsp;&nbsp; </strong></em></p>
<p>&nbsp;</p>
<p>~Craig</p>]]></content:encoded>
    </item>
    <item>
      <title>Managing Exchange 2013 IIS Virtual Directories &amp; Web Applications</title>
      <link>https://docs.microsoft.com/archive/blogs/get-exchangehelp/managing-exchange-2013-iis-virtual-directories-web-applications</link>
      <pubDate>Thu, 07 Feb 2013 14:32:00 GMT</pubDate>
      <dc:creator><![CDATA[Craig Rennich]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/get-exchangehelp/2013/02/07/managing-exchange-2013-iis-virtual-directories-web-applications/</guid>
      <description><![CDATA[If you&#39;ve deployed Exchange 2013 in a lab or even in a production environment, you are no doubt...]]></description>
      <content:encoded><![CDATA[<p>If you&#39;ve deployed Exchange 2013 in a lab or even in a production environment, you are no doubt getting familiar with the topology changes.&nbsp; If you are not completely up to speed on the changes, Microsoft has essentially returned to the <em>Front End</em> &amp; <em>Back End</em> topology that was last used back in Exchange 2003.&nbsp; The front end server is called the <strong>Client Access Role</strong>, and the back end server is called the <strong>Mailbox Role</strong>.&nbsp; The Exchange Roles (i.e. Client Access, Hub Transport, Mailbox)&nbsp;that could be separated in Exchange 2007 &amp; 2010 are still there in 2013, they are just all found on the <strong>Mailbox Role</strong>&nbsp;servers in Exchange 2013.&nbsp; The <strong>Client Access&nbsp;Role</strong> servers&nbsp;are essentially&nbsp; proxy servers, as all requests are load-balanced&nbsp;and proxied to the corresponding back end server.&nbsp;&nbsp;Exchange 2013 can also be deployed as an all-in-one server,&nbsp;just&nbsp;like 2007 &amp; 2010.</p>
<p>The purpose of this&nbsp;Blog post is to point out the differences in managing IIS on the Client Access (Front End) &amp; Mailbox (Back End) servers.&nbsp;&nbsp;&nbsp;</p>
<p>&nbsp;</p>
<p>Whether you install your Exchange 2013 server as a Client Access Role or Mailbox Role you will have <strong>two</strong> Web Sites in IIS:</p>
<ul>
<li>Default Web Site</li>
<li>Exchange Back End</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/97/86/4212.Get-website.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-86/4212.Get_2D00_website.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/86/4212.Get-website.png" original-url="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-86/4212.Get_2D00_website.png" border="0" /></a></p>
<p>&nbsp;</p>
<p>The Client Access Role naturally uses the <strong>Default Web Site</strong> as the home for all the Exchange Virtual Directories (EWS, OAB, RPC, Autodiscover), just as it did in Exchange 2007 &amp; 2010.&nbsp; The Mailbox Role uses the Exchange Back End site as the home for the corresponding Exchange 2013 Web Applications.</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>Client Access Role&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Mailbox Role</strong></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/86/6278.CAS_IIS.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-86/6278.CAS_5F00_IIS.png"><img width="307" height="278" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/86/6278.CAS_IIS.png" original-url="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-86/6278.CAS_5F00_IIS.png" border="0" /></a><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/86/0028.MB_IIS.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-86/0028.MB_5F00_IIS.png"><img width="223" height="274" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/86/0028.MB_IIS.png" original-url="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-86/0028.MB_5F00_IIS.png" border="0" /></a></p>
<p>Although it would appear that these sites are relatively similar, the main difference between the two is not immediately visible until you go to&nbsp;PowerShell to manage the Virtual Directories.&nbsp; Just as in Exchange 2007&nbsp;&amp; 2010, you will run&nbsp;the varios commands to manage your&nbsp;Virtual Directories:</p>
<ul>
<li>Get-WebServicesVirtualDirectory</li>
<li>Get-OabVirtualDirectory</li>
<li>Get-AutodiscoverVirtualDirectory</li>
<li>Get-ActiveSyncVirtualDirectory</li>
</ul>
<p>&nbsp;</p>
<p>The first thing you will notice when running one of these commands is that you will get the Virtual Directories for your Front End Client Access servers, but not for the Mailbox servers:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/86/1778.EWS.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-86/1778.EWS.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/86/1778.EWS.png" original-url="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-86/1778.EWS.png" border="0" /></a></p>
<p>&nbsp;</p>
<p>You may be asking why that is... as from looking in IIS they look exactly the same (just in a different Web Site).&nbsp; If you access the Exchange Admin Center, you will see the same thing:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/86/6560.EAC.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-86/6560.EAC.png"><img width="356" height="328" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/86/6560.EAC.png" original-url="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-86/6560.EAC.png" border="0" /></a></p>
<p>&nbsp;</p>
<p>Despite looking similar in IIS, the main difference between the roles is that <em>all</em> the Virtual Directories are actually located on the front end Client Access servers.&nbsp; The web applications on the Mailbox Servers can be viewed through the following command:</p>
<p>&nbsp;</p>
<p>&nbsp;<strong>Get-WebApplication</strong></p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/86/2625.webapp.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-86/2625.webapp.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/86/2625.webapp.png" original-url="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-86/2625.webapp.png" border="0" /></a></p>
<p>&nbsp;</p>
<p>Why is this important?&nbsp; I wasn&#39;t worried about that answer until a recent customer case.&nbsp; Essentially we were getting a 404 error when trying to browse EWS.&nbsp; The Virtual Directories on the front end Client Access servers&nbsp;looked fine, and the logs indicated a problem from the Mailbox servers.&nbsp; Further investigation on the Mailbox server&nbsp;led me to an interesting discovery... the EWS web application was missing on the Mailbox server!&nbsp; That certainly explained the 404 error.&nbsp;</p>
<p>I figured this would be no problem... we&#39;ll just create a new EWS Virtual Directory on the Mailbox Server.&nbsp; Well there are no EWS Virtual Directories on the Mailbox server.&nbsp; To create a new Virtual Directory requires the Client Access Role, as noted by the following error:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/86/3060.error.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-86/3060.error.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/86/3060.error.png" original-url="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-86/3060.error.png" border="0" /></a></p>
<p>&nbsp;</p>
<p>So what now...?&nbsp; &nbsp;&nbsp;&nbsp;</p>
<p>&nbsp;</p>
<p>As it turned out what I needed to do was recreate the EWS <em>web application</em> on the mailbox server using the following command:</p>
<p><strong>New-WebApplication -Site &quot;Exchange Back End&quot; -Name EWS -PhysicalPath &quot;C:\Program Files\Microsoft\Exchange Server\V15\ClientAccess\exchweb\EWS&quot; -ApplicationPool MSExchangeServicesAppPool</strong></p>
<p>&nbsp;</p>
<p>Once this command completed my EWS web application was restored.&nbsp; I simply had to go into IIS Manger and enable <strong>Windows Authentication</strong> and the customer&#39;s issue was resolved.&nbsp;</p>
<p>I hope this post will help shed some additional light on how to manage IIS Virtual Directories &amp; Web Applications on Exchange 2013 servers.</p>
<p><strong>~Craig&nbsp;</strong></p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
    </item>
    <item>
      <title>Disable Opportunistic TLS between an Edge Server and a hosted service, such as Exchange Online Protection</title>
      <link>https://docs.microsoft.com/archive/blogs/get-exchangehelp/disable-opportunistic-tls-between-an-edge-server-and-a-hosted-service-such-as-exchange-online-protection</link>
      <pubDate>Tue, 05 Feb 2013 14:23:00 GMT</pubDate>
      <dc:creator><![CDATA[Craig Rennich]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/get-exchangehelp/2013/02/05/disable-opportunistic-tls-between-an-edge-server-and-a-hosted-service-such-as-exchange-online-protection/</guid>
      <description><![CDATA[I've actually had this exact question come up&nbsp;&nbsp;in a&nbsp;few different cases lately, so I...]]></description>
      <content:encoded><![CDATA[<p>I've actually had this exact question come up&nbsp;&nbsp;in a&nbsp;few different cases lately, so I figured a quick Blog post was in order.&nbsp; There could be numerous reasons that you may need to disable the Opportunistic TLS on your Edge (or Internet) Send Connector,&nbsp;which is enabled by default in Exchange 2007 and above.&nbsp;&nbsp;While I won't go into all the details, I will discuss the steps to accomplish this task.&nbsp;</p>
<p>&nbsp;</p>
<p>The first step is to launch the <strong>Exchange Management</strong> Shell on an Edge server (or Hub if there are no Edge servers).&nbsp;</p>
<p>&nbsp;</p>
<p>Next, use the following commands to view your Send Connectors on your Hub or Edge:</p>
<p><strong><em>Get-SendConnector</em></strong></p>
<p><strong><em><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/86/4137.get-sc.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-86/4137.get_2D00_sc.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/86/4137.get-sc.png" original-url="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-86/4137.get_2D00_sc.png" alt="" border="0" /></a></em></strong></p>
<p>&nbsp;</p>
<p>In this Example you can see I only have one Send Connector, but if I had more than one&nbsp;then I would make sure to specify that I want to disable Opportunistic TLS on&nbsp;<em>the appropriate</em> Send Connector&nbsp;with the following command:</p>
<p><strong>S<em>et-SendConnector -Identity "Internet" -IgnoreSTARTTLS $true</em></strong></p>
<p><strong><em></em></strong>&nbsp;</p>
<p>After the command finishes you can verify the success by running this command:</p>
<p><strong>Get<em>-SendConnector | fl Name, IgnoreSTARTTLS</em></strong></p>
<p><strong><em><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/86/7455.Verify.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-86/7455.Verify.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/86/7455.Verify.png" original-url="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-86/7455.Verify.png" alt="" border="0" /></a></em></strong></p>
<p>&nbsp;</p>
<p>That's it!&nbsp; I can now send outgoing email through the <em>Internet</em> Send Connector, and Exchange will no longer try and negotiate TLS for each connection.&nbsp; &nbsp;</p>
<p><em>Note: Naturally in this example, ALL my outgoing messages are affected by this change.&nbsp; If you had specific email domains that may need Opportunistic TLS, then creating a new Send Connector for those Address Spaces would be required.</em></p>
<p>&nbsp;</p>
<p><strong>~Craig</strong></p>]]></content:encoded>
    </item>
    <item>
      <title>Configuring Kerberos Authentication in Exchange 2010</title>
      <link>https://docs.microsoft.com/archive/blogs/get-exchangehelp/configuring-kerberos-authentication-in-exchange-2010</link>
      <pubDate>Thu, 31 Jan 2013 19:10:00 GMT</pubDate>
      <dc:creator><![CDATA[Craig Rennich]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/get-exchangehelp/2013/01/31/configuring-kerberos-authentication-in-exchange-2010/</guid>
      <description><![CDATA[There are many benefits to enabling Kerberos Authentication for your CAS Array in Exchange 2010 (SP1...]]></description>
      <content:encoded><![CDATA[<p>There are many benefits to enabling Kerberos Authentication for your CAS Array in Exchange 2010 (SP1 and above).&nbsp; One of the primary benefits&nbsp;is to alleviate the NTLM authentication issues in Exchange 2010 that I blogged about in my previous post.&nbsp; Kerberos&nbsp;authentication provides a SIGNIFICANT reduction in authentication traffic versus NTLM, and helps prevent those authentication bottlenecks that can be crushing to an Exchange 2010 infrastructure.&nbsp;&nbsp;&nbsp;</p>
<p>&nbsp;</p>
<p>Essentially these are the main steps to configure Kerberos Authentication for Exchange 2010:</p>
<ul>
<li>Create an account to be used as the ASA credential</li>
<li>Deploy the ASA credential to the CAS servers</li>
<li>Convert the OAB Virtual Directory to a web application</li>
<li>Assign the SPNs to the ASA credential account</li>
<li>Testing</li>
</ul>
<p>&nbsp;</p>
<h3><strong>Create an account to be used as the ASA credential</strong>&nbsp;</h3>
<p>I prefer using a computer account so the password doesn&rsquo;t expire, otherwise you&rsquo;d have to make sure to update the credentials regularly.&nbsp; The computer name you give it doesn&rsquo;t matter, but I typically use <strong>ASA</strong> or <strong>CASARRAY</strong>.&nbsp; In the description, make sure to put something along the lines of <strong>DO NOT DELETE: </strong>and followed by something like <em>This account is used for Kerberos Authentication on the CASARRAY</em>.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p>
<p><strong>&nbsp;</strong></p>
<h3><strong>Deploy the ASA credential to the CAS servers</strong></h3>
<p>There is a built-in script that will deploy the ASA account credentials to&nbsp;all CAS servers: <strong>RollAlternateServiceAccountPassword.ps1</strong>&nbsp;</p>
<p>&nbsp;</p>
<p>Here is the command to use once you have created the ASA account and the associated SPNs:&nbsp; &nbsp;</p>
<p><strong>.\RollAlternateserviceAccountPassword.ps1 -ToArrayMembers {CAS array name} -GenerateNewPasswordFor "{Domain}\{ASA}" &ndash;Verbose</strong><strong></strong></p>
<p>&nbsp;</p>
<p>Using our examples it would look something like this:</p>
<p><strong>.\RollAlternateserviceAccountPassword.ps1 -ToArrayMembers <em>outlook</em> -GenerateNewPasswordFor <em>&ldquo;CONTOSO\ASA$"</em> &ndash;Verbose</strong></p>
<ul>
<li>Answer <strong>Yes</strong> when the script asks if you want to change the password for the ASA account at this time.</li>
<li>The final output should tell you if the script has succeeded&hellip; or if it failed at any point.&nbsp;&nbsp;&nbsp;</li>
</ul>
<p><strong></strong>&nbsp;</p>
<h3><strong>Convert the OAB virtual directory to a web application</strong></h3>
<p>Since the OAB virtual directory is not actually a&nbsp;web application, we must convert it to a web application to allow Kerberos requests to the OAB.&nbsp;&nbsp;&nbsp;</p>
<p>To convert the OAB, you must download this script&nbsp;<strong><a href="http://gallery.technet.microsoft.com/scriptcenter/525fb1dc-b612-4998-a2d1-55f32a6c35ac">http://gallery.technet.microsoft.com/scriptcenter/525fb1dc-b612-4998-a2d1-55f32a6c35ac</a>&nbsp;</strong></p>
<p>Then login to <strong>EACH</strong> Client Access server, copy over the script to the Scripts directory (Default location is <strong>C:\Program Files\Microsoft\Exchange Server\V14\Scripts</strong>) and run the <strong>ConvertOABDir.ps1</strong>&nbsp;script&nbsp;</p>
<p><em>NOTE: This step MUST be done from EACH Client Access Server.</em><em></em></p>
<p>&nbsp;</p>
<h3><strong>Assign the SPNs to the ASA credential account </strong></h3>
<p>In this step we will assign the Exchange service principal names (SPNs) that will be associated with the ASA credential account we created in the previous step.&nbsp; Since Exchange may also need the NETBIOS (short name), we will create SPNs for both the NETBIOS &amp; FQDN for each.&nbsp; Once this step is complete, clients will be able to start authenticating to the CAS Array via Kerberos Authentication.&nbsp; &nbsp;&nbsp;</p>
<p>There are various SPNs that are required.&nbsp;</p>
<ul>
<li><strong>http:</strong>&nbsp; This SPN will be used for AutoDiscover, Exchange Web Services (EWS), and the Offline Address Book (OAB).</li>
<li><strong>exchangeMDB</strong>:&nbsp; This SPN is used for the RPC Client Access Service</li>
<li><strong>exchangeRFR</strong>:&nbsp; This SPN is used for the Address Book Service</li>
<li><strong>exchangeAB</strong>:&nbsp; This SPN is used for the Address Book Service</li>
</ul>
<p>&nbsp;</p>
<p>Example commands to create the SPNs:&nbsp;</p>
<p><em>Note:</em> the <strong>$ </strong>after the ASA credential account (<em>ASA </em>in this example) is required when a computer account is used.&nbsp; <em>Outlook </em>refers to the FQDN of the Client Access Array in my lab.</p>
<p><strong></strong>&nbsp;</p>
<p><strong>setspn -s exchangeMDB/outlook ASA$ </strong></p>
<p><strong>setspn -s exchangeRFR/outlook ASA$ </strong><br /><br /><strong>setspn -s exchangeAB/outlook ASA$ </strong><br /><br /><strong>setspn -s exchangeMDB/outlook.contosos.local ASA$ </strong><br /><br /><strong>setspn -s exchangeRFR/outlook.contoso.local ASA$ </strong><br /><br /><strong>setspn -s exchangeAB/outlook.contoso.local ASA$</strong><br /><br /><strong>setspn -s http/mail.contoso.local ASA$ </strong><br /><br /><strong>setspn -s http/autodiscover.contoso.com ASA$&nbsp;</strong></p>
<p>&nbsp;</p>
<p><em>NOTE: To disable/remove Kerberos Authentication...&nbsp;simply remove these SPNs.</em>&nbsp;</p>
<p>&nbsp;</p>
<h3><strong>Testing Kerberos Authentication</strong></h3>
<p>Now that you have completed all the steps we need to test if Kerberos authentication is working.&nbsp;</p>
<p>&nbsp;</p>
<h4>Verify the Client Access Servers</h4>
<p>Verify that all Client Access Servers in the CAS Array have accepted the ASA Credential by running the following command:</p>
<p><strong>Get-ClientAccessServer -IncludeAlternateServiceAccountCredentialstatus |Fl Name, AlternateServiceAccountConfiguration</strong></p>
<p>If one of the Client Access servers did not get the credentials, then you can run the following command to copy the credentials to any CAS server(s) that didn't get the credentials:</p>
<p><strong>.\RollAlternateServiceAccountPassword.ps1 -CopyFrom ServerA -ToSpecificServers ServerB -Verbose</strong></p>
<p>&nbsp;</p>
<p>Verify the OAB virtual directory has been successfully converted to a web application by checking for a <em>new</em> application pool for the OAB virtual directory in IIS Manager.</p>
<p>Another good test is to&nbsp;open a current&nbsp;Address Book Log (Default location is <strong>C:\Program Files\Microsoft\Exchange server\v14\Logging\AddressBookService</strong>) and make sure that for new entries the Authentication method sent&nbsp;is <strong>Kerberos</strong>.&nbsp; There may still be some NTLM as well, but you should now see Kerberos.</p>
<p>&nbsp;</p>
<h4>Verify from Outlook</h4>
<p>To test from an Outlook client, you can open Outlook and verify that the Connection Status now shows <strong>Negotiate</strong> as the authentication type [Outlook 2013].</p>
<p>Configure your Outlook client to connect via Kerberos:</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/86/5428.Kerberos.png" original-url="http://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-86/5428.Kerberos.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/00/97/86/5428.Kerberos.png" original-url="http://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-00-97-86/5428.Kerberos.png" alt="" width="302" height="258" border="0" /></a>&nbsp;</p>
<p>Close and then open Outlook... if it connects without any problems then Kerberos is working.&nbsp;</p>
<p>&nbsp;</p>
<p>As another test once Outlook is open, you can also run the <strong>KLIST</strong> command (WIN7 and above) from the command prompt to ensure you have Kerberos tickets generated for the SPNs we created.&nbsp;</p>
<p>You will see something like this - look for the SPNs for your Exchange services:</p>
<p>#1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Client:&nbsp; user @ CONTOSO.COM</p>
<p><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Server: exchangeMDB/Outlook.contoso.local @ contoso.local</strong></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; KerbTicket</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ticket Flags</p>
<p>&nbsp;</p>
<p>#2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Client:&nbsp; user @ CONTOSO.COM</p>
<p><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Server:&nbsp; exchangeAB/Outlook.contoso.local @ contoso.local</strong></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; KerbTicket&hellip;</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Ticket Flags&hellip;</p>
<p>&nbsp;</p>
<p>#3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Client:&nbsp; user @ CONTOSO.COM</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>Server:&nbsp; exchangeRFR/Outlook.contoso.local @ contoso.local</strong></p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; KerbTicket...</p>
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TicketFlags&hellip;</p>
<p>&nbsp;</p>
<p>You have now successfully enabled Kerberos authentication for your Client Access Array!</p>
<p><strong>~Craig</strong></p>]]></content:encoded>
    </item>
    <item>
      <title>The Curious Case of MaxConcurrentAPI</title>
      <link>https://docs.microsoft.com/archive/blogs/get-exchangehelp/the-curious-case-of-maxconcurrentapi</link>
      <pubDate>Thu, 31 Jan 2013 19:08:00 GMT</pubDate>
      <dc:creator><![CDATA[Craig Rennich]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/get-exchangehelp/2013/01/31/the-curious-case-of-maxconcurrentapi/</guid>
      <description><![CDATA[One of the issues we seem to encounter more often than not with Exchange 2010 is NTLM authentication...]]></description>
      <content:encoded><![CDATA[<p>One of the issues we seem to encounter more often than not with Exchange 2010 is NTLM authentication issues.&nbsp; Due to the architectural changes in Exchange 2010 (with all connectivity running through the Client Access servers), a high volume of NTLM traffic is increasingly likely to create an authentication bottleneck on the Client Access Servers and Domain Controllers.&nbsp; &nbsp;</p>
<p>This bottleneck is due to there only being <strong>2</strong> MaxConcurrentAPI channels available (by default) in Windows Server 2003 or 2008 to service authentication requests.&nbsp; The default value of 2 (that even Windows Server 2008 R2 uses by default) is a legacy setting that has been used since Windows 2000.&nbsp; Naturally the&nbsp;MaxConcurrentAPI value of 2 was used back in the Windows 2000 days to&nbsp;avoid creating performance bottlenecks on the server, since the hardware capabilities back then were nowhere near what they are today.&nbsp; Unfortunately today this&nbsp;antiquated setting is not aggressive enough for&nbsp;all the applications&nbsp;(i.e. Exchange, Lync, SharePoint etc.) that may be creating additional&nbsp;NTLM&nbsp;authentication traffic to your Domain Controllers.&nbsp;&nbsp;</p>
<p>The most common symptom of an authentication bottleneck in Exchange 2010 is the Outlook client will receive an authentication prompt.&nbsp; More often than not if you enter your credentials&nbsp;you will be prompted again&nbsp;and again, until the authentication bottleneck&nbsp;has&nbsp;subsided.&nbsp; I typically explain it to customers&nbsp;as a busy 2-lane highway.&nbsp; The bottlenecks occur during peak times as more cars try to get on the highway from&nbsp;ramps and by other means.&nbsp;&nbsp;Naturally you may be waiting a while to get on the highway when it is full.&nbsp; For Exchange, an authentication prompt will only wait so long to get "on the highway" before it times out.&nbsp;&nbsp;Since that authentication attempt timed out, you must retry and thus you will be prompted for your authentication credentials&nbsp;again.</p>
<p>So what is the best way to fix this problem in Exchange 2010?&nbsp; Naturally if you have more lanes available to you then more cars can get on the highway.&nbsp; Imagine&nbsp;adding another 8 lanes to this two-lane highway.&nbsp; You have just significantly increased&nbsp;the ability to&nbsp;get&nbsp;more and more cars onto the highway and avoiding bottlenecks (and the corresponding problems that come from those bottlenecks).&nbsp; Windows Server 2012 now utilizes a default value of 10 for MaxConcurrentAPI.&nbsp;&nbsp;However if you don't have Windows Server 2012, we can add "more lanes" to Windows Server 2003 &amp; 2008 by adjusting the MaxConcurrentAPI value in the registry (see KB: <strong><a href="http://support.microsoft.com/kb/975363">http://support.microsoft.com/kb/975363</a></strong>).&nbsp;</p>
<p>Windows Server 2003 supports a maximum MaxConcurrentAPI value of <strong>10</strong>.&nbsp;</p>
<p>Windows Server 2008 &amp; 2008 R2 can be set up to <strong>10</strong> <em>without</em> a hotfix, and can go all the way to <strong>150</strong> <em>with</em> a hotfix.</p>
<p>Windows Server 2008 R2 SP1 does <em>not</em> require a hotfix to go all the way to <strong>150</strong>.&nbsp;&nbsp;</p>
<p>Thus we typically recommend changing the MaxConcurrentAPI value on Windows Server 2003 &amp; 2008 to 10 on your&nbsp;Domain Controllers and Exchange 2010 Client Access Servers.&nbsp; This will address most issues with NTLM authentication bottlenecks.&nbsp;</p>
<p>If authentication issues still exist, as long as you have Windows 2008 DCs, you can load the hotfix and set the&nbsp;MaxConcurrentAPI value higher as needed.&nbsp; Another recommendation we have for Exchange 2010 is enabling Kerberos authentication to&nbsp;help&nbsp;reduce the high volume of NTLM authentication in Exchange.&nbsp;&nbsp;I will discuss enabling <a title="Configuring Kerberos Authentication in Exchange 2010" href="http://blogs.technet.com/b/get-exchangehelp/archive/2013/01/31/configuring-kerberos-authentication-in-exchange-2010.aspx">Kerberos Authentication</a> in another&nbsp;blog post.&nbsp;&nbsp;</p>
<p><strong>~Craig</strong></p>
<h4>For more information on MaxConcurrentAPI, see the following links:</h4>
<p>You are intermittently prompted for credentials or experience time-outs when you connect to Authenticated Services:&nbsp;<a href="http://support.microsoft.com/kb/975363">http://support.microsoft.com/kb/975363</a>&nbsp;&nbsp;</p>
<p>How to do performance tuning for NTLM authentication by using the MaxConcurrentApi setting:&nbsp;<a href="http://support.microsoft.com/kb/2688798">http://support.microsoft.com/kb/2688798</a>&nbsp;</p>
<p>Optimizing NTLM authentication flow in multi-domainenvironments: <a href="http://blogs.technet.com/b/isrpfeplat/archive/2010/11/05/optimizing-ntlm-authentication-flow-in-multi-domain-environments.aspx"><span lang="en-GB">http://blogs.technet.com/b/isrpfeplat/archive/2010/11/05/optimizing-ntlm-authentication-flow-in-multi-domain-environments.aspx</span></a></p>
<p>NTLM&rsquo;s time has passed: <a href="http://blogs.technet.com/b/authentication/archive/2006/04/07/ntlm-s-time-has-passed.aspx"><span lang="en-GB">http://blogs.technet.com/b/authentication/archive/2006/04/07/ntlm-s-time-has-passed.aspx</span></a></p>
<p>NTLM Bottlenecks and the RPC runtime: <a href="http://blogs.technet.com/b/askds/archive/2011/09/15/is-this-horse-dead-yet-ntlm-bottlenecks-and-the-rpc-runtime.aspx"><span style="font-family: 'MS Shell Dlg 2'; font-size: 10pt;" lang="en-GB">http://blogs.technet.com/b/askds/archive/2011/09/15/is-this-horse-dead-yet-ntlm-bottlenecks-and-the-rpc-runtime.aspx</span></a></p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;">&nbsp;</p>]]></content:encoded>
    </item>
  </channel>
</rss>