Apply retention tag to folder automatically
We are planning to migrate some mailboxes from Exchange 2007, which uses MRM 1.0, to Exchange 2010, which uses MRM 2.0 (Retention Tags and Policies).
Currently, with Exchange 2007/MRM 1.0 (Managed Folders), there is a "Retained Messages" folder that contains messages users want to keep.
Messages in this folder will *not* be deleted after 18 months (expiration date for messages *elsewhere* in the mailbox).
Good news is that even if we uncheck the Managed Folder Mailbox policy (in the mailbox properties), the "Retained Messages" folder remains (apparently as long as there are messages inside) and this "Retained Messages" folder
does migrate with the rest of the mailbox in test migrations to Exchange 2010.
The next part is the tricky part...
We intend to apply a Retention Policy to the migrated mailbox that currently has only one tag "Never Delete" (this is one of the built-in tags).
Before applying a default retention tag to the migrated mailboxes, we want to ensure that the "Never Delete" tag is applied to the migrated "Retained Messages" folder.
Of course, we could ask users to apply this tag and once it is applied, we could add a default tag to the policy that would delete messages after they attain a certain age (180 days, 18 months, whatever).
Is there a way we could apply this tag automatically, and avoid deletion of old messages, in case users forget to apply the "Never Delete" tag?
I saw this discussion...
https://social.technet.microsoft.com/Forums/exchange/en-US/97657e0c-c7f1-4c8e-bd7f-c7ecc9760e9c/push-a-folder-to-all-clients-apply-retention-tag-to-the-folder?forum=exchangesvrgenerallegacy
but am wondering if anything has developed since.
Please mark as helpful if you find my contribution useful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you.
Hi David,
According to your description, my understanding is that you want to make sure “Never Delete” tag is applied to all “Retained Message” folder in all mailbox. Then when the mailbox is applied with other Default Policy tag, this “Retained Message” folder would
not be effected. Is it right?
Please confirm if the “Never Delete” tag is a personal tag created in Exchange 2010. Based on my knowledge, if it is a personal tag, the user can apply it in Outlook or OWA client instead of server side.
Additionally, there is a blog indicates that we can using Exchange Web Services to Apply a Personal Tag to a Custom Folder. I am not sure whether it works. Just hope it would be helpful for you:
http://blogs.technet.com/b/exchange/archive/2013/05/20/using-exchange-web-services-to-apply-a-personal-tag-to-a-custom-folder.aspx
Migrate from Managed Folders
http://technet.microsoft.com/en-us/library/dd298032(v=exchg.141).aspx
Regards,
Winnie Liang
TechNet Community Support
Similar Messages
-
What personal retention tag is applied to folders
I am trying to use the code below to view the retention tags applied to folders in a given user's mailbox:
http://blogs.msdn.com/b/akashb/archive/2013/06/14/generating-a-report-which-folders-have-a-personal-tag-applied-to-it-using-ews-managed-api-from-powershell-exchange-2010.aspx
My environment:
2 x Exchange 2010 SP3 RU8v2 servers with CA, MB and HT roles. They are in a DAG.
1 x KEMP VLM-200 load balancer.
I downloaded and installed the EWS managed API:
http://www.microsoft.com/en-us/download/confirmation.aspx?id=35371
And I have seen what seems like every imaginable error message:
- The response received from the service didn't contain valid XML.
--> So I changed DNS so the URI in the script would connect directly to one of the two Exchange servers - and not the KEMP. Other solutions did not seem to work. This is a test env so I can "mess" with DNS.
- The request failed. The remote server returned an error: (403) Forbidden.
--> I think I solved this by adding https to the URI (the s in https was missing).
- The request failed. The remote server returned an error: (401) Unauthorized.
--> Not sure what I did here anymore (this has been taking me literally hours). But this error was replaced with the following:
- The account does not have permission to impersonate the requested user.
--> I was able to apparently solve this by granting a brand new user (not member of any admin groups with Deny permissions) the permissions described in this article:
https://msdn.microsoft.com/en-us/library/bb204095%28v=exchg.80%29.aspx
Even though that is for Exchange 2007 and I have 2010.
That seemed to work because that error messages no longer appears but... now this one appears again:
- The request failed. The remote server returned an error: (401) Unauthorized.
I've tried after granted the new user full permissions to the mailbox in question and without those permissions.
So in the end, I'm going in circles and I don't know how to make this work.
How can I see WHY the user is not authorized?
Does the user have to be a member of specific groups? I intentionally did NOT add them to any admin type groups because of what was stated in the MSDN article on impersonation (some admin groups have DENY permissions on user mailboxes).
Please mark as helpful if you find my contribution useful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you.These are the only lines of the code I have edited:
# Set the Credentials
$service.Credentials = new-object Microsoft.Exchange.WebServices.Data.WebCredentials("newuser1","Passwordabc123","mydomain.lan")
# Change the URL to point to your cas server
$service.Url= new-object Uri(https://mail.mydomain.net/EWS/Exchange.asmx)
I have also tried:
$service.Credentials = new-object Microsoft.Exchange.WebServices.Data.WebCredentials([email protected],"Passwordabc123")
Yes, I have mydomain.lan (original domain name) and mydomain.net (for email).
For better or worse, newuser1 is only a member of domain users (but currently has full access permissions to target mailbox).
Please mark as helpful if you find my contribution useful or as an answer if it does answer your question. That will encourage me - and others - to take time out to help you. -
Apply Retention Policy to All New Mailboxes
I have created a retention policy tag to “Delete and Allow Recovery” after 14 days of all items in the “Deleted Items” folder.
I then created a Retention Policy to apply the tag. I see using the EMS I can run a command “Get-Mailbox | Set-Mailbox –RetentionPolicy “Empty Trash” to apply to all existing mailboxes but how do I apply this to all new mailboxes as
well?
I see a posting at
http://www.proexchange.be/blogs/exchange2010/archive/2011/08/31/using-the-scripting-agent-to-automate-some-basic-housekeeping-tasks.aspx
that describes using the Scripting Agent to automate this processes but it seems overkill for my simple requirement. If I go this route does this need to be applied to each Exchange Server? Is this the only way or is there a simpler way to apply a recipient
policy to all existing and future mailboxes?
Pacerfan9Hi,
Any updates on this issue?
If anything is unclear, please feel free to let us know.
Thanks,
Evan Liu
TechNet Subscriber Support
in forum
If you have any feedback on our support, please contact
[email protected]
Evan Liu
TechNet Community Support -
Hi folks,
I wonder if anyone can help please. I have applied a retention tag to automatically move staff emails to the Archive mailbox after 12 months and this policy has been in place now for a couple of years.
The company now wish for me to apply some option retention tags for staff allowing them to choose to e.g. Archive after 2 years, 5 years etc...
My question is that if a user chooses a folder in their live mailbox and selects Archive after 5 years, does that apply to emails just in the live mailbox or will the messages move back from their Archive mailbox to their live mailbox until the chosen Archive
period expires?
I hope this makes sense.
Many thanks
DannyIf you have items in the archive, there is no automated process to move those back into the live mailbox. So if you archive everything older than 1 year now, and change the setting to 5 years, you will see nothing moved to or from this folder
for the next four years. -
Retention tags not working if mailbox has another language than english
Hi folks
I've created a retention tag (type: Inbox ) in exchange 2013 which deletes all mails older than 14 days. works perfectly for mailboxes with english standart folders, but if i apply the policy to an mailbox with german or french language, the emails
are not getting deleted. i think the problem is that the inbox folder is called "Posteingang" in the german mailboxes.
is there a workaround to use my retention tag for other languages as well?
Thanks!Hm, that sounded interesting enough for a test, but since I'm an O365 guy, I run the test against EO. Works OK even after I rename the folders, the only thing I did was to simply run the Start-ManagedFolderAssistant cmdlet to speed up the process.
EO is usually few versions ahead of on-prem, so either this has been fixed (and the fix is coming with CU7 or later), or we are simply missing something in your scenario. Have you verified that the policy is actually recognized as 14 days by the client,
for the non-English mailboxes? Double-check the tag and policy, and run the Start-ManagedFolderAssistant just in case. -
New retention tag in default MRM policy (question/recommendations)
Hi. I was asked by a user to setup a policy so that she could assign a policy that deletes any items older than 90 days. She'd like the ability to assign this action to any folder in Outlook, both default (inbox, sent, etc), and personal folders she's
created.
So, what I did was to create a new tag, and then added it to the default MRM policy. This is what the tag looks like:
My question is, is this the "correct" way of doing this? Should I have created a whole new policy with just the one tag in it? Also, will she be able to apply it to any folder in Outlook, including the default ones?
Thanks in advance!You've missed one 'catch':
Users can apply archive policies to default folders, user-created folders or subfolders, and individual items. Users can apply a retention policy to user-created folders or subfolders and individual items (including subfolders and items in a default
folder), but not to default folders.
http://technet.microsoft.com/en-us/library/dd297955(v=exchg.150).aspx#RT
Personal tag with Delete action will not work in this case, if she wants to apply it to all folders. -
Displaying assigned retention tag/policy in Outlook 2013 Inbox default vies
Hi,
I don't know if this is the right place to post this questions. If it is not please forgive me and direct me to the right forum. I know that I can check if the email message has a retention tag/policy applied if I open it in Inspector window. It is
listed under subject.
My problem is that I don't know the way how to display the retention tag/policy in the Inbox default view next to the the properties like: subject, from, received etc. So the users don't need to open the message to check if they applied the retention tag.
This way they can look at every message in the inbox and see which message has the retention tag missing. I assume I will have to employ some coding and I am OK with that.
Can I write a outlook add-in that will query for retention tag for each message and display it in the column along with other mapi properties? I need a advice example how to programmatically extract the PR_POLICY_TAG and convert it from binary to string.
Than I can change the default view xml to include this property I assume.
Any help is greatly appreciated.
Thanks,
GoranIf an item has been tagged for retention then they will be available you can see this using a Mapi editor like MFCmapi or OutlookSpy. The PolicyTag would only give you the GUID of the policy and you would have to pull the Name from the UserConfig item in
the mailbox which can be little more complicated. With CFG file's there is
http://www.slipstick.com/exchange/adding-extended-mapi-fields-to-outlook/#trouble that's about all that I know off. There is also an Outlook development group you can ask this in
http://social.msdn.microsoft.com/Forums/office/en-US/home?forum=outlookdev
Cheers
Glen -
Retention tags and archiving mailboxes
Im try to create personal retention policies to move archive mailbox, i successfull create with retention tag, but on outlook user is not appearing. Im using Outlook 2013 profesinal pluss with has license for all this features. Im try to move mailbox that
has 3 month all to archiving, and is not working neither. Some help needed.
Im doing all this on ecp on exchange 2013Hi,
Firstly, I'd like to recommend you refer to the following article to apply the retention policy again:
http://technet.microsoft.com/en-us/library/jj150573(v=exchg.150).aspx
If it still doesn't work, please check if there is any 9004 error in your event log.
Thanks,
Angela Shi
TechNet Community Support -
want to move all the sent, draft mails recieved on thunderbird to be sent to local folder automatically like global inbox . I tried to use filters, send filter addon but they didn't worked for me, even tried changing the account setting for "copies and folder" to set for moving sent mail or draft mail to sent to local folder but that also didn't work.
So is there a manual setting or an addon to work for it.Marked answered due to no alternative. Not resolved due to an IMAP limitation in the way that some "IMAP supporting" offerings don't actually support IMAP according to spec.
-
Is there a bug if FM9 when applying char tags in tables?
When I apply my Bold character tag to a word in a regular paragraph, what happens is what I expect should happen – Namely, Weight=Regular remains unchanged in the Pgf designer and Weight changes to Bold in the char designer (and no override asterisk at the bottom - please read on).
BUT, when I apply my Bold character tag to a word inside a table, Weight also changes to Bold in the Pgf designer, and an override asterisk appears at the bottom of the screen to the left of the Pgf tag displayed.
Is this a bug in FrameMaker, or am I incorrectly understanding how FM is supposed to work, or is there something messed up with my Bold tag? I believe it’s a bug, or at least an inconsistency – IMHO applying a tag to a word inside or outside a table should at least do the same behavior, shouldn't it?
Thanks for any insights!!!
-DaveDave,
If the only content in the paragraph is the word that you are applying the bold tag to or if you manage to include the end of paragraph mark (or end of flow mark in the table cell), then FM applies this property as an override to the entire paratag (as that's what you've effectively done).
To prevent this, make sure that some content in the paragraph (even a trailing space) is left without the character format being applied. -
[CS3][JS] Apply XML tag for selected text
Hi
I need to apply XML tag to selected text in a tagged content.The XML tag is already applied for paragraph.I need to apply XML Tag for selected text in a paragraph.
I have used following code, it applies tag for entire paragraph,not a selected text in a paragraph.
app.selection[0].associatedXMLElements[0].markupTag=myDoc.xmlTags.item("italic");
Please suggest me.
Regards
kumarThe example script, markup.jsx
//Markup.jsx
//An InDesign CS4 JavaScript
//Shows how to use the markup method.
main();
function main(){
mySetup();
mySnippet();
myTeardown();
function mySetup(){
var myDocument = app.documents.add();
var myPage = app.activeWindow.activePage;
var myRootXMLElement = myDocument.xmlElements.item(0);
var myXMLTag = myDocument.xmlTags.add("xml_element");
var myXMLElementA = myRootXMLElement.xmlElements.add(myXMLTag);
myXMLElementA.contents = "This is a paragraph in an XML story.";
var myTextFrame = myPage.textFrames.add({geometricBounds:myGetBounds(myDocument, myPage)});
myTextFrame.contents = "This is the first paragraph in a text frame.\rThis is the second paragraph in a text frame.\rThis is the third paragraph in a text frame.\rThis is the fourth paragraph in a text frame.\r";
function mySnippet(){
//<fragment>
var myDocument = app.documents.item(0);
var myPage = myDocument.pages.item(0);
myDocument.xmlElements.item(0).xmlElements.item(0).markup(myPage.textFrames.item(0));
//</fragment>
function myTeardown(){
function myGetBounds(myDocument, myPage){
var myPageWidth = myDocument.documentPreferences.pageWidth;
var myPageHeight = myDocument.documentPreferences.pageHeight
if(myPage.side == PageSideOptions.leftHand){
var myX2 = myPage.marginPreferences.left;
var myX1 = myPage.marginPreferences.right;
else{
var myX1 = myPage.marginPreferences.left;
var myX2 = myPage.marginPreferences.right;
var myY1 = myPage.marginPreferences.top;
var myX2 = myPageWidth - myX2;
var myY2 = myPageHeight - myPage.marginPreferences.bottom;
return [myY1, myX1, myY2, myX2];
I think you can use the markup function on the selected item (Text Object have a markup method)
Thomas B. Nielsen
http://www.lund-co.dk -
Keyboard shortcut to apply paragraph tag
I'm experienced with FrameMaker 8, but just starting to get used to FrameMaker 9. A keyboard shortcut I use constantly in FrameMaker 8 is Ctrl-9, type the first letter of the paragraph tag and hit Enter. If there is more than one tag starting with the same letter, I just keep hitting that letter until the tag I want appears. For example if there's a Heading1 and a Heading2, I type 'h' two times to get Heading2. With FrameMaker 9, it seems that I have to type the whole word 'Heading2' before hitting Enter.
Frustrating when favorite shortcuts are messed up. Is there any way to get my old shortcut back? Is there a fast way to apply paragraph tags in FrameMaker 9?jay fresno wrote:
I'm experienced with FrameMaker 8, but just starting to get used to FrameMaker 9. A keyboard shortcut I use constantly in FrameMaker 8 is Ctrl-9, type the first letter of the paragraph tag and hit Enter. If there is more than one tag starting with the same letter, I just keep hitting that letter until the tag I want appears. For example if there's a Heading1 and a Heading2, I type 'h' two times to get Heading2. With FrameMaker 9, it seems that I have to type the whole word 'Heading2' before hitting Enter.
Frustrating when favorite shortcuts are messed up. Is there any way to get my old shortcut back? Is there a fast way to apply paragraph tags in FrameMaker 9?
Type Down Arrow after selecting the first of similar format names. For example, Ctrl+9 H DnArrow moves to Heading2, or whatever is the second format that begins with "H".
Consider using format names that have fewer identical leading characters. For example:
1H Heading1
2H Heading2
1N Numbered1
N Numbered
Typing 1 brings up 1H Heading1; DnArrow moves to 1N Numbered1.
Some folks separate the abbreviation from the full name with an underscore instead of a space; i. e., 1H_Heading1, instead of 1H Heading1.
HTH
Regards,
Peter
Peter Gold
KnowHow ProServices -
I'm having trouble with the folder "Automatically add" function. She opens a folder "not added". My machine is a Vaio with Windows 7 home basic antivirus using Microsoft. Regards.
Its a 64 bits.
-
FM 9: Cannot apply conditional tags
I've been able to create conditional text tags, apply them, and see the conditional indicators fine in several documents using FM 9. Recently, in a new book, I'm unable to apply conditional tags. I believe I've figured out the new UI, since conditional tagging has worked before. I can create tags and configure them fine, but when I apply them to text, a table, graphic, etc. nothing happens; the text remains unconditional.
What specific version of FM, as shown in Help > About? What O/S and service pack level?
Does FM's built-in Comment condition work for you?
As a test, I'd suggest creating a small test file, create a new condition and apply it to some easily searchable text, e.g. "zzxy" or something, and also apply FM's built-in "Comment" condition to another piece of text, then saving the file as MIF. Then look at the MIF with a text editor, or the excellent freebie MIFBrowser,
http://www.wideman-one.com/gw/tech/framemaker/mifbrowse.htm
and search for the text. You should be able to see whether the condition(s) have been applied to the text correctly (or not), and also see how the conditions themselves are defined in the Condition Catalog entries.
Sheila -
Elements 12; Error Applying Keyword Tag(s)
Elements 12; Getting "Error Applying Keyword Tag(s)" when trying to add a photo to an album
Many threads about that error message:
http://forums.adobe.com/community/search.jspa?peopleEnabled=true&userID=&spotlight=false&c ontainerType=14&container=3347&rankBy=date&q=Error+Applying+Keyword+Tag%28s%29
For instance:
http://forums.adobe.com/message/5819207#5819207
Maybe you are looking for
-
How do I get at individual pictures in iphoto library?
Hi All, A few weeks ago I got so fed up of my laptop running so slow because i didnt have enough disk space, that I went out and bought a hard drive. So I started to use time machines, and made moved my whole iPhoto library to the hard drive, and del
-
The situation: I want to use basetext font, but some of the glyphs are missing in it, and are highlighted with pink boxes. common font [stix, etc.] have much more glyphs than basetext font. I can apply common font [stix, etc.]manually for each of the
-
How to slice object and stroke with knife tool?
I am trying to slice an object into 2 pieces using the knife tool. The problem is that both cut pieces retain a complete stroke outlining the object rather than a cut stroke. How do I slice the object in half and get the effect of cutting thru the st
-
Problem in Account assignment category in PR - URGENT
Dear all, I am creating PR having document type is NB(standard), but i am getting error message while checking it.which is "Account assignment mandatory for material 10194 (enter acc. ***. cat.)", Message no. ME062. I do n't want to make mandatory fo
-
Trying to connect my 2 wireless routers wirelessly (wrt54g2 to e2500)
Well I contacted cisco's technical support to ask them if they know how to do it but the respond with it cannot be done. I google searched before calling and found dozens of people saying it can be done but not saying thoroughly of how to do it. I di