<?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>Vikas's Blog</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/vikass_blog/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/vikass_blog/feed.xml</link>
    <description />
    <lastBuildDate>Wed, 17 Apr 2019 03:48:34 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Why is MFA not moving archiving or deleting expired contents from the mailbox.?</title>
      <link>https://docs.microsoft.com/archive/blogs/vikass_blog/why-is-mfa-not-moving-archiving-or-deleting-expired-contents-from-the-mailbox</link>
      <pubDate>Fri, 12 May 2017 14:32:19 GMT</pubDate>
      <dc:creator><![CDATA[Wekas]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/vikass_blog/?p=645</guid>
      <description><![CDATA[When retention policy stops working, the common questions asked are;

• How do I know if retention...]]></description>
      <content:encoded><![CDATA[When retention policy stops working, the common questions asked are;

• How do I know if retention policy is processing my mailbox?

• How often does my mailbox is processed by retention policy ?

• Why is MFA not moving emails to archive or deleting expired contents from the mailbox.?

Before we discuss this in detail, let understand some basic concepts

<strong>Managed Folder Assistant (MFA).</strong> The Managed Folder Assistant is a process that runs on Mailbox servers and applies policies to mailboxes located on that server. The assistant processes items in those folders,Items for which retention is enabled are stamped with the retention age. The retention action specified in applicable on items that have reached their retention age. Managed Folder Assistant is a throttle-based assistant. Throttle-based assistants don't run on a schedule. Instead, they're configured to process all mailboxes on a Mailbox server within a certain period of time (known as a work cycle). Additionally, at a specified interval known as the work cycle checkpoint, the Managed Folder Assistant refreshes the list of mailboxes to be processed. During the refresh, the assistant adds newly created or moved mailboxes to the queue. It also reprioritizes existing mailboxes that haven't been processed successfully for a while due to failures and moves them higher in the queue so they can be processed during the same work cycle.

At times you may need to manually start the assistant during testing, troubleshooting, or to process mailboxes immediately. Below is the command to run MFA against the mailbox on demand.

<strong>Start-ManagedFolderAssistant JDoe@contoso.com</strong>

In Office 365 , the SLA for a mailbox to be processed by  MFA is 7 days , it means that service will makes sure that a given mailbox will be processed at least once within 7 days, normally the mailbox does get process at least once a day.

Below command can be used to identify when a given mailbox was processed by retention policy.

<strong>Export-MailboxDiagnosticLogs "mailbox" – ExtendedProperties</strong>

Above command provides some interesting information which is grouped together with an Elc* (email lifecycle) prefix. Above command processes the user’s primary mailbox. If you add the –Archive parameter, you’ll see data for their archive . The output is in XML format.

The output can be formatted in readable format.

PS C:\&gt; <strong>$ElcProps = Export-MailboxDiagnosticLogs JDoe -ExtendedProperties</strong>

PS C:\&gt; <strong>$xmlprops = [xml]($ElcProps.MailboxLog)</strong>

PS C:\&gt; <strong>$xmlprops.Properties.MailboxTable.Property | where {$_.Name -like "ELC*"}</strong>

<img width="696" height="445" class="alignnone size-full wp-image-585" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/08/11.jpg" />

Description of some of the parameters is as below ;

<strong>ElcLastRunTotalProcessingTime  :</strong>The total time (in milliseconds) that the Managed Folder Assistant spent processing the mailbox in its last run.

<strong>ElcLastRunSubAssistantProcessingTime :</strong>The total time (in milliseconds) that the ELCTagSubAssistant (the part of MFA that handles item tagging and expiration). Only time spent processing items in the IPM folder tree is calculated. Time spent processing items in the Recoverable Items folder structure (dumpster) is ignored.

<strong>ElcLastRunUpdatedFolderCount :</strong>The number of folders that were updated by MFA in its last run.

<strong>ElcLastRunTaggedFolderCount :</strong>The number of folders tagged (or untagged) by MFA in its last run.

<strong>ElcLastRunUpdatedItemCount :</strong>The number of individual items that were tagged (or untagged) by MFA in its last run.

<strong>ElcLastRunTaggedWithArchiveItemCount :</strong>The number of items that MFA updated with an archive tag in its last run.

<strong>ElcLastRunTaggedWithExpiryItemCount :</strong>The number of items that MFA updated with an expiry (delete) tag in its last run.

<strong>ElcLastRunDeletedFromRootItemCount :</strong>The number of items MFA deleted from the IPM folder tree in its last run.

<strong>ElcLastRynDeletedFromDumpsterItemCount :</strong>The number of items MFA deleted from the Recoverable Items folder structure in its last run.

<strong>ElcLastRunArchivedFromDumpsterItemCount :</strong>The number of items MFA moved from the Recoverable Items folder structure to the archive mailbox in its last run.

<strong>ElcLastRunArchivedFromRootItemCount :</strong>The number of items MFA moved from the IPM folder tree into the archive mailbox in its last run.

<strong> ElcLastRunSuccessTimeStamp :</strong>The last time MFA successfully finished processing a mailbox.

ElcLastRunSuccessTimeStamp provides the timestamp when the mailbox was successfully processed. While processing a mailbox, at times MFA may encounter errors or exceptions, when exception is encountered , it will log these exceptions, which is stored in mailbox and skip the mailbox from being processed for the current work cycle.

Exception logged while processing the mailbox can be found using below command ;

<strong>Export-MailboxdiagnosticLogs " mailbox" -ComponentName MRM</strong>

Exception will also contain a timestamp when the exception was logged. By default there are two recent instances of exception saved in the MRM.log.

Timestamp from ElcLastRunSuccessTimeStamp and timestamp in the two exceptions will help us to identify if the mailbox is processed successfully or skipped due to exception. Exception also provides us error logged while processing the mailbox.

Below are some of the common exceptions;

Below exception indicates that the mailbox hasn’t log any exception since its creation, in terms of being process my MFA.

<img width="699" height="107" class="alignnone wp-image-595" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/08/21.jpg" />

another common exception is as shown below

<strong> <img width="692" height="90" class="alignnone size-full wp-image-605" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/08/317.png" /></strong>

To understand the exceptions related to ‘Resource Unhealthy” we need to understand the concept of “Workload Management”

<strong>Workload Management</strong>

“Workload Management” was introduced first in Exchange 2013 for the purposes of managing workloads “based on the health of system resources”. Each Exchange workload consumes system resources like CPU, AD requests, mailbox database operations etc. to run the background work.

By design, Exchange 2013, adjusts the resource utilization and preserves user experience automatically through:
<ul>
 	<li>Intelligent prioritization of work</li>
 	<li>Resource monitoring</li>
 	<li>Traffic shaping. It monitors the health of the following key resources to determine when to throttle workloads</li>
 	<li>Throttling Exchange workloads are based on the health of key system resources which protects and manages the consumption of Exchange resources. Exchange workloads may include background services and asynchronous services such as the Microsoft Exchange Mailbox Replication service and the Microsoft Exchange Mailbox Assistance service. As the health of a system resource begins to degrade, the Exchange workloads that rely on that system resource are dynamically throttled to allow Exchange to continue efficient operation. This throttling, known as shaving the peaks, allows users to continue to use resources without experiencing any noticeable performance degradation. Similarly, when system resources are healthy, background workloads are allowed to speed up and fill the valleys in resource usage.</li>
</ul>
<ul>
 	<li>Local server CPU usage</li>
 	<li>Mailbox database Remote Procedure Call (RPC) latency</li>
 	<li>Mailbox database replication health</li>
 	<li>Context indexing age of last notification</li>
 	<li>Context indexing retry queue size Exchange workloads can be assigned one of the following classifications:</li>
 	<li>Each Exchange workload (ex: Calendar Synchronization Assistant workload), is assigned a classification and workload policy settings are used for the classification to control both priority and target resource usage.</li>
</ul>
<ul>
 	<li>Urgent</li>
 	<li>Customer Expectation</li>
 	<li>Internal Maintenance</li>
 	<li>Discretionary</li>
</ul>
For example , below exception is logged while processing a mailbox, it indicates that MFA encountered disk latency issues while processing the mailbox.

<img width="692" height="90" class="alignnone size-full wp-image-615" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/08/410.png" />

The exception also logs the resource which is unhealthy , using the database name logged in the exception we can easily identify whether the primary mailbox or archive mailbox is delayed from being processed.

In short, troubleshooting exceptions like unhealthy resource needs monitoring . There might be no immediate resolution.

Proactively if we have identify that the unhealthy resource is a disk and we have identified mailbox database from the exception. We can find whether the primary or archive mailbox is hosted on that database, we can always opt to move that mailbox to another database.

Above mentioned are some of exceptions that are commonly logged, there are different exceptions that can be logged for different resource or any issue with mailbox itself or even archive mailbox, which needs further investigation.

Gather MRM Data from Office 365 and / or On-Premises

<a href="https://gallery.technet.microsoft.com/Gather-MRM-Data-On-56f0de4c">https://gallery.technet.microsoft.com/Gather-MRM-Data-On-56f0de4c</a>

Hope this helps !!

Vikas

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Why does my Outlook OST resync when policy is changed ?</title>
      <link>https://docs.microsoft.com/archive/blogs/vikass_blog/why-does-my-outlook-ost-resync-when-policy-is-changed</link>
      <pubDate>Fri, 17 Feb 2017 06:03:44 GMT</pubDate>
      <dc:creator><![CDATA[Wekas]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/vikass_blog/?p=675</guid>
      <description><![CDATA[Every retention tag has a tag name, retention age and retention action ,each tag also has a unique...]]></description>
      <content:encoded><![CDATA[Every retention tag has a tag name, retention age and retention action ,each tag also has a unique GUIDs.

<strong>[PS] C:\&gt;Get-RetentionPolicyTag "Inbox-365days-Delete"|FT GUID,RetentionID</strong>

<strong>Guid </strong>                                                                                           <strong>RetentionId</strong>
----                                                                                               -----------
888cbf28-50b6-4f5c-8b88-3a382191faf4                         888cbf28-50b6-4f5c-8b88-3a382191faf4

When MFA processes emails and tags emails with tag and expiration information, it also populates the RetentionId of the tag in the PR_POLICY_TAG or PR_ARCHIVE_TAG property. When Outlook in cache mode sync the tagged email, the tag information is also synced in the OST.

For some reason if you change the policy on the mailbox which has new set of tags, MFA is going to re-evaluates all the emails in the mailbox again ,replace the RetentionId in  PR_POLICY_TAG or PR_ARCHIVE_TAG property and recalculate the expiration information. Because of this change on the emails properties, Outlook is going to resync these emails in the OST again.

Outlook performance might degrade until the complete OST sync is complete. User connecting remotely might get affected, due to OST sync and if the policy was changed for large number of users, we might see network bandwith getting consumed when large number of users are syncing their OST.

This is noticable if policy is changed on bulk users, Outlook users are accessing their mailbox remotely in cache,mailbox size is large and remote connectivity is poor.

<strong>What happens, when moving mailboxes to another forest or Office 365.?</strong>
Technet has published a script which exports retention tags from source Exchange organization to xml file and imports tags from the xml file to target Exchange organization.This process is pretty simple.

<a href="https://technet.microsoft.com/en-us/library/jj907307(v=exchg.150).aspx">Export and import retention tags</a>

When the script creates tags in target organization, these tags will have the same RetentionID  as the source. Thus OST syncing is avoided.

In on-premise the guid in GUID and RetentionID are the same, whereas they are different for tags created in Office 365.

Therefore when the script is used to import tags in the Office 365 ,the imported tag will have a unique GUID and the same RetentionID as on-premise.

You cannot change the GUID to match the RetentionId. It is not required, RetentionId is one which needs to same as on-premise.

<strong>On-premise tag information.</strong>

<img width="880" height="110" class="alignnone wp-image-685" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/08/n1.png" />

<strong>After importing the tags using the script.</strong>

<img width="816" height="141" class="alignnone wp-image-687" alt="" src="https://msdnshared.blob.core.windows.net/media/2017/08/n2.png" />

Above we see that the RetentionId remains the same for imported tag. Having the same RetentionId is the key to prevent OST from resyncing.

Hope this help!

&nbsp;

Vikas

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Prevent Notes, Calendar and Tasks from getting archived by using EWS script.</title>
      <link>https://docs.microsoft.com/archive/blogs/vikass_blog/prevent-notes-calendar-and-tasks-from-getting-archived-by-using-ews-script</link>
      <pubDate>Sat, 08 Aug 2015 07:30:24 GMT</pubDate>
      <dc:creator><![CDATA[Wekas]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/vikass_blog/?p=435</guid>
      <description><![CDATA[When you have a Default Policy tag (DPT) with move to archive in the policy, since by definition...]]></description>
      <content:encoded><![CDATA[When you have a Default Policy tag (DPT) with move to archive in the policy, since by definition DPT  process all the folders in the mailbox, it is going to process all the folder and archive any expired content in the mailbox. This is default behavior.

At times there could be a requirement to exclude some folder from being archived by DPT, Out of the box , there is no solution for this requirement. Most common perception to achieve this requirement is ;
<ul>
 	<li>To create a disabled tag so that it will prevent content from that folder from being archived.</li>
 	<li>To create a tag with higher retention age ,like 68 years (24855 days).</li>
</ul>
When you have a DPT with move to archive action , the above mentioned workarounds would not work.

Detailed explanation is documented in below blog ;

<a href="https://blogs.technet.microsoft.com/vikass_blog/2013/07/03/dpt-with-move-to-archive-action-takes-precedence-over-rpt/">DPT with move to archive action takes precedence over RPT.</a>

<a href="https://blogs.technet.microsoft.com/vikass_blog/2015/01/29/avoid-default-folders-from-being-processed-by-dpt/">Notes getting archived by Default Policy tag !!</a>

The only workaround available is to apply a disabled Personal tag with move to archive action to a folder, this tag will  prevent content from being archived. This personal tag should look as below;

<img width="300" height="270" class="alignnone size-medium wp-image-455" alt="dpt" src="https://msdnshared.blob.core.windows.net/media/2016/08/dpt1-300x270.png" />

Once the Personal tag is created , the end user is required to apply this Personal tag to the required folder using Outlook or OWA.

For example : If I want that the emails in the Inbox folder should not archived, I need to apply this personal tag using Outlook as shown below;

<img width="218" height="300" class="alignnone size-medium wp-image-535" alt="Inbox" src="https://msdnshared.blob.core.windows.net/media/2015/08/Inbox-218x300.png" />

You can use OWA also to apply this personal tag to Inbox folder.

&nbsp;

<strong>Default Notes, Calendar and Tasks folder.</strong>

For Notes folder, You can only use OWA to apply this personal tag, since on the Notes folder properties, the Policy tab is not available in Outlook

When it comes to default folders like Calendar and Tasks, we cannot use Outlook or even OWA to apply this personal tag.

In this case , the only workaround available is to use EWS script and apply the personal tag to Calendar and Tasks folder.

There are ready EWS scripts available publicly . I personally have been using below EWS script for Notes or Calendar or Tasks folder, and it does work perfectly fine.

The EWS script which can be used to apply a Personal tag to Calendar and Tasks folder is available in the below link;

<a href="https://blogs.msdn.microsoft.com/akashb/2012/12/07/stamping-archive-policy-tag-using-ews-managed-api-from-powershellexchange-2010/"><u><span style="color: #0000ff">Stamping Archive Policy Tag using EWS Managed API from PowerShell(Exchange 2010)</span></u></a>

Again the above script needs modifications. Incorrectly apply any script can damage the properties on the folder, so I would strongly recommend to test any script in your lab or test mailboxes before implementing it on Production mailboxes.

This blogs is intended to guide you to configure a sample EWS script to apply a disabled Personal tag to Calendar or Tasks or Notes folder ,inorder to prevent content from these folders from being archived.

<strong>Prerequisites:</strong>

# Before we make any modification to the script, we would first we need to download and install the EWS API from the below link.

Microsoft Exchange Web Services Managed API 2.0

<a href="https://www.microsoft.com/en-in/download/details.aspx?id=35371"><span style="color: #337ab7">https://www.microsoft.com/en-in/download/details.aspx?id=35371</span></a>

<strong>Note : </strong>You can download any version of EWS API. You just need to make a note of the installation directory as we need this path to be specified in the script.

# then we need create the disabled Personal tag with move to archive action as shown above. It should be noted that this personal tag created need to be added to the policy which is going to be applied to the users.

# Account used to execute the script needs to have the RBAC "Application Impersonation" right.

<strong>New-ManagementRoleAssignment "AssignmentName" -Role ApplicationImpersonation -User "username"</strong>

Note : Once the above permissions are assigned , recommend to close the powershell session and reopen a new powershell session to Office 365 for the changes to take effect.

# We need to connect the powershell to O365.

# Create a text file called "UserAccounts.txt" which has header "WindowsEmailAddress" and populated the WindowsEmailAddress of users against whom the script needs to be executed. Save this file to the same location where you would be saving the script.

<strong>WindowsEmailAddress</strong>

<strong>User1@Contoso.onmicrosoft.com</strong>

<strong>User2@Contoso.onmicrosoft.com</strong>

<strong>User3@Contoso.onmicrosoft.com</strong>

&nbsp;

Once above prerequisites are met, we need to download the EWS script which is in the text format, make the required modifications and then save this text files as ps1 format.

Download the below TagIt.txt file and edit this file in Notepad and make the modifications shown below.

<a href="https://msdnshared.blob.core.windows.net/media/2016/08/TagIt1.txt">TagIt</a>

1)) Make sure the C drive on the workstation has a TEMP folder, This is where the script will create a log file, this location can be changed in the script by changing the below parameter.

<strong>[string]$LogFile = "C:\Temp\Log.txt"</strong>

2)  Get the RetentionId of this Personal tag using below command.

<strong>Get-RetentionPolicyTag "TagName"| FT RetentionId</strong>

3)  Search for "Import-Module" section in the script and add the installation path of EWS API.

<strong>Import-Module -Name "C:\Program Files\Microsoft\Exchange\Web Services\2.0\Microsoft.Exchange.WebServices.dll"</strong>

4) Search for "Set the Credentials" section in the script and specify the credential of user running the script who has Application Impersonation right, this is in format "Username","Password","Domain.

<strong># Set the Credentials</strong>
<strong>$service.Credentials = new-object Microsoft.Exchange.WebServices.Data.WebCredentials("JohnDoe@Contoso.onmicrosoft.com","Password","Contoso.onmicrosoft.com")</strong>

5) Search for "$service.Url" section in the script and specify the EWS URL of Office 365. if you need to use this script for On-Premise mailbox, you need to specify your EWS URL accordingly.

<strong># Change the URL to point to your cas server</strong>
<strong>$service.Url= new-object Uri("https://outlook.office365.com/EWS/Exchange.asmx")</strong>

6) Search for the "Change the GUID based on your policy tag" section in the script and past the RetentionId of the Personal tag .

<strong>#Change the GUID based on your policy tag</strong>
<strong>  $ArchiveTagGUID = new-Object Guid("{ded867ea-bdf2-4f63-bfe1-a0e0171f181c}");</strong>

7)Search for "Change the name of the folder" section in the script and specify the folder name on which you want to apply the Personal tag.

<strong>#Change the name of the folder</strong>
<strong>$FolderName = "Notes";</strong>
<strong>$CreateFolderIfDoesNotExist = $false;</strong>

8) Once modification are saved to the txt file, rename the TagIt.txt to TagIt.ps1.

9) In the powershell,navigate to the folder where the TagIt.ps1 and UserAccounts.txt is copied and then execute the script.

<strong>.\TagIt</strong>

&nbsp;

Its quite possible that before apply the Personal tag to required folder, the Managed folder assistant might process the mailbox, thus archiving the content, it would be better to set the mailbox on "Retention hold" until personal tag is applied to the required folder.

<strong>Note :</strong> This behavior of DPT archiving the content for all the folder is a default behavior, incase your requirement is use EWS script and tag some folders to prevent from being archived, You can write you own EWS script or use any publicly available EWS script which suits your requirement.

Note:

Script needs to be tested on test mailboxes, before applying on production mailboxes. Incorrect formatting the script would cause properties on the folder to get corrupted.

Hope this helps !!

Vikas

&nbsp;

&nbsp;]]></content:encoded>
    </item>
    <item>
      <title>Notes getting archived by Default Policy tag !!</title>
      <link>https://docs.microsoft.com/archive/blogs/vikass_blog/avoid-default-folders-from-being-processed-by-dpt</link>
      <pubDate>Thu, 29 Jan 2015 07:30:13 GMT</pubDate>
      <dc:creator><![CDATA[Wekas]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/vikass_blog/2013/12/20/avoid-default-folders-from-being-processed-by-dpt/</guid>
      <description><![CDATA[Default Policy tag (DPT) by definition processes all the folders in the mailbox.
Default Policy tag...]]></description>
      <content:encoded><![CDATA[<p>Default Policy tag (DPT) by definition processes all the folders in the mailbox.</p>
<p>Default Policy tag and Personal tag can only have &quot;move to archive&quot; action.</p>
<p>If your requirement is to process all the folders in the mailbox,having DPT in the policy meets your requirement.</p>
<p>Incase you need to exclude a specific default folder to be excluded from being processed by DPT,we need to make some changes to your existing policy.</p>
<p>For example :</p>
<p>If the DPT in the policy has delete action and you need exclude the Notes folder from being processed,creating a disabled Retention policy tag (RPT) successfully meets our requirement.</p>
<p>Things work different if DPT has move to archive action.</p>
<p>DPT with move to archive action and having retention age less than RPT or PT in the policy will overwrite the RPT or PT. This is explained in the below blog post.</p>
<p>DPT with move to archive action takes precedence over RPT.<br />https://blogs.technet.com/b/vikass_blog/archive/2013/07/04/dpt-with-move-to-archive-action-takes-precedence-over-rpt.aspx</p>
<p>Consider you have a policy which has a DPT with move to archive action and retention age of 30 days. Your requirement is to exclude the Notes folder from being processed.</p>
<p>In this case,creating a disabled RPT for Notes is not going to help.DPT is still going to process the Notes Folder and any content in the Notes folder which is older than 30 days would be moved to Archive mailbox,this content will be moved to same folder &quot;Notes&quot; in the archive and on this Notes folder in the archive,the disabled RPT for Notes will be applied.</p>
<p>In order to exclude the Notes folder from being processed,we need to create a Personal tag with move to archive action and then disable this tag.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/Notes%20tag.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-44/Notes-tag.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/Notes%20tag.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-44/Notes-tag.png" border="0" alt=" " /></a></p>
<p>This disabled Personal tag has to be applied to Notes folder using OWA,since the Notes folder in Outlook does not give an option to apply this Personal tag.</p>
<p>Above mentioned information is not limited to only Notes folder,but to all default folders.</p>
<p>For folders like Calendar and Tasks folder,Outlook and OWA doesnt give an option to apply this disabled Personal tag,so we need to use the EWS script to apply this disabled Personal tag to folders like Calendar and Tasks folder.</p>
<p>To exclude any user created folder from being archived by DPT,we need to use the same disabled personal tag.</p>
<p>Vikas</p>
<p></p>
<p></p>]]></content:encoded>
    </item>
    <item>
      <title>Exchange 2010 : Retention policy information in Outlook and OWA</title>
      <link>https://docs.microsoft.com/archive/blogs/vikass_blog/exchange-2010-retention-policy-information-in-outlook-and-owa</link>
      <pubDate>Tue, 08 Jul 2014 08:33:16 GMT</pubDate>
      <dc:creator><![CDATA[Wekas]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/vikass_blog/2014/07/08/exchange-2010-retention-policy-information-in-outlook-and-owa/</guid>
      <description><![CDATA[When messages are process and tagged by Retention Policy.The tag information along with the expiry...]]></description>
      <content:encoded><![CDATA[<p><br />When messages are process and tagged by Retention Policy.The tag information along with the expiry date can be viewed in Outlook and OWA.</p>
<p>There are some minor differences in the way this information is displayed in Outlook and OWA.</p>
<p>For example,if we have a tag for Inbox ,depending upon the number of days the message is going to be expired,the tag information on a message would change a bit.</p>
<p>If the number of days remaining for the message to expire is more than 30 days,tag information on the message will be display as below ;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/Single.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-44/Single.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/Single.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-44/Single.png" border="0" /></a></p>
<p>above we see information like the name of the tag and the date when the message is going to expire.</p>
<p>But when the number of days remaining for the message to expire is less than 30 days,we would see additional retention information on the message.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/double.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-44/double.png"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/double.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-44/double.png" border="0" /></a></p>
<p>above we see additional information like the number of days remaining for the message to expire.</p>
<p>Hope this helps !</p>
<p>- Vikas</p>
<p></p>]]></content:encoded>
    </item>
    <item>
      <title>Voice Mails and Retention Policies</title>
      <link>https://docs.microsoft.com/archive/blogs/vikass_blog/voice-mails-and-retention-policies</link>
      <pubDate>Fri, 11 Apr 2014 13:59:18 GMT</pubDate>
      <dc:creator><![CDATA[Wekas]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/vikass_blog/2014/04/11/voice-mails-and-retention-policies/</guid>
      <description><![CDATA[In this post,we will discuss how Voice mail messages are processed with MRM 1.0 and MRM...]]></description>
      <content:encoded><![CDATA[<p>In this post,we will discuss how Voice mail messages are processed with MRM 1.0 and MRM 2.0.</p>
<p><strong>Managed Folders (MRM 1.0) </strong></p>
<p>When you create a Managed Content Setting for a folder with Message Class &quot;Email&quot;,</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/Emails.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-44/Emails.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/Emails.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-44/Emails.png" border="0" alt=" " /></a>&nbsp; &nbsp; &nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/Email%20Messageclass.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-44/Email-Messageclass.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/Email%20Messageclass.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-44/Email-Messageclass.png" border="0" alt=" " /></a></p>
<p>the messages class included are ;</p>
<p>IPM.Note;<br />IPM.Note.AS/400 Move Notification Form v1.0;<br />IPM.Note.Delayed;IPM.Note.Exchange.ActiveSync.Report;<br />IPM.Note.JournalReport.Msg;<br />IPM.Note.JournalReport.Tnef;<br /><span style="color:#ff0000;">IPM.Note.Microsoft.Missed.Voice;</span><br />IPM.Note.Rules.OofTemplate.Microsoft;<br />IPM.Note.Rules.ReplyTemplate.Microsoft;<br />IPM.Note.Secure.Sign;<br />IPM.Note.SMIME;<br />IPM.Note.SMIME.MultipartSigned;<br />IPM.Note.StorageQuotaWarning;<br />IPM.Note.StorageQuotaWarning.Warning;<br />IPM.Notification.Meeting.Forward;<br />IPM.Outlook.Recall;<br />IPM.Recall.Report.Success;<br />IPM.Schedule.Meeting.*;<br />REPORT.IPM.Note.NDR</p>
<p></p>
<p>When you create a Managed Content Setting for a folder for Message class &quot;Voice Mail&quot;.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/voice.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-44/voice.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/voice.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-44/voice.png" border="0" alt=" " /></a>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/voice%20class.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-44/voice-class.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/voice%20class.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-44/voice-class.png" border="0" alt=" " /></a></p>
<p>The message class included are ;</p>
<p>IPM.Note.Microsoft.Voicemail*</p>
<p>Note that there is Voicemail*&nbsp;(star) in the message class for voice mail.</p>
<p>Which means that we need Content setting for Voice Mail to process Voice Mail messages and Content Setting for Email to process the Missed Voice Mails. If we want to process both Voice Mail message and Missed Voice Mails ,we need to create two content setting for a given folder ,one with message class &quot;Email&quot; and other with message class &quot;Voice Mail&quot;.</p>
<p>MRM 1.0 allows us to create multiple content setting for a given folder provided that no two content setting for a given folder has the same message class.</p>
<p></p>
<p><strong>MRM 1.0 in mixed environment ie Exchange 2007 and Exchange 2010.</strong></p>
<p>MRM 1.0 and MRM 2.0 is available in Exchange 2010.<strong><br /></strong></p>
<p>If the managed Content Setting for&nbsp;&quot;Voice Mail&quot; &nbsp;is created in Exchange 2010,The message class shows only &#39;Voice Mail&quot; instead of IPM.Note.Microsoft.Voice Mail*&quot; but it DOES process Voice Mail messages.</p>
<p>Below is an example :</p>
<p>Content setting Voice1.0 is created in Exchange 2007 whereas Voice2.0 is created in Exchange 2010.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/contentMRM1.0MRM2.0.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-44/contentMRM1.0MRM2.0.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/contentMRM1.0MRM2.0.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-44/contentMRM1.0MRM2.0.png" border="0" alt=" " /></a></p>
<p></p>
<p>Now let see the changes in MRM 2.0 with respective to voice mails.</p>
<p>When I create a RPT for Inbox ,the message class that this tag processes is ;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/RPT4Inbox.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-44/RPT4Inbox.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/RPT4Inbox.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-44/RPT4Inbox.png" border="0" alt=" " /></a></p>
<p>Above we see that this tag will process all ( * )&nbsp;the message class including Voice Mails.</p>
<p>This might create problem if you just want to process only&nbsp;Voice Mails from Inbox,thou we can apply Personal tag to these Voice Mails,</p>
<p>To process Voice mails specifically from your mailbox, we can only create a Default Policy Tag (DPT).</p>
<p><strong>Create a Retention Tag</strong> :- <a href="https://technet.microsoft.com/en-us/library/ff625223(v=exchg.141).aspx">https://technet.microsoft.com/en-us/library/ff625223(v=exchg.141).aspx</a></p>
<p>DPT for Voice Mail will have the below message class;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/DPT4Voice.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-44/DPT4Voice.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/DPT4Voice.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-44/DPT4Voice.png" border="0" alt=" " /></a></p>
<p>Since its a DPT it is going to process all the folders in the mailbox and delete only the Voice Mails. Again this is only applicable if you have only DPT for voice mail in the policy.</p>
<p>If your policy also has RPT for Inbox &nbsp;along with DPT for Voice Mail as shown below ;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/bothdeleteandallow.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-44/bothdeleteandallow.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/bothdeleteandallow.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-44/bothdeleteandallow.png" border="0" alt=" " /></a></p>
<p>The DPT would process all the folders in the mailbox and only delete Voice mails except the Inbox folder as we already have a tag for Inbox,thus Voice Mails in Inbox would be tagged and &nbsp;processed by Inbox tag.</p>
<p>If our requirement is to process Voice Mails in the Inbox as well as emails in the Inbox.The only workaround would be to change the action as &quot;Move to Archive&quot; for Voice Mail DPT. Now my policy would be as below ;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/DPTarchive.png" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-44/DPTarchive.png"><img src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/DPTarchive.png" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-44/DPTarchive.png" border="0" alt=" " /></a></p>
<p>With above policy in place,the DPT since has action &quot;Move to Archive&quot; ,it would process all the folders in the mailbox ,including Inbox and move only the Voice Mails which are older than 14 days&nbsp;to Inbox folder in Archive and on the Inbox in the Archive where voice messages are moved will be processed by Inbox tag.</p>
<p>Note that for this to work the DPT with move to archive action needs to have lower retention age than RPT for Inbox. &nbsp;Refer &nbsp;<a href="/b/vikass_blog/archive/2013/07/04/retention-policy-on-archive-mailbox.aspx">Retention policy on Archive mailbox ?</a>&nbsp;&amp; &nbsp;<a href="/b/vikass_blog/archive/2013/07/04/dpt-with-move-to-archive-action-takes-precedence-over-rpt.aspx">DPT with move to archive action takes precedence over RPT</a></p>
<p></p>
<p>Hope this helps!!</p>
<p>Vikas</p>]]></content:encoded>
    </item>
    <item>
      <title>Items continue to process even after retention policy is removed.</title>
      <link>https://docs.microsoft.com/archive/blogs/vikass_blog/items-continue-to-process-even-after-retention-policy-is-removed</link>
      <pubDate>Mon, 17 Feb 2014 09:33:00 GMT</pubDate>
      <dc:creator><![CDATA[Wekas]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/vikass_blog/2014/02/17/items-continue-to-process-even-after-retention-policy-is-removed/</guid>
      <description><![CDATA[When an email is processed by retention tag,it does stamp couple of properties on the folders as...]]></description>
      <content:encoded><![CDATA[<p></p>
<p>When an email is processed by retention tag,it does stamp couple of properties on the folders as well as emails,some of the properties is PR_POLICY_TAG&nbsp; &amp; PR_RETENTION_PERIOD which contains the GUID of retention tag (These properties depend upon the type of tag and action set on the tag).</p>
<p>But when the policy is removed from the mailbox,the PR_POLICY_TAG and some of other properties are not removed,even thou messages in Outlook doesn&#39;t show they are tagged.</p>
<p>There have been cases where we do see that these emails continue to be processed by the Folder assistant after policy is removed.This behavior has been documented in the Technet.</p>
<p>When a retention tag is removed from the retention policy applied to a mailbox, the tag is no longer available to the user and can&#39;t be applied to items in the mailbox. <br />Existing items that have been stamped with that tag continue to be processed by the Managed Folder Assistant based on those settings and any retention action specified in the tag is applied to those messages. <br />However, if you delete the tag, the tag definition stored in Active Directory is removed. This causes the Managed Folder Assistant to process all items in a mailbox and restamp the ones that have the removed tag applied. Depending on the number of mailboxes and messages, this process may significantly consume resources on all Mailbox servers that contain mailboxes with retention policies that include the removed tag.<br />If a retention tag is removed from a retention policy, any existing mailbox items with the tag applied will continue to expire based on the tag&#39;s settings. To prevent the tag&#39;s settings from being applied to any items, you should delete the tag. Deleting a tag removes it from any retention policies in which it&#39;s included.</p>
<p><a href="https://technet.microsoft.com/en-us/library/dd297955(v=exchg.141).aspx">https://technet.microsoft.com/en-us/library/dd297955(v=exchg.141).aspx</a></p>
<p>In most cases deleting the tags as mentioned above might not be possible.If the policy is removed from a user and you are not planning to assign any other policy to this mailbox.We can either ;</p>
<p>1) Create a new policy with the disable Default Policy tag. OR</p>
<p>2) Put the mailbox on Retention hold.</p>
<p>Hope this helps.</p>
<p>Vikas</p>]]></content:encoded>
    </item>
    <item>
      <title>Misleading Disabled Tags behaviour</title>
      <link>https://docs.microsoft.com/archive/blogs/vikass_blog/misleading-disabled-tags-behaviour</link>
      <pubDate>Sun, 16 Feb 2014 12:25:00 GMT</pubDate>
      <dc:creator><![CDATA[Wekas]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/vikass_blog/2014/02/16/misleading-disabled-tags-behaviour/</guid>
      <description><![CDATA[Recently worked on case where disabled tag was applied to Inbox folder.

Emails in the Inbox when...]]></description>
      <content:encoded><![CDATA[<p>Recently worked on case where disabled tag was applied to Inbox folder.</p>
<p><span style="color:black;font-family:&#39;Segoe UI Symbol&#39;,&#39;sans-serif&#39;;font-size:10pt;"><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/Inbox%20tag.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-44/Inbox-tag.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/Inbox%20tag.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-44/Inbox-tag.jpg" border="0" /></a></span></p>
<p>Emails in the Inbox when checked from Outlook in online are showing as the message is&nbsp;expired today.</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/oUTLOOKMESAGE.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-44/oUTLOOKMESAGE.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/oUTLOOKMESAGE.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-44/oUTLOOKMESAGE.jpg" border="0" /></a></p>
<p>Email in OWA shows ;</p>
<p><a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/owa.jpg" original-url="https://blogs.technet.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-44/owa.jpg"><img alt=" " src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/owa.jpg" original-url="https://blogs.technet.com/resized-image.ashx/__size/550x0/__key/communityserver-blogs-components-weblogfiles/00-00-01-00-44/owa.jpg" border="0" /></a></p>
<p>Thou these messages are showing as expired,they wont be deleted. These messages are showing as expired because the way the expiration date is calculated.&nbsp;Retention date is calculated based on values of 2 properties. It is the sum of the message delivery time and the retention period (ie Never),&nbsp;since the tag is disabled,the retention period is set to 0,thus showing as the message is expiring today itself.</p>
<p>- Vikas</p>
<p></p>
<p></p>]]></content:encoded>
    </item>
    <item>
      <title>Retention tags on Deleted items folder.</title>
      <link>https://docs.microsoft.com/archive/blogs/vikass_blog/retention-tags-on-deleted-items-folder</link>
      <pubDate>Fri, 13 Dec 2013 12:08:00 GMT</pubDate>
      <dc:creator><![CDATA[Wekas]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/vikass_blog/2013/12/13/retention-tags-on-deleted-items-folder/</guid>
      <description><![CDATA[When Retention tag is applied to Deleted items folder.you would see a different behavior in which...]]></description>
      <content:encoded><![CDATA[<p>When Retention tag is applied to Deleted items folder.you would see a different behavior in which Retention tag procesess other folders and the Deleted Items folder.The retention age of mailbox items is calculated from the date of delivery,but when it comes to Deleted items folder,it works differently.</p>
<p>The retention age for items in the Deleted Items folder is calculated based on the date of delivery unless the item was moved or deleted from a folder that doesn't have an inherited or implicit retention tag.</p>
<p>The behaviour is explain in Technet article below;</p>
<p>How Retention Age is Calculated.<br /><a href="https://technet.microsoft.com/en-us/library/bb430780(v=exchg.141).aspx">https://technet.microsoft.com/en-us/library/bb430780(v=exchg.141).aspx</a></p>
<p><strong>Example 1 :</strong><br />&bull; A user receives a message in the Inbox folder on 01/26/2011. The Inbox folder has a retention tag configured to delete items in 365 days.<br />1. The Managed Folder Assistant processes the message. It stamps the message with a start date of 01/26/2011 and an expiration date of 01/26/2012.</p>
<p>2. The user soft-deletes the item on 02/27/2011.The item is moved to the Deleted Items folder, which has a retention tag configured to delete the item in 30 days.</p>
<p>3. The Managed Folder Assistant processes the message. It recalculates the expiration date based on the start date (01/26/2011).</p>
<p>4. Because the item is older than 30 days, it is deleted immediately.</p>
<p><strong>Example 2:</strong><br />&bull; A user receives an item in the Inbox folder on 01/26/2011. The Inbox folder doesn't have a retention tag applied, and the retention policy doesn't contain a default policy tag.<br />1. The user soft-deletes the item on 02/27/2011. The item is moved to the Deleted Items folder, which has a retention tag configured to delete items in 30 days.</p>
<p>2. The Managed Folder Assistant processes the mailbox on 03/27/2011, and determines that the item doesn't have a start date. It stamps the current date as the start date and 04/27/2011 as the expiration date.</p>
<p>3. The item is deleted on 04/27/2011, which is 30 days after it was deleted or moved to the Deleted Items folder.</p>
<p>In above Example 2,when the message is soft-deleted on 02/26/2011,the message is moved to Deleted Items folder,in &nbsp;above example we see that Folder assistant process the mailbox on 03/27/2011.The question can raise is why is assistant is&nbsp;processing the message after one month&nbsp;.<br />This is just an example to show the Deleted Items behaviour,Ideally the message in the Deleted Item folder or any message in that matter would be processed quite faster,this depends on the ManagedFolderWorkCycle and ManagedFolderWorkCycle checkpoint.</p>
<p>Because of the Deleted Items folder processing behaviours,commonly faced issues are;</p>
<p>1) Outlook in cache mode shows the message is already expired,but Retention policy is not deleting this expired message or moving it to archive. This is because Outlook in cached mode pulls the Policy Tag information for the folder and then does the calculation for expiration itself. But if you see the same message in OWA,you would find that the message is not<br />yet expired. This usually happens with items in Deleted Items folder,because the way the Deleted Items folder is processed.</p>
<p>2) Another common issue is, where Retention policy is implemented because users have lot of items in Deleted Items folder and administrator is implementing Retention policies on Deleted Items for the first time.Therefore when the Deleted Items folder is processed for the first time,items are stamped with a Start date which is&nbsp;date when message was first processed,thus messages in the Deleted Items are going to be deleted after a delay.</p>
<p>For example,users have 1 year old emails tag on the Deleted Items folder When MFA processes items in deleted Items folder for the first time,it would not see a start date on these items so it will stamp a start date as today<br />and expiry date would be the date when message was first processed&nbsp;plus 1 year.</p>
<p>&nbsp;</p>
<p>-Vikas</p>]]></content:encoded>
    </item>
    <item>
      <title>Different ways in which Personal tag can be published.</title>
      <link>https://docs.microsoft.com/archive/blogs/vikass_blog/different-ways-in-which-personal-tag-can-be-published</link>
      <pubDate>Thu, 12 Dec 2013 11:40:00 GMT</pubDate>
      <dc:creator><![CDATA[Wekas]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/vikass_blog/2013/12/12/different-ways-in-which-personal-tag-can-be-published/</guid>
      <description><![CDATA[Below are different ways in which Personal tags can be made available to users.

1) Adding...]]></description>
      <content:encoded><![CDATA[Below are different ways in which Personal tags can be made available to users.

1) <strong>Adding Personal tag in the policy.</strong>

Personal tag can be made available by adding the tag in the policy and then applying the policy to the mailbox. This personal tag will be available to all user who have the same policy applied.

<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/4162.pic1.png"><img alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/4162.pic1.png" border="0" /></a>

2) <strong>Assigning Opt-in Personal tag</strong>

Administrator can assign an Opt-in personal tag to a specific user,this personal tag assigned will be available to that user even thou there is no personal tag in the policy.

Assigning a Opt-in personal tag to user.

Administrator assigned a personal tag "1 Year Delete" to user JohnD using below command.

<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/8741.pic2.png"><img alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/8741.pic2.png" border="0" /></a>

"1 Year Delete" personal tag will be available to user JohnD,without adding this tag in the policy.

<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/0310.pic3.png"><img width="307" height="199" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/0310.pic3.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/01/00/44/5327.pic4.png"><img width="296" height="85" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/5327.pic4.png" border="0" /></a>

<strong># Assigning RBAC role "MyRetentionPolicies" to user.</strong>

When RBAC role "MyRetentionPolicies" is assigned to user JohnD.

<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/4118.pic5.png"><img width="581" height="65" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/4118.pic5.png" border="0" /></a>

He can use ECP and assign any personal tag available on the server to his mailbox.These Personal tags selected are not added in the policy.

<a href="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/8780.pic6.png"><img width="292" height="190" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/8780.pic6.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/01/00/44/7317.pic4.png"><img width="312" height="100" alt="" src="https://msdnshared.blob.core.windows.net/media/TNBlogsFS/prod.evol.blogs.technet.com/CommunityServer.Blogs.Components.WeblogFiles/00/00/01/00/44/7317.pic4.png" border="0" /></a>

&nbsp;

3) <strong>Inheriting Personal tag to subfolders and finding the inherited tag information.</strong>

Personal tag can be applied to a root folder which get inherited to the subfolders.

For example; when we apply a personal tag to a root folder say Folders, the personal tag get inherited to FolderA and FolderB.

<img width="201" height="74" class="alignnone size-full wp-image-555" alt="folders" src="https://msdnshared.blob.core.windows.net/media/2013/12/Folders.png" />

Thou the properties of FolderA and FolderB doesn't show the inherited tag information, when checked from Outlook or OWA. The only way to find the inherited personal tag is using MFCMAPI for properties like PR_POLICY_TAG or PR_ARCHIVE_TAG on the subfolder , another way to find the inherited tag on the subfolders is through Exchange Shell.

<strong>Get-MailboxFolderStatistics vikas |FT Name,DeletePolicy,ArchivePolicy</strong>

<img width="432" height="49" class="alignnone  wp-image-567" alt="policy" src="https://msdnshared.blob.core.windows.net/media/2013/12/Policy-300x34.png" />

DeletePolicy will show the name of personal tag with delete action applies to the specific folder and ArchivePolicy will show the personal tag with archive action.

Removing the Personal tag from the parent folder removes the inherited tag from the subfolders, therefore its important that you set the mailbox on Retention hold when you make any changes to avoid messages from subfolder to get deleted or archive due to change in the parent folder tag information.

In order to block personal tag applied to parent folder from inheriting to subfolders, the only way is to apply a different personal tag to subfolder or apply a disabled tag to subfolder as per your requirement.

Hope this helps.

Vikas

&nbsp;]]></content:encoded>
    </item>
  </channel>
</rss>