1. Give yourself the Exchange Administrator role in PIM
- Open Microsoft 365 admin center
- Show all - Exchange admin center
- Classic admin
2. Recipients > Shared
3. Mailboxes
4. Search for mailbox name/user, open mailbox
5. Mailbox features

6. Change retention policy to Shared Mailbox Retention

7. Enable Archiving (scroll down if you don't see it)
- Save out

If you get this error when you open back up it's fine, just hit OK
![ps c: Install-module ntrusted repository ou are installing the modules from an - Name Exchangeonlinemanagement -RequiredVersion 2.ø.5 untrusted repository. If you trust this repository, change its Installationpolicy value by running the Set-PSRepository cmdlet. Are you sure you want to install the modules from [Y] Yes CA] Yes to All [N] No [L] No to All [S] suspend Help (default is "N"): A ps](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/48268320587/original/zFRxKglnzod12aljhgJsUhlWfWeGXJrKWQ.png?1670520646)
8. Run Powershell as Administrator
9. Install-Module -Name ExchangeOnlineManagement -RequiredVersion 2.0.5
- Run this to start the archiving
Run the below commands as Admin

10. Run the following commands:
- Set-ExecutionPolicy Unrestricted
- Import-Module ExchangeOnlineManagement
- Close Powershell
Run PowerShell as a regular instance
11. Reopen PowerShell AS A REGULAR INSTANCE AND NOT ADMIN
12. Run the following command:
- Connect-ExchangeOnline
When it opens up the prompt, make sure that you're using admin account for the Civic login page, then it will prompt a DUO push
- Start-ManagedFolderAssistant -identity USER@civicfs.com
If the above command doesn't work, follow the steps below for Start-ManagedFolderAssitant
!['S C: Start-managedFoIderAssistant •ew update available! The call to P,siltcx Zssistsnts Service on server: -identity Paul.mcGann@civicfs.com Vou are using an older version of Exchange PowerSheII cmdlets which may be using (soon to be deprecated) Basic authentic ation. 'lease install version 2.ø.6 of the Exchangeonlinemanagement module to upgrade to the latest version of cmdlets, which a re REST based, more secure, reliant and performant than the remote PowerSheII cmdlets that you are currently using. For more information on the latest cmdlets released, visit: https://techcommunity.microsoft.com/t5/exchange-team-bIog/e change- online- powers hell - v2-moduI e- previ ew- now- more- secure/ ba- p/ 2922946 ro download the latest 2 .e. 6- Previews -214722e992 . + Categorylnfo version of the module, visit https://www.powershellgallery.com/packages/Exchangeonlinemanagement/ .outlooc.com' failed . Error from VC is . t:) :stsrt-msnsgetfoltergssistsnt], Tssexce;tion + FullyQuaIifiedErrorId . le:e7 PM] 82ES5SEe,microsoft . Exchange .msnsgement .SystemConfigurstionTssc s.StsrtEIcZssistsnt PSCom;uterNsme outlooc.office3S5.com C: Get-mailboxLocation -user paul.mcgann@civicfs.com I fl mailboxGuid 'la i I boxfu id . 68872785-2cb5-4eød-943e-314cd1295a73 nailboxLocationType . Primary 'la i I boxfu id 6811 eld4- 8e9f-4edø- d2fdd412+246 "ail boxLocationType . mainArchive , mail ionType 'S C: Start-managedFoIderAssistant 688727% -2cb5-4eød-943e-314cd1295a73](https://s3.amazonaws.com/cdn.freshdesk.com/data/helpdesk/attachments/production/48268320592/original/YnmZiMxVU2kNiChl54kyufCHnXb2ZiwBdg.png?1670520646)
If you get the error for "The call to mailbox assistants service on server failed" input the commands below:
- Get-MailboxLocation -user First.Last@civicfs.com | fl mailboxGuid ,mailboxLocationType
- Grab the GUID of the PRIMARY mailbox
- Start-ManagedFolderAssistant PrimaryMailboxGuid
Ex: Start-ManagedFolderAssistant 68872705-2cb5-4e0d-943e-314cd1295a73

14. After the above commands, open up the mailbox/user and check that the archiving is going through (You'll see like 16kb being used, this means it started)
- Usually starts archiving overnight