HOW TO ENABLE ARCHIVING FOR ACCOUNT:

HOW TO ENABLE ARCHIVING FOR ACCOUNT:
 
Default value
 Active Directory Users & Computers:
 
Esteban Valdes Properties Published Certificates Member x Password Replication Object Security Environment Sessions Remote control &neral Address Account Remote Desktop Services Profile Attrib Attribute msExchRecipLimit ms ach Remote Recipient Type ms Exch TO SendT0 msExchResourceCapacåy msExchResourceDisplay msExchResourceGlJlD ms ach Resource Meta Data msExchResourcePropenies msExchResource&archProperties msExchRetentionComment msExchRetentionlJRL Profile Telephones C)rganization msExchRMSComputerAccountsLink msExchRoleGroupType ms ExchSafeRecipientsHash Edit Cancel COM+ Value <not set> <not set> enot set> <not set> <not set> Knot set> <not set> <not sets <not set> <not set> <not Set> <not set> <not set> epply Attribute Editor Help
 
 
Set value to 3
 
 
Esteban Valdes Properties Published Certificates Member x Password Replication Object Security Environment Sessions Remote control &neral Address Account Profile Telephones C)rganization Remote Desktop Services Profile Attriktes; Attribute msExchRecipLimit msExchRemote RecipientType ms ExchRequireAuthTOSendT0 msExchResourceCapacåy msExchResourceDisplay msExchResourceGlJlD ms ach Resource Meta Data msExchResourcePropenies msExchResource&archProperties msExchRetentionComment msExchRetentionlJRL msExchRMSComputerAccountsLink msExchRoleGroupType ms ExchSafeRecipientsHash Edit Cancel COM+ Value <not set> 3 <not set> enot set> <not set> <not set> Knot set> <not set> <not sets <not set> <not set> <not Set> <not set> <not set> epply Attribute Editor Help
 
Run a sync with Adconnect or wait until the next sync.
 
SETTING RETENTION POLICY FOR USER
 
Login to admin.exchange.microsoft.com
 
Choose the user and click the Mailbox Tab:
A screenshot of a mailboxDescription automatically generated
 
Click Manage mailbox policies and choose the following:
A black box policy with white textDescription automatically generated
 
MAKE SURE RETENTIONHOLD IS NOT ENABLED FOR THE USER
 
Open Powershell 7.1 version or higher as admin and connect to exchange online:
 
connect-exchangeonline
 
A screenshot of a computerDescription automatically generated
 
 
Get the status of the RetentionHold:
 
Get-Mailbox sbach@jnf.org | Select RetentionHoldEnabled

The below should be displayed.
 
RetentionHoldEnabled
--------------------
                True
  If False skip steps ( Set-Mailbox sbach@jnf.org -RetentionHoldEnabled $false)
 
Set the RetentionHold to false:
 
Set-Mailbox sbach@jnf.org -RetentionHoldEnabled $false
 
Tell O365 to speed up the processing of the Retention:
 
Start-ManagedFolderAssistant -Identity sbach@jnf.org -FullCrawl