Skip Navigation LinksPolicy-Tags-EXO

Policy  Tags - customer wants to set his "Recovery Items "  for more than 14 days, this is how you do it

 

 

  1. First of all , You need to download the Microsoft Azure Active Directory PowerShell Module http://social.technet.microsoft.com/wiki/contents/articles/28552.microsoft-azure-active-directory-powershell-module-version-release-history.aspx>

     
  1. Once installed, open the PowerShell Service Module( as administrator) and execute the following commands to connect to the exchange service:

    - $LiveCred = Get-Credential

    - $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection

               - Import-PSSession $Session

     

          3. Enter the following command to check the retention policy tags within the company. ( Notes: They are all set to default)

                    Get-RetentionPolicyTag | fl Name,Type,AgeLimitForRetention,RetentionAction

     

    By Default shows like:

    Name                 : Recoverable Items 14 days move to archive

    Type                 : RecoverableItems

    AgeLimitForRetention : 14.00:00:00

     

     
  1. Change the "recovery items" policy to whatever the customer wants to as it's showed in this example:

    In this example, the customer wants to set his " recoverable items 14 move to archive" (default = 14 ) to 6 months ( 72 days)

    Set-RetentionPolicyTag "Recoverable Items 14 days move to archive" -AgeLimitForRetention 72

     

     

     

    To Force changes faster :

    Start-ManagedFolderAssistant -Identity <name of the mailbox>

     



     

    After modified to 72 days:

     

    Name                 : Recoverable Items 14 days move to archive

    Type                 : RecoverableItems

    AgeLimitForRetention : 72.00:00:00

    RetentionAction      : MoveToArchive