Data Retention and Expiry

%3CLINGO-SUB%20id%3D%22lingo-sub-44173%22%20slang%3D%22en-US%22%3EData%20Retention%20and%20Expiry%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-44173%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3EHas%20anyone%20found%20or%20developed%20a%20solution%20for%20applying%20specific%20retention%20timescales%20to%20posts%20within%20Yammer%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EE.g.%26nbsp%3B%20Need%20to%20purge%20any%20%26amp%3B%20all%20data%20after%2012%20months.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3ESimon%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-44173%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EYammer%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-63641%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20Data%20Retention%20and%20Expiry%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-63641%22%20slang%3D%22en-US%22%3E%3CP%3EThis%20is%20essentially%20what%20we%20have%20done%20as%20well.%20Disappointing%20MS%20hasn't%20rolled%20Yammer%20into%20Compliance%20Center%20yet.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-45468%22%20slang%3D%22en-US%22%3ERe%3A%20Data%20Retention%20and%20Expiry%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-45468%22%20slang%3D%22en-US%22%3EDo%20you%20use%20an%20analytics%20package%20like%20TyGraph%3F%20Using%20PowerBI%20it%20would%20be%20easy%20to%20create%20a%20report%20then%20export%20it%20and%20use%20it%20as%20an%20input%20file%20for%20a%20powershell%20deletion%20script.%3CBR%20%2F%3E%3CBR%20%2F%3EHopefully%20this%20will%20improve%20when%20Yammer%20moves%20over%20to%20using%20the%20Exchange%20substrate%20as%20then%20we%20will%20hopefully%20get%20all%20of%20the%20Exchange%20ediscovery%20%2F%20compliance%20goodness.%20But%20that%20is%20a%20long%20way%20off.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-44205%22%20slang%3D%22en-US%22%3ERe%3A%20RE%3A%20Data%20Retention%20and%20Expiry%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-44205%22%20slang%3D%22en-US%22%3E%3CP%3EThanks%20Victor%20-%20Kinda%20assumed%20there%20wasn't%20going%20to%20be%20a%20better%20method.%26nbsp%3B%20I%20will%20have%20a%20lok.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%2C%3C%2FP%3E%3CP%3ESimon%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-44195%22%20slang%3D%22en-US%22%3ERE%3A%20Data%20Retention%20and%20Expiry%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-44195%22%20slang%3D%22en-US%22%3ENope%2C%20but%20I%20can%20think%20of%20a%20solution.%20Using%20powershell%2C%20use%20the%20export%20API%20daily%20to%20refresh%20your%20export%20of%20messages.%20Then%20write%20a%20script....%20Import-csv%2C%20then%20foreach-object....%20if%20date%20%26gt%3B%20360%2C%20then%20use%20the%20message%20delete%20api.%20Do%20the%20first%20time%20for%20all%20time%20messages...%20then%20change%20the%20export%20to%20increment%20after%20that%20one%20time.%20There's%20a%20caveat%20to%20that%20though%20-%20The%20parent%20message%20will%20always%20be%20the%20oldest%20and%20replies%20inside%20that%20may%20reflect%20newer%20dates.%20You%20can't%20delete%20a%20parent%20message%20without%20deleting%20every%20response.%3C%2FLINGO-BODY%3E
Occasional Contributor

Hi,

Has anyone found or developed a solution for applying specific retention timescales to posts within Yammer?

 

E.g.  Need to purge any & all data after 12 months.

 

Thanks,

Simon

4 Replies
Nope, but I can think of a solution. Using powershell, use the export API daily to refresh your export of messages. Then write a script.... Import-csv, then foreach-object.... if date > 360, then use the message delete api. Do the first time for all time messages... then change the export to increment after that one time. There's a caveat to that though - The parent message will always be the oldest and replies inside that may reflect newer dates. You can't delete a parent message without deleting every response.

Thanks Victor - Kinda assumed there wasn't going to be a better method.  I will have a lok.

 

Thanks,

Simon

Do you use an analytics package like TyGraph? Using PowerBI it would be easy to create a report then export it and use it as an input file for a powershell deletion script.

Hopefully this will improve when Yammer moves over to using the Exchange substrate as then we will hopefully get all of the Exchange ediscovery / compliance goodness. But that is a long way off.

This is essentially what we have done as well. Disappointing MS hasn't rolled Yammer into Compliance Center yet.