<?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>Bits Of Exchange</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/anya/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/anya/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:27:24 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Unable to perform Discovery search from EAC</title>
      <link>https://docs.microsoft.com/archive/blogs/anya/unable-to-perform-discovery-search-from-eac</link>
      <pubDate>Thu, 09 Apr 2015 10:04:00 GMT</pubDate>
      <dc:creator><![CDATA[Aniyadav]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/anya/2015/04/09/unable-to-perform-discovery-search-from-eac/</guid>
      <description><![CDATA[Symptom:
Unable to perform Discovery search from EAC getting the below error
 &quot;An unknown...]]></description>
      <content:encoded><![CDATA[<p><span style="text-decoration:underline;"><strong><span style="font-size:medium;">Symptom:</span></strong></span></p>
<p><span style="font-size:medium;"><b><span style="font-family:&#39;Calibri&#39;,sans-serif;">Unable to perform Discovery search from EAC getting the below error</span></b></span></p>
<p><span style="font-size:medium;"><span style="font-family:Times New Roman;"> </span><span style="font-family:&#39;Calibri&#39;,sans-serif;">&quot;An unknown error occurred on the search server. Please contact your administrator for assistance. The message from the search server is &#39;Could not locate Client Access Virtual Directory object with InternalUrl stamped for service. Last server checked: E2k13SRV&quot;</span></span></p>
<p><span style="font-family:&#39;Calibri&#39;,sans-serif;font-size:medium;">&nbsp;</span></p>
<p style="margin:0in 0in 0pt;"><span style="font-family:Calibri;font-size:medium;"><span><b><span style="text-decoration:underline;">Cause</span></b><span style="text-decoration:underline;">:</span> Whenever discovery search is performed for the first time using EAC in Exchange 2013, it will check for the following 6 internal URLS in the background&nbsp;and it will cache it locally </span></span></p>
<p><span style="font-family:&#39;Calibri&#39;,sans-serif;font-size:medium;">Found URL: <a href="https://e15-cas.anil.com/owa"><span style="color:windowtext;">https://e15-cas.contoso.com/owa</span></a></span></p>
<p><span style="font-family:&#39;Calibri&#39;,sans-serif;font-size:medium;">Found URL: <a href="https://e15-cas.anil.com/ecp"><span style="color:windowtext;">https://e15-cas.<span style="text-decoration:underline;"><span style="font-family:Calibri;">contoso</span></span>.com/ecp</span></a></span></p>
<p><span style="font-family:&#39;Calibri&#39;,sans-serif;font-size:medium;">Found URL: <a href="https://e15-cas.anil.com/EWS/Exchange.asmx"><span style="color:windowtext;">https://e15-cas.<span style="text-decoration:underline;"><span style="font-family:Calibri;">contoso</span></span>.com/EWS/Exchange.asmx</span></a></span></p>
<p><span style="font-family:&#39;Calibri&#39;,sans-serif;font-size:medium;">Found URL: <a href="https://e15-cas.anil.com/Microsoft-Server-ActiveSync"><span style="color:windowtext;">https://e15-cas.<span style="text-decoration:underline;"><span style="font-family:Calibri;">contoso</span></span>.com/Microsoft-Server-ActiveSync</span></a></span></p>
<p><span style="font-family:&#39;Calibri&#39;,sans-serif;font-size:medium;">Found URL: <a href="https://e15-cas.anil.com/OAB"><span style="color:windowtext;">https://e15-cas.<span style="text-decoration:underline;"><span style="font-family:Calibri;">contoso</span></span>.com/OAB</span></a></span></p>
<p><span style="font-family:&#39;Calibri&#39;,sans-serif;font-size:medium;">Found URL: <a href="https://e15-cas.anil.com/mapi"><span style="color:windowtext;">https://e15-cas.<span style="text-decoration:underline;"><span style="font-family:Calibri;">contoso</span></span>.com/mapi</span></a><span style="color:#1f497d;"> </span></span></p>
<p><span style="font-family:&#39;Calibri&#39;,sans-serif;font-size:medium;">[GlobalServiceUrls.DiscoverUrlsIfNeeded] Successfully found all needed VDirs</span></p>
<p><span style="font-family:&#39;Calibri&#39;,sans-serif;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:arial,helvetica,sans-serif;"><strong><span style="text-decoration:underline;">Resolution:</span></strong></span></p>
<p><span style="font-family:arial,helvetica,sans-serif;">We need to make sure all the required virtual directories are present and internal URLs are published on those VDirs. In my case <span style="text-decoration:underline;">mapi</span><span style="color:#1f497d;"> </span>virtual directory was missing and it failed while fetching the internal url of <span style="text-decoration:underline;">mapi</span><span style="color:#1f497d;"> </span>virtual directory on the E15 CAS server.</span></p>
<p><span style="font-family:arial,helvetica,sans-serif;font-size:small;">Once Mapi virtual directory was created with InternalUrl, error &nbsp;went away.</span></p>
<p></p>
<p><span style="font-family:&#39;Calibri&#39;,sans-serif;font-size:11pt;"><span style="font-family:Times New Roman;font-size:medium;"> </span><br /></span></p>]]></content:encoded>
    </item>
    <item>
      <title>Microsoft Exchange Diagnostics service crashing with the event 4999, 1007 and 7031 post CU upgrade</title>
      <link>https://docs.microsoft.com/archive/blogs/anya/microsoft-exchange-diagnostics-service-crashing-with-the-event-4999-1007-and-7031-post-cu6-upgrade</link>
      <pubDate>Mon, 24 Nov 2014 18:56:00 GMT</pubDate>
      <dc:creator><![CDATA[Aniyadav]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/anya/2014/11/24/microsoft-exchange-diagnostics-service-crashing-with-the-event-4999-1007-and-7031-post-cu6-upgrade/</guid>
      <description><![CDATA[Post upgrading to Exchange 2013 to CU6 from any CU level you may notice the below events are...]]></description>
      <content:encoded><![CDATA[<b><span style="font-family: Calibri"> </span></b>

<span style="font-family: Calibri"><span style="font-size: medium">Post upgrading to Exchange 2013 to CU6 from any CU level you may notice the below events are generating in every 30-45 minutes, it is the exceptional rare scenario and may encounter similar symptom post upgrade. While upgrade due to some modification in the registry hives the <b>ExchangeDiagnosticsDailyPerformanceLog</b> got missing from Task Scheduler, performance monitor and was also missing from the location C:\Windows\System32\Tasks\Microsoft\Windows\PLA </span></span><span style="font-family: Calibri"><span style="font-size: medium">because of which the MSExchangeDiagnostics service started crashing very frequently and it failed to create daily performance logs, since PID is not changing its first chance exception. </span></span>

<span style="font-family: Calibri;font-size: medium"> </span>

<span style="font-family: Calibri;font-size: medium">Log Name:      Application</span>

<span style="font-family: Calibri;font-size: medium">Source:        MSExchangeDiagnostics</span>

<span style="font-family: Calibri;font-size: medium">Date:          9/29/2014 2:47:37 PM</span>

<span style="font-family: Calibri;font-size: medium">Event ID:      1007</span>

<span style="font-family: Calibri;font-size: medium">Task Category: General</span>

<span style="font-family: Calibri;font-size: medium">Level:         Error</span>

<span style="font-family: Calibri;font-size: medium">Keywords:      Classic</span>

<span style="font-family: Calibri;font-size: medium">User:          N/A</span>

<span style="font-family: Calibri;font-size: medium">Computer:      SRV1.contoso.local</span>

<span style="font-family: Calibri;font-size: medium">Description:</span>

<span style="font-family: Calibri;font-size: medium">Failed to create or start performance logs with error: System.ArgumentException: Value </span>

<span style="font-family: Calibri;font-size: medium">does not fall within the expected range.</span>

<span style="font-family: Calibri;font-size: medium">   at PlaLibrary.DataCollectorSetClass.start(Boolean Synchronous)</span>

<span style="font-family: Calibri;font-size: medium">   at Microsoft.Exchange.Diagnostics.PerformanceLogger.PerformanceLogSet.StartLog</span>

<span style="font-family: Calibri;font-size: medium">(Boolean synchronous)</span>

<span style="font-family: Calibri;font-size: medium">   at </span>

<span style="font-family: Calibri;font-size: medium">Microsoft.Exchange.Diagnostics.PerformanceLogger.PerformanceLogMonitor.CheckPerflogSta</span>

<span style="font-family: Calibri;font-size: medium">tus(). Performance log: ExchangeDiagnosticsPerformanceLog.</span>

<span style="font-family: Calibri;font-size: medium"> </span>

<span style="font-family: Calibri;font-size: medium"> </span>

<span style="font-family: Calibri;font-size: medium">Log Name:      System</span>

<span style="font-family: Calibri;font-size: medium">Source:        Service Control Manager</span>

<span style="font-family: Calibri;font-size: medium">Date:          9/29/2014 2:20:27 PM</span>

<span style="font-family: Calibri;font-size: medium">Event ID:      7031</span>

<span style="font-family: Calibri;font-size: medium">Task Category: None</span>

<span style="font-family: Calibri;font-size: medium">Level:         Error</span>

<span style="font-family: Calibri;font-size: medium">Keywords:      Classic</span>

<span style="font-family: Calibri;font-size: medium">User:          N/A</span>

<span style="font-family: Calibri;font-size: medium">Computer:      SRV1.contoso.local</span>

<span style="font-family: Calibri;font-size: medium">Description:</span>

<span style="font-family: Calibri;font-size: medium">The Microsoft Exchange Diagnostics service terminated unexpectedly.  It has done this </span>

<span style="font-family: Calibri;font-size: medium">577 time(s).  The following corrective action will be taken in 60000 milliseconds: </span>

<span style="font-family: Calibri;font-size: medium">Restart the service.</span>

<span style="font-family: Calibri;font-size: medium"> </span>

<span style="font-family: Calibri;font-size: medium"> </span>

<span style="font-family: Calibri;font-size: medium">Log Name:      Application</span>

<span style="font-family: Calibri;font-size: medium">Source:        MSExchange Common</span>

<span style="font-family: Calibri;font-size: medium">Date:          9/29/2014 3:42:18 PM</span>

<span style="font-family: Calibri;font-size: medium">Event ID:      4999</span>

<span style="font-family: Calibri;font-size: medium">Task Category: General</span>

<span style="font-family: Calibri;font-size: medium">Level:         Error</span>

<span style="font-family: Calibri;font-size: medium">Keywords:      Classic</span>

<span style="font-family: Calibri;font-size: medium">User:          N/A</span>

<span style="font-family: Calibri;font-size: medium">Computer:      SRV1.contoso.local</span>

<span style="font-family: Calibri;font-size: medium">Description:</span>

<span style="font-family: Calibri;font-size: medium">Watson report about to be sent for process id: 16436, with parameters: E12IIS, c-RTL-</span>

<span style="font-family: Calibri;font-size: medium">AMD64, 15.00.0995.029, M.E.Diagnostics.Service, M.E.Diagnostics.PerformanceLogger, </span>

<span style="font-family: Calibri;font-size: medium">M.E.D.P.PerformanceLogSet.StartLog, System.ArgumentException, 95c6, 15.00.0995.012.</span>

<span style="font-family: Calibri;font-size: medium">ErrorReportingEnabled: True </span>

<span style="font-family: Calibri;font-size: medium"> </span>

<span style="font-family: Calibri;font-size: medium">Before starting the troubleshooting we can first verify if </span>Windows Scheduler Service is disabled by specific GPO. <span style="font-family: Calibri"><span style="font-size: medium">Since <b>ExchangeDiagnosticsDailyPerformanceLog </b>was missing in the performance monitor and task scheduler, I just thought of importing the <b>ExchangeDiagnosticsDailyPerformanceLog </b>template as a workaround from performance monitor of one of the working Exchange 2013 CU6 server. Though it didn’t fix the problem completely, but it’s worth reading the steps performed for understanding the cause of the problem.</span></span>

<span style="font-family: Calibri;font-size: medium"> </span>

<span style="font-family: Calibri;font-size: medium">I first exported ExchangeDiagnosticsDailyPerformanceLog template with the name ExchangeDiagnosticsDailyPerformanceLog.xml from the working Exchange 2013 CU6 server. Then while importing the ExchangeDiagnosticsDailyPerformanceLog.xml it was not picking the XML file and was showing the blank console post browsing the file from the saved location. It seems that ExchangeDiagnosticsDailyPerformanceLog.xml was already in used by other data collector. Modified the name from ExchangeDiagnosticsDailyPerformanceLog.xml to ExchangeDiagnosticsDailyPerf.xml and this time I was able to pick the template from the saved location, but if I am using the data collector name as ExchangeDiagnosticsDailyPerformanceLog then it throws an error as mentioned in the below screenshot.</span>

<span style="font-family: Calibri;font-size: medium"> </span>

<span style="font-family: Calibri;font-size: medium"> <a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/39/5633.1a.PNG"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/39/5633.1a.PNG" alt=" " border="0" /></a></span>

<span style="font-family: Calibri;font-size: medium"> </span>

<span style="font-family: Calibri"><span style="font-size: medium">Changed the data collector name from ExchangeDiagnosticsDailyPerformanceLog to ExchangeDiagnosticsDailyPerf and I was able to import the ExchangeDiagnosticsDailyPerf.xml template. Since ExchangeDiagnosticsDailyPerf template was imported properly, it even populated the ExchangeDiagnosticsDailyPerf task in the Task scheduler. Now the ExchangeDiagnosticsDailyPerformanceLog started getting generated at the location C:\Program Files\Microsoft\Exchange Server\V15\Logging\Diagnostics\DailyPerformanceLogs. But the events 1007 and 4999 were still generating in every 30-45 minutes. </span></span>

<span style="font-family: Calibri"><span style="font-size: medium"> </span></span>

<span style="font-family: Calibri;font-size: medium"> <a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/39/8015.2.PNG"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/39/8015.2.PNG" alt=" " border="0" /></a></span>

<span style="font-family: Calibri;font-size: medium"> </span>

<span style="font-family: Calibri"><span style="font-size: medium">As per the above testing it is clearly reflected that cached entry of the default daily performance log name “ExchangeDiagnosticsDailyPerformanceLog” is present somewhere and since it is not able to find the ExchangeDiagnosticsDailyPerformanceLog in the perfmon and task scheduler it’s generating the error 1007 and 4999.  </span></span>

<span style="font-family: Calibri;font-size: medium"> </span><span style="font-family: Calibri;font-size: medium"> </span>

<span style="font-family: Calibri;font-size: large"><b>Resolution</b>:</span>

<span style="font-family: Calibri;font-size: medium">We have to ensure that the templates key are present under PLA </span>

<span style="font-family: Calibri;font-size: medium">HKLM\Software\Microsoft\PLA\Templates</span>

<span style="font-family: Calibri;font-size: medium"> <a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/39/0677.3.PNG"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/39/0677.3.PNG" alt=" " border="0" /></a></span>

<span style="font-family: Calibri;font-size: medium"> </span>

<span style="font-family: Calibri"><span style="font-size: medium">Found cached entry of the default daily performance log name “ExchangeDiagnosticsDailyPerformanceLog” at the registry location</span></span>

<b><span style="font-family: Calibri;font-size: medium">HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft\Windows\PLA\ExchangeDiagnosticsDailyPerformanceLog</span></b>

<span style="font-family: Calibri;font-size: medium"> <a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/39/4.PNG"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/39/4.PNG" alt=" " border="0" /></a></span>

<span style="font-family: Calibri;font-size: medium"> </span>

<span style="font-family: Calibri"><span style="font-size: medium"><b>Important</b> This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base: </span></span>

<a href="https://support.microsoft.com/kb/322756"><span style="font-family: Calibri;font-size: medium">322756</span></a><span style="font-family: Calibri"><span style="font-size: medium"> (https://support.microsoft.com/kb/322756/ ) </span></span>

<span style="font-family: Calibri;font-size: medium">How to back up and restore the registry in Windows</span>

<span style="font-family: Calibri;font-size: medium"> </span>

<span style="font-family: Calibri;font-size: medium">Deleted the ExchangeDiagnosticsDailyPerformanceLog entry from the above location and deleted the imported 'ExchangeDiagnosticsDailyPerf' from perfmon </span>

<span style="font-family: Calibri;font-size: medium">Ensured that we only have ExchangeDiagnosticsPerformanceLog and Server Manager Performance monitor under user data collector in perfmon. Then rebooted the server, post which found that new default ExchangeDiagnosticsDailyPerformanceLog was recreated automatically in the task scheduler and performance monitor and now events were not generating any more.</span>

<span style="font-family: Calibri"><span style="font-size: medium"><b>Note</b>: If we are missing both ExchangeDiagnosticsDailyPerformanceLog and ExchangeDiagnosticsPerformanceLog then we have to delete both the entries from the above registry location and then reboot</span></span>

<span style="font-family: Calibri;font-size: medium"> </span>

<span style="font-family: Calibri;font-size: medium">Cheers!</span>

<span style="font-family: Calibri;font-size: medium">Anil
</span>

<span style="font-family: Calibri;font-size: medium"> </span>]]></content:encoded>
    </item>
    <item>
      <title>Understanding of Managed Folder Assistant with retention policies</title>
      <link>https://docs.microsoft.com/archive/blogs/anya/understanding-of-managed-folder-assistant-with-retention-policies</link>
      <pubDate>Wed, 19 Nov 2014 16:32:00 GMT</pubDate>
      <dc:creator><![CDATA[Aniyadav]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/anya/2014/11/19/understanding-of-managed-folder-assistant-with-retention-policies/</guid>
      <description><![CDATA[Exchange includes a number of mailbox assistants to perform automated processing on the data held in...]]></description>
      <content:encoded><![CDATA[<p>Exchange includes a number of mailbox assistants to perform automated processing on the data held in mailboxes. Exchange 2010 or&nbsp;Exchange 2013&nbsp;uses different types of assistants:</p>
<ol>
<li>
<p><b>Event-based assistants </b>These respond to events as they occur. For example, the resource booking assistant monitors requests to book rooms and lets users know whether the room is unavailable.</p>
</li>
<li>
<p><b>Throttle-based assistants </b>These operate all the time to process data and are sub&shy;ject to throttling to ensure that their workload does not affect the responsiveness of a server. The Managed Folder Assistant is the best known of these assistants.&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>
</li>
</ol>
<p>Other-known assistants are the following:</p>
<ol>
<li>
<p><b>Calendar assistant </b>Checks mailboxes for incoming meeting requests and processes the requests according to mailbox settings</p>
</li>
<li>
<p><b>Resource booking assistant </b>Processes meeting requests for room and equipment mailboxes</p>
</li>
<li>
<p><b>Scheduling assistant </b>Scans attendee calendars for suitable meeting slots and sug&shy;gests them to meeting organizers</p>
</li>
<li>
<p><b>Junk email options assistant </b>Copies the safelist data from user mailboxes to their Active Directory accounts so the anti-spam agents can use it</p>
</li>
<li>
<p><b>Managed folder assistant </b>Processes retention policies for managed folders and applies retention policy tags to items in mailboxes</p>
</li>
</ol>
<p></p>
<p></p>
<p>Exchange uses a work cycle model to define how its assistants perform work while remain&shy;ing active in the background to accomplish goals over a set period. For example, you might define that the Managed Folder Assistant must process every mailbox on a server at least once in 24 hours. Given the constraints determined in a work cycle, the assistant will work out how much work it has to do over the period and create an internal schedule to do the work on a phased basis so that a smooth and predictable demand is generated on the server rather than the peaks created by the older model. The assistant monitors system conditions on an ongoing basis to make any required adjustments to perform well. If the server is under high demand for a period due to user activity, the assistant can back off its work and then speed up when server load drops.</p>
<p>The Get-MailboxServer and Set-MailboxServer cmdlets retrieve and set work cycle informa&shy;tion for assistant processes. First, find out what the current work cycles are for the assistants that run on a multirole server:</p>
<p>Get-MailboxServer &ndash;Identity ExServer2 | Format-List *WorkCycle*</p>
<p><span style="font-family:Times New Roman;font-size:medium;"> </span>The majority of the assistant processes process the data for which they are responsible at least once daily because the work cycle period is set to one day. In effect, the goal for the assistant is to process all relevant data for all mailboxes on the server in a 24-hour period, assuming that system resources allow it and the assistants are not throttled back to allow more important processes to proceed. The checkpoint for an assistant tells it how often it should check for new objects that need to be processed, such as looking to see whether new mailboxes have been added to the databases on a server. In most cases, the check&shy;point is equivalent to the work cycle period. It makes sense to have the same work cycle settings applied to all Mailbox servers in the organization. This is easily done by running the Get-MailboxServer command to fetch a collection of all Mailbox servers and then using Set-MailboxServer to set the properties.</p>
<p></p>
<p>After you apply a retention policy to a mailbox, you can either wait for the next scheduled run of the MFA or start it manually so that the new policy is applied immediately. When the MFA runs, it performs the following tasks:</p>
<ol>
<li>
<p>It applies the tags specified in retention policies to the mailboxes covered by these policies and stamps the items in the various folders covered by the policies with the appropriate tag name and expiration date.</p>
</li>
<li>
<p>If a policy defines a retention or expiry period for items, it stamps a Messaging Appli&shy;cation Programming Interface (MAPI) property (ElcMoveDate) on the items, indicat&shy;ing the date and time from which the retention period will start. A future run of the MFA can then use this date and time to calculate when to delete an item or mark it as expired.</p>
</li>
<li>
<p>It locates items in folders that are past their expiration date and takes whatever action is defined in the policy (delete, move to Archive).</p>
<p>&nbsp;</p>
</li>
</ol>
<p>The MFA works on a work cycle basis: it assesses the expected workload in terms of the number of mailboxes it has to process and then spreads out its processing across the com&shy;plete window. For example, if 600 mailboxes are to be processed over three hours, the MFA creates its own internal schedule to process 200 mailboxes per hour or roughly three mailboxes per minute. In addition, a checkpoint is defined for the work cycle, at which time the MFA looks for new mailboxes that should be added to its list for processing. The default values for the work cycle and checkpoint are both 1 day, so the MFA attempts to process every mailbox in its list daily and checks for new mailboxes daily. The MFA logs event 9017</p>
<p>when it begins to process mailboxes, but the more important event to look for is 9025, logged when the MFA has had to skip a mailbox for some reason, such as when the mail&shy;box is being moved to another database.</p>
<p>Overall, the work cycle mechanism makes more effective use of server resources in an easy and relaxed manner throughout the day and doesn&rsquo;t create potential spikes in demand.</p>
<p>You might want to run the MFA immediately, perhaps to apply a policy to a group of users for the first time. Forcing immediate execution for a selected mailbox is useful when you start to apply policies to mailboxes and want to gauge the effect of the policy by examin&shy;ing the contents of a known mailbox. This might be easier than asking users what hap&shy;pened to items in their mailboxes. To force processing for a selected mailbox, specify its name with the &ndash;Identity parameter:</p>
<p>Start-ManagedFolderAssistant &ndash;Identity &#39;John&#39;</p>
<p><strong>Note</strong>: We should avoid running Start-managedFolderAssistant against bulk of users during the production hours, which may lead to some performance issues on the mailbox server.</p>
<p></p>
<p></p>
<p>The time required for the MFA to complete its run depends on the number of mailboxes and the number of items to which it has to apply retention policies. A run on a small server that hosts a few hundred mailboxes will complete in a couple of minutes unless the mail&shy;boxes hold thousands of items. However, processing 6,000 mailboxes, each of which holds an average of 25,000 items, could take several hours, especially if the server is loaded with other tasks or the policies cause a heavy I/O load because many items are permanently removed or moved from primary to archive mailboxes. You should monitor the first runs of the MFA on a server to gauge the scope of the activity and how long a normal run takes to complete.</p>
<p>After the MFA has applied a new policy to a mailbox, the next time the user connects to the mailbox with a client that supports retention policies, user will see that retention tags are shown on items and the retention policy options are visible. Another important point that you should understand is that if you apply a retention policy that contains a default policy tag, the MFA stamps the default tag on every item in the mailbox. This action forces Outlook to download the complete contents of the mailbox the next time the client connects and synchronizes with Exchange. Such a massive synchronization has the poten&shy;tial to flood a network and keep clients fully occupied for a long time. Including a default archive tag in a policy does not have the same effect because the MFA does not stamp every item with this tag.</p>
<p></p>
<p>User notified with retention policies</p>
<p><span>The first evidence users see that their mailbox has been assigned a retention policy is when retention information appears when they look at messages. This information is based on the tag stamped on an item by the MFA. Thirty days or so before an item&rsquo;s retention period expires, Outlook and Outlook Web App begin to inform users that they might want to take action to preserve the item; otherwise, the MFA will process it again and delete it or move it into the archive, depending on the action required by policy. These warnings are visible when a message is opened or shown in the message preview shows how Outlook Web App advises that a message has five days before it expires as the result of the retention policy tag placed on the Inbox. The user now has the choice either to take action or to let the message expire, in which case the MFA will process whatever action is defined in the tag.</span></p>
<p><span><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/39/1a.PNG" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-39/1a.PNG"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/39/1a.PNG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-39/1a.PNG" border="0" /></a><br /></span></p>
<p><span style="font-family:Segoe,Segoe;"><span style="font-family:Segoe,Segoe;">Outlook Web App display warning that an item will expire after certain specific deadline</span></span></p>
<p><span style="font-family:Segoe,Segoe;"><span style="font-family:Segoe,Segoe;">Users have two options. First, they can move the item to a different folder and so remove it </span></span><span style="font-family:Segoe,Segoe;"><span style="font-family:Segoe,Segoe;">from the influence of the retention policy tag that applies to Inbox items. After it is moved, the item is governed by the default policy tag defined in the retention policy that applies </span></span><span style="font-family:Segoe,Segoe;"><span style="font-family:Segoe,Segoe;">to the mailbox, if one exists, or by an explicit tag that is applied to the folder and therefore inherited by all items that are added to the folder. If neither of these conditions exists, the item is left untagged and is therefore not subject to processing by the MFA</span></span></p>
<p></p>
<p><span style="font-size:small;">The second option is to apply a personal tag to the item. Users can choose from any of the <span style="font-family:Segoe,Segoe;"><span style="font-family:Segoe,Segoe;">personal tags defined in the retention policy applied to their mailbox by right-clicking an </span></span></span><span style="font-size:xx-small;"><span style="font-size:small;">item and then selecting the personal tag to apply.</span> </span></p>
<p></p>
<p>You won&rsquo;t see the user interface for retention policies unless a policy is applied to your mailbox and the MFA has processed the mailbox to apply the retention policy. As part of this process, the MFA creates a hidden folder-associated item (FAI) in the user mailbox that clients use to populate the retention tag picker. If the policy is subsequently updated with a new retention or archive tag, the new tag will not be visible to clients until after the MFA next processes the mailbox.</p>
<p></p>
<p>After a personal tag has been applied to an item, the item is no longer subject to the provisions of either the folder policy or the default policy because an explicit tag always takes precedence over a tag placed on a folder. The personal tag also remains with the item if it is moved to another folder or into the personal archive. If users want to impose a different retention policy on the item, they must replace the existing tag with a new personal tag.</p>
<p><span style="font-family:Segoe,Segoe;font-size:xx-small;">&nbsp;</span></p>
<p></p>
<p><b>Hidden&nbsp;working of MFA</b></p>
<p>When the MFA first processes a mailbox, it creates a hidden FAI item of type IPM.Configuration.MRM in the Associated Contents table of the Inbox folder. The item stores MRM configuration in XML format in a PR_ROAMING_XMLSTREAM property. (PR = property; Roaming means that the information is available wherever the client connects, and XMLSTREAM indicates the type.) The MFA then updates the item any time a change occurs in the retention policy assigned to the mailbox, such as when a new personal tag is added to the policy. If a new retention policy is assigned, the MFA updates the item with details of that policy.</p>
<p>Exchange uses FAIs as a means to hold configuration and other data it needs to store in a mailbox but does not want to reveal to users when they run clients such as Outlook. The item the MFA creates holds details of the retention policy that has been assigned to the mailbox, including details of the retention tags the client needs to display in its user interface. If the item does not exist in the mailbox, a client remains unaware that a reten&shy;tion policy is in force. This is why the MFA has to process a mailbox before the client user interface is populated with details of the policy. In addition to the tags provisioned through the retention policy, the item also holds information about any personal tags the user has selected for his own use through Outlook Web App Options, you cannot see this information with a normal client, but you can with the MFCMAPI utility by opening a mailbox that has been assigned a retention policy, opening the Inbox folder, and then opening the associated contents table before finally identify&shy;ing the MRM item&nbsp;shows the details of the MRM configuration item as exposed by MFCMAPI, and you can clearly see details of the retention tags specified in the policy in the text box paste it in notepad and review the tags information.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/39/8233.1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-39/8233.1.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/39/8233.1.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-39/8233.1.png" border="0" /></a></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p>The MFA uses a number of MAPI properties for mailbox folders and items during its pro&shy;cessing. These properties are:</p>
<ol>
<li>
<p><b>PR_START_DATE_ETC </b>For a folder, this property holds the GUID of the retention tag that administers a folder. Every tag is assigned a GUID (stored logically in the GUID property and visible with EMS). This GUID is stamped into this property so the MFA knows which retention tag, action, and period applies to the folder. For an item, the property holds a composite value containing the default retention period plus the start time for the retention period. By adding the retention period to the start time, the MFA determines the expiry date.</p>
</li>
<li>
<p><b>PR_RETENTION_PERIOD </b>This is the number of days items should be retained in a folder. When a personal tag is applied to an item, this property is set. However, if the property does not exist, the item (or subfolder) inherits the retention period from its parent folder.</p>
</li>
<li>
<p><b>PR_RETENTION_DATE </b>This is the calculated date when an item&rsquo;s retention period expires. Clients display this information to users. When clients work in online mode (such as in Outlook Web App), Exchange takes care of calculating this value, other&shy;wise clients that work in offline mode perform the calculation.<b>PR_RETENTION_FLAGS </b>For a folder, this flag indicates whether the retention tag is inherited from the parent folder. If the user sets an explicit tag on a folder, the value is nonzero.</p>
</li>
<li><b>PR_POLICY_TAG </b>This exists only for items and contains a binary encoded value pointing to the policy tag that governs the item.</li>
<li>
<p><b>PR_ARCHIVE_TAG </b>This exists only for items and points to the archive tag that gov&shy;erns an item.</p>
</li>
<li>
<p><b>PR_ARCHIVE_PERIOD </b>This exists only when an item has been stamped with an explicit archive tag to contain the number of days in the archive retention period.</p>
</li>
<li>
<p><b>PR_ARCHIVE_DATE </b>This contains the date when an item will be archived.</p>
<p>You can view these properties through MFCMAPI shows the value of the PR_RETENTION_DATE property for an item.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/39/5140.2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-39/5140.2.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/39/5140.2.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-39/5140.2.png" border="0" /></a></p>
<p>Viewing the PR_RETENTION_DATE property for an item</p>
<p><b>Retention date calculation</b></p>
<p>Date calculation is a very important part of the work the MFA does when it processes items. The MFA has to understand the date that should be used to calculate the age of the item (when the item first appears in the mailbox) and either the date when the item will expire or the date when the MFA has to take the action the retention policy requires (deleting the item or moving it into the archive).</p>
<p>Given the nature of email, most items enter a mailbox when they are delivered in the Inbox or are sent and stored in Sent Items. Items often stay in these folders for much of their lifetime and, if they do stay, will probably come under the control of either a folder tag (if defined for the folder) or a default tag (that applies to untagged items in the mailbox). The exception, of course, occurs when a user explicitly applies a personal tag to an item in the Inbox or Sent Items.</p>
<p>When the MFA runs, it examines items in the mailbox and determines what processing is required. Assume that an Inbox item exists that was delivered on 1 April 2013 and that a folder tag that requires items to be deleted and allow recovery after 30 days is applied to the Inbox. MFA stamps this item with a start date of 1 April 2013 by updating the PR_START_DATE_ETC property. It then calculates the expiration date by adding 30 days to the start date; 1 May 2013 is the result. This date is then stamped on the item by updating the PR_RETENTION_DATE property. On or after 1 May 2013, the MFA returns to the item and discovers that its retention period has expired. (If you view the item by using Outlook before the MFA returns, you&rsquo;ll see the item marked as Expired.) When the MFA processes an expired item, it takes the retention action defined in the tag. In this case, it moves the item into the Recoverable Items folder, where it will remain until the retention period for the mailbox expires, at which time the MFA will remove the item permanently from the database.</p>
<p>This is the simplest kind of processing the MFA is called on to perform, but it happens for a large percentage of items because many users leave messages in the Inbox and Sent Items folders. People who let items accumulate in these folders are often called pilers because they create piles of messages and then rely on client search facilities to locate specific items when required.</p>
<p>Broadly speaking, the other kind of user behavior is represented by the filers, or people who move items from the Inbox and Sent Items into more appropriate folders in which the items form collections that represent important categories of work (or play) as viewed by the user. Or indeed the user attempts to keep the Inbox and other folders under some form of control by deleting unwanted items on a regular basis.</p>
<p></p>
</li>
</ol>
<p></p>]]></content:encoded>
    </item>
    <item>
      <title>Server health reports are showing "Unknown" and all server components state were showing "Inactive"</title>
      <link>https://docs.microsoft.com/archive/blogs/anya/server-health-reports-are-showing-unknown-and-all-server-components-state-were-showing-inactive</link>
      <pubDate>Thu, 28 Aug 2014 10:14:00 GMT</pubDate>
      <dc:creator><![CDATA[Aniyadav]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/anya/2014/08/28/server-health-reports-are-showing-unknown-and-all-server-components-state-were-showing-inactive/</guid>
      <description><![CDATA[&nbsp;
Managed Availability polls and analyzes hundreds of health metrics in Exchange 2013.&nbsp;...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;">Managed Availability polls and analyzes hundreds of health metrics in Exchange 2013.&nbsp; If something is found to be wrong, most of the time it will be fixed automatically.&nbsp; But of course sometimes Managed Availability won&rsquo;t be able to fix on its own.&nbsp; In those cases, Managed Availability will escalate the issue to an administrator by means of event logging, and perhaps alerting if System Center Operations Manager is used with Exchange 2013. When an administrator needs to get involved and investigate the issue, they can begin by using the </span><a href="https://technet.microsoft.com/en-us/library/jj218724(v=exchg.150).aspx" target="_blank"><strong><span style="font-size:medium;">Get-HealthReport</span></strong></a><span style="font-family:Calibri;font-size:medium;"> and </span><a href="https://technet.microsoft.com/en-us/library/jj218703(v=exchg.150).aspx" target="_blank"><strong><span style="font-size:medium;">Get-ServerHealth</span></strong></a><span style="font-family:Calibri;font-size:medium;"> cmdlets.</span></p>
<p></p>
<p><span style="font-family:Calibri;font-size:medium;">I recently encountered an issue in Exchange 2013 Sp1 wherein server health and health report was showing &ldquo;unknown&rdquo; and all the server components state are showing &ldquo;inactive&rdquo;. Though health manager service was up and running it was still not able to pull the server health report. </span></p>
<p><span style="font-family:Calibri;font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/39/2308.1.PNG" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-39/2308.1.PNG"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/39/2308.1.PNG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-39/2308.1.PNG" border="0" /></a><br /></span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/39/2766.2.PNG" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-39/2766.2.PNG"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/39/2766.2.PNG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-39/2766.2.PNG" border="0" /></a><br /></span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/39/0310.3.PNG" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-39/0310.3.PNG"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/39/0310.3.PNG" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-39/0310.3.PNG" border="0" /></a><br /></span></p>
<p><span style="font-family:Calibri;font-size:medium;">The moment I try to bring the server component in active state it throws the Watson error</span></p>
<p></p>
<p><span style="font-family:Calibri;font-size:medium;">[PS] C:\Windows\system32&gt;Set-ServerComponentState -State active &ndash;component ServerWideOffline &ndash;requestor functional </span></p>
<p><span style="font-family:Calibri;font-size:medium;">cmdlet Set-ServerComponentState at command pipeline position 1</span></p>
<p><span style="font-family:Calibri;font-size:medium;">Supply values for the following parameters:</span></p>
<p><span style="font-family:Calibri;font-size:medium;">Component: ServerWideOffline</span></p>
<p><span style="font-family:Calibri;font-size:medium;">Requester: <span style="font-family:Calibri;font-size:medium;">functional </span></span></p>
<p><strong><span style="font-family:Calibri;font-size:medium;background-color:#ffffff;">WARNING: An unexpected error has occurred and a Watson dump is being generated: Object reference not set to an instance </span><span style="font-family:Calibri;font-size:medium;">of an object.</span></strong></p>
<p><span style="font-family:Calibri;font-size:medium;">Object reference not set to an instance of an object.</span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;&nbsp;&nbsp; + CategoryInfo&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : NotSpecified: (:) [Set-ServerComponentState], NullReferenceException</span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;&nbsp;&nbsp; + FullyQualifiedErrorId : System.NullReferenceException,Microsoft.Exchange.Management.SystemConfigurationTasks.Set</span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;&nbsp; ServerComponentState</span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;&nbsp;&nbsp; + PSComputerName&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : HEM-E2013-01.extatic.net </span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;"><span style="font-size:medium;">While troubleshooting this problem found out that due to some reason&nbsp;Exchange 2013 SP1 setup previously failed while performing the action &quot;BuildToBuildUpgrade&quot; because of that health manager service was not able to pull the reports and were showing as unknown. </span></span></p>
<p></p>
<p><span style="font-family:Calibri;font-size:medium;">We checked the regedit and found watermark key and Buildtobuildupgrade key </span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span><span style="font-family:Calibri;font-size:medium;">We took backup of&nbsp; registry and deleted watermark key and&nbsp; Buildtobuildupgrade key from MBX and HUB transport role</span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;">-- Ran command <strong>setup /prepareAD /IAcceptExchangeServerLicenseTerms</strong></span></p>
<p><span style="font-family:Calibri;font-size:medium;">-- We then started <strong>setup /m:upgrade /IAcceptExchangeServerLicenseTerms</strong></span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;">Upgrade completed successfully, post which search health report was showing healthy and all the server components where showing active. Hope the above post may help many Exchange folks facing the similar problem. </span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;">Cheers<br /></span></p>
<p><span style="font-family:Calibri;font-size:medium;">-Anil <br /></span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p></p>]]></content:encoded>
    </item>
    <item>
      <title>Reseed fails with the error 'The connection to the specified remote host was refused'</title>
      <link>https://docs.microsoft.com/archive/blogs/anya/reseed-fails-with-the-error-the-connection-to-the-specified-remote-host-was-refused</link>
      <pubDate>Mon, 18 Aug 2014 09:23:00 GMT</pubDate>
      <dc:creator><![CDATA[Aniyadav]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/anya/2014/08/18/reseed-fails-with-the-error-the-connection-to-the-specified-remote-host-was-refused/</guid>
      <description><![CDATA[&nbsp;
Cause
Before initiating the reseed process source server will try to establish a connection...]]></description>
      <content:encoded><![CDATA[<h3 style="margin:1em 0in;"><span style="color:black;font-size:medium;">&nbsp;</span></h3>
<h3 style="margin:1em 0in;"><strong><span style="color:black;font-size:medium;">Cause</span></strong></h3>
<p style="margin:0in 0in 0pt;"><span style="color:black;font-size:medium;">Before initiating the reseed process source server will try to establish a connection to the remote powershell&nbsp;HTTP protocol using WS-Management </span></p>
<h3 style="margin:1em 0in;"><strong><span style="color:black;font-size:medium;">Resolution</span></strong></h3>
<p><span style="color:black;font-size:medium;">Remove the winhttp proxy</span></p>
<p><span style="color:black;font-size:medium;">Command to see if there is a proxy: <strong>netsh winhttp show proxy</strong></span></p>
<p><span style="color:black;font-size:medium;">Command to remove the proxy: <strong>netsh winhttp reset proxy</strong></span></p>
<p><strong><span style="color:black;font-size:medium;">&nbsp;</span></strong></p>
<h3 style="margin:1em 0in;"><strong><span style="color:black;font-size:medium;">More Information</span></strong></h3>
<p style="margin:0in 0in 0pt;"><span style="font-size:medium;">Before<span style="color:black;"> initiating the reseed process source server will&nbsp;try to establish a connection to the remote host on HTTP protocol using WS-Management, which was failing because all the Http traffic was going through the proxy server. </span></span></p>
<h2 style="margin:0.83em 0in;"><span style="font-size:medium;">Windows PowerShell Remote Commands</span></h2>
<p><span style="color:black;font-size:medium;background-color:#ffffff;">Host applications can use a <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/system.management.automation.powershell(v=vs.85).aspx"><span style="color:#0000ff;background-color:#ffffff;">PowerShell</span></a> object to run commands that use <span style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;">WS-Management&ndash;based Windows PowerShell remoting to create a temporary or persistent connection to the remote computer. This includes establishing an interactive session with a single remote computer.</span></span></p>
<p><span style="color:black;font-size:medium;background-color:#ffffff;">PowerShell remoting uses the HTTP protocol, it is affected by HTTP proxy settings. In enterprises that have proxy servers, users cannot access a Windows PowerShell remote computer directly.</span></p>
<p><span style="font-size:medium;background-color:#ffffff;"><b><span style="color:black;">Update-MailboxDatabaseCopy -Identity &quot;EDB15\DAGMember&quot; -DeleteExistingFiles</span></b></span></p>
<p><span style="color:black;font-size:medium;"><span style="background-color:#ffffff;">&ldquo;Processing data from remote server failed with the following error message: <b><span style="background-position:0% 0%;background-image:none;background-attachment:scroll;background-repeat:repeat;">The connection to the specified remote host was refused. Verify that the WS-Management service is running on the remote host and configured to listen for requests&nbsp; on the correct port and HTTP URL</span></b>.</span> For more information, see the about_Remote_Troubleshooting Help topic.&nbsp;&nbsp;&nbsp; + CategoryInfo&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; : OperationStopped: (System.Manageme...pressionSyncJob:PSInvokeExpressionSyncJob) [], PSRe&nbsp;&nbsp; motingTransportException&nbsp;&nbsp;&nbsp; + FullyQualifiedErrorId : JobFailure&rdquo;</span><span style="color:black;font-size:medium;"><br /></span></p>
<p><span style="color:black;font-size:medium;">&nbsp;</span></p>
<p><span style="color:black;font-size:medium;"><a href="https://support.microsoft.com/kb/2027064"><span style="color:#0000ff;">https://support.microsoft.com/kb/2027064</span></a></span></p>
<p></p>
<p><span style="color:black;font-size:medium;"><a href="https://technet.microsoft.com/en-us/library/hh847850.aspx"><span style="color:#0000ff;">https://technet.microsoft.com/en-us/library/hh847850.aspx</span></a></span></p>
<p><span style="color:black;font-size:medium;"><span style="color:#0000ff;">&nbsp;</span></span></p>
<p><span style="color:black;font-size:medium;"><span style="color:#0000ff;"><span style="color:#003300;"><em>- Anil</em></span><br /></span></span></p>
<p></p>]]></content:encoded>
    </item>
    <item>
      <title>Move to Archive action doesn’t work with Retention Policy Tag (RPT) Tag</title>
      <link>https://docs.microsoft.com/archive/blogs/anya/move-to-archive-action-doesnt-work-with-retention-policy-tag-rpt-tag</link>
      <pubDate>Wed, 28 May 2014 17:23:00 GMT</pubDate>
      <dc:creator><![CDATA[Aniyadav]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/anya/2014/05/28/move-to-archive-action-doesnt-work-with-retention-policy-tag-rpt-tag/</guid>
      <description><![CDATA[When you enable a retention tag, you must specify a retention age for the tag. This age indicates...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family:arial,helvetica,sans-serif;">When you enable a retention tag, you must specify a retention age for the tag. This age indicates the number of days to retain a message after it arrives in the user&#39;s mailbox.</span></p>
<p><span style="font-family:arial,helvetica,sans-serif;">When creating or configuring an RPT, you can select one of the following actions such as &#39;Delete and Allow recovery&#39;, &#39;Permanently delete&#39;, &#39;Mark as Past Retention Limit&#39;&nbsp;and &#39;Move to Archive&#39;&nbsp;&nbsp;to specify what retention action should be taken when a mailbox item reaches its retention age:</span></p>
<p><span style="font-family:arial,helvetica,sans-serif;"><b>Move to Archive</b>&nbsp;&nbsp;&nbsp;This action moves a message to the user&#39;s archive mailbox. Tags that have this action applied are known as <i>archive tags</i>. Messages are moved to a folder in the archive mailbox that has the same name as the source folder in the user&#39;s primary mailbox. This allows users to easily locate messages in their archive mailbox. <span style="background-color:#00ff00;">The <b>Move to Archive</b> action is available only for DPTs and personal tags</span>. <span style="background-color:#ffff00;">You can&#39;t create an RPT with the <b>Move to Archive</b> action</span>. If the mailbox user doesn&#39;t have an archive mailbox, no action is taken.</span></p>
<p><span style="font-family:arial,helvetica,sans-serif;">RPT tag only works with &#39;Delete and Allow recovery&#39; &amp;&nbsp;&#39;Permanently delete&#39; unless we are creating RPT for &#39;Recoverable Items&#39; folder. &#39;Recoverable Items&#39; is a hidden folder in the Non-IPM sub-tree. It contains the Deletions, Versions, Purges, and Audits sub-folders. Retention tags for this folder move items from the Recoverable Items folder in the user&#39;s primary mailbox to the Recoverable Items folder in the user&#39;s archive mailbox. You can assign only the <strong>Move To Archive</strong> retention action to tags for this folder.<br /></span></p>
<p><span style="font-family:arial,helvetica,sans-serif;">If we try to create a Retention Policy tag with folder type &lsquo;Inbox&rsquo; or any other default folders with &lsquo;<strong>Move To Archive</strong>&rsquo; action. It won&rsquo;t work and it is expected to fail.</span></p>
<p><span style="font-family:arial,helvetica,sans-serif;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/39/1.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-39/1.png"><img width="551" height="56" style="width:559px;height:82px;" alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/39/1.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-39/1.png" border="0" /></a></span></p>
<p></p>
<p><span style="font-family:arial,helvetica,sans-serif;">But once the RPT is created with any other action like &lsquo;Delete and Allow Recovery&rdquo; or &ldquo;Permanently delete&rdquo;, then we can later modify the retention action with &lsquo;<b>Move to Archive&rsquo;</b> action as mentioned in the below screenshots.</span></p>
<p><span style="font-family:arial,helvetica,sans-serif;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/39/2.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-39/2.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/39/2.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-39/2.png" border="0" /></a></span></p>
<p></p>
<p><span style="font-family:arial,helvetica,sans-serif;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/39/3.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-39/3.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/39/3.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-39/3.png" border="0" /></a></span></p>
<p><span style="font-family:arial,helvetica,sans-serif;">&nbsp;</span></p>
<p><span style="font-family:arial,helvetica,sans-serif;">Though we could be able to set the &lsquo;Move to Archive&rsquo; action on created RPT tag, but it won&rsquo;t work since &lsquo;move to archive&rsquo; action with RPT tag is not recommended, such misconfiguration of RPT tag may lead to other issues like archive database growth and archive mailbox dumpster bloating issues.</span></p>
<p></p>
<p><span style="font-family:arial,helvetica,sans-serif;">- Anil</span></p>
<p></p>]]></content:encoded>
    </item>
    <item>
      <title>While creating the new distribution group in EAC, organizational unit option is grayed out</title>
      <link>https://docs.microsoft.com/archive/blogs/anya/while-creating-the-new-distribution-group-in-eac-organizational-unit-option-is-grayed-out</link>
      <pubDate>Tue, 20 May 2014 18:14:00 GMT</pubDate>
      <dc:creator><![CDATA[Aniyadav]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/anya/2014/05/20/while-creating-the-new-distribution-group-in-eac-organizational-unit-option-is-grayed-out/</guid>
      <description><![CDATA[RBAC does not define permissions on the object; instead it defines permissions on the PowerShell...]]></description>
      <content:encoded><![CDATA[<p><span style="font-family:Calibri;font-size:medium;">RBAC does not define permissions on the object; instead it defines permissions on the PowerShell cmdlets that can modify the object. PowerShell cmdlets get added to a role and a user or group is assigned to the role. If the cmdlet and parameters you need are part of a role you participate in, then you will be able to run the cmdlet. Recently&nbsp;I came across to some know issues in EAC, even though you have correct permissions to run the commands still couple of options are not available to save the task. </span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;">Followed the below steps for assigning the permission to user &ldquo;E15-User1&rdquo; for creating distribution groups from EMS (Exchange management shell) and EAC (Exchange admin center)</span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;">Created a new child management role associated with &ldquo;Distribution Groups&rdquo; parent role</span></p>
<p><b><span style="font-family:Calibri;font-size:medium;">New-ManagementRole &ldquo;DistributionGroupManagement&rdquo; &ndash;Parent &ldquo;Distribution Groups&rdquo;</span></b></p>
<p><b><span style="font-family:Calibri;font-size:medium;">New-RoleGroup &ldquo;Manage Distribution Groups&rdquo; &ndash;Role &lsquo;DistributionGroupManagement&rsquo;&nbsp; -Member&nbsp; E15-User1</span></b></p>
<p><b><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></b></p>
<p><span style="font-family:Calibri;"><span style="font-size:medium;">If we login to EAC using &ldquo;E15-User1&rdquo; credential and then&nbsp; try to create a new distribution group, Organizational unit option is grayed out as can be seen in the print screen here. </span></span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/39/1.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-39/1.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/39/1.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-39/1.jpg" border="0" /></a></span></p>
<p></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;">We can see the Organizational Unit parameter is available in the newly created child role.</span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/39/2.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-39/2.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/39/2.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-39/2.jpg" border="0" /></a></span></p>
<p></p>
<p><span style="font-family:Calibri;font-size:medium;">We are able to create the new distribution groups using the Exchange management shell, but if we login to EAC using &ldquo;E15-User1&rdquo; credential and then an Organizational unit option is not available.</span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;"><span style="font-size:medium;">Thought of using another management role <b>&ldquo;Security Group Creation and Membership&rdquo; </b>for the same purpose&nbsp;<b>&nbsp;</b></span></span></p>
<p><span style="font-family:Calibri;"><span style="font-size:medium;"><b>&nbsp;</b></span></span></p>
<p><b><span style="font-family:Calibri;font-size:medium;">New-ManagementRole &ldquo;ManagementSecurityGroups&rdquo; &ndash;parent &ldquo;Security Group Creation and Membership&rdquo;</span></b></p>
<p><b><span style="font-family:Calibri;font-size:medium;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/39/3.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-39/3.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/39/3.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-39/3.jpg" border="0" /></a></span></b></p>
<p></p>
<p><b><span style="font-family:Calibri;font-size:medium;">Get-ManagementRoleEntry &ldquo;ManageSecurityGroups\*&rdquo;</span></b></p>
<p><span style="font-family:Calibri;"><span style="font-size:medium;">I can see the <b>New-DistributionGroup</b> command is inherited to <b>ManageSecurityGroups</b> from parent <b>&ldquo;Security Group Creation and Membership&rdquo;</b></span></span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/39/4.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-39/4.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/39/4.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-39/4.jpg" border="0" /></a></span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;">Organizational Unit parameter is available in newly created &lsquo;<b>ManageSecurityGroups&rsquo;</b> child role </span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/39/5.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-39/5.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/39/5.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-39/5.jpg" border="0" /></a></span></p>
<p></p>
<p><b><span style="font-family:Calibri;"><span style="font-size:medium;">Set-RoleGroup &ldquo;Manage Distribution Groups&rdquo; &ndash;Role &lsquo;ManageSecurityGroups </span></span></b></p>
<p><span style="font-family:Calibri;font-size:medium;">It still doesn&rsquo;t work from EAC, but I can create distribution group using the Exchange management shell.</span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p></p>
<p><b><span style="font-family:Calibri;font-size:medium;">Resolution:</span></b></p>
<p><span style="font-family:Calibri;font-size:medium;">For fixing the problem&nbsp; followed the below steps </span></p>
<p><span style="font-family:Calibri;font-size:medium;">The moment I add both the child roles &lsquo;<b>DistributionGroupManagement&rsquo;</b>&nbsp;&nbsp; and &lsquo;<b>ManageSecurityGroups&rsquo;</b> in the same role group &ldquo;<b>Manage Distribution Groups</b>&rdquo; organizational unit option is available in EAC.</span></p>
<p></p>
<p><span style="font-family:Calibri;"><span style="font-size:medium;"><b>Set-RoleGroup &ldquo;Manage Distribution Groups&rdquo; &ndash;Role &ldquo;ManageSecurityGroups&rdquo;,</b><b> &ldquo;DistributionGroupManagement&rdquo;</b></span></span></p>
<p></p>
<p><span style="font-family:Calibri;font-size:medium;">It seems that we have to duplicate the permissions to make it work from EAC (Exchange admin center)</span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/39/5.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-39/5.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/02/39/5.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-02-39/5.png" border="0" /></a></span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;">I have recently&nbsp;encounter this problem and It seems to be the known issue in E15 SP1. Till the time we have official fix for this issue, we can go with the workaround of duplicating the permissions.</span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p><span style="font-family:Calibri;font-size:medium;">- <em>Anil</em></span></p>
<p><span style="font-family:Calibri;font-size:medium;">&nbsp;</span></p>
<p></p>]]></content:encoded>
    </item>
  </channel>
</rss>