Enable Online Archiving via PowerShell for All Users
Follow the steps below to enable the Online archive for all users through PowerShell
Use cases: This is to enable the online email archive for all users and other functioning email accounts using a single command line using PowerShell.
Applies to: Exchange Online, Exchange Server 2013
Items stored in the archive mailbox don’t count toward the user’s mailbox storage quota. An archive mailbox has its own archive quota and archive warning quota. In Exchange 2013, the default archive quota is 50 GB and the archive warning quota is 45 GB. In Exchange Online, archive quotas depend on the subscription plan.
- Open Exchange
Online PowerShell:
First, connect to Exchange Online PowerShell using the
following commands:
#$UserCredential = Get-Credential
#Connect-ExchangeOnline -UserPrincipalName <admin_user_email>
-ShowProgress $true
- Enable
Archiving for All Users:
Use the following command to enable archiving for all
mailboxes:
#Get-Mailbox -Filter {ArchiveStatus -Eq "None"} |
Enable-Mailbox -Archive
This
will enable the archive mailbox for all users who do not currently have it
enabled.
- Check
Archiving Status:
- To verify
which users have archiving enabled, run the following command:
#Get-Mailbox | Select-Object DisplayName,ArchiveStatus - This will display a list of users and their archiving
status (Active means archiving is enabled).
- Close
PowerShell Session:
- Once you're done, close the PowerShell session using:
#Disconnect-ExchangeOnline
Manually enable Online Archive via Microsoft Exchange
admin center
Open the Exchange Admin Center (EAC)
- In the left-hand menu, scroll down to Admin centers.
- Click on Exchange to open the Exchange
Admin Center.
- Go to Recipients
- In the EAC, in the left navigation pane, click on Recipients.
- Under Recipients, click Mailboxes
- List of all the mailboxes in your organization.
- Select the Mailboxes
- Single User: To enable archiving for a single user,
click on the user’s mailbox to select it.
- Enable Archive Mailbox
- After selecting the mailbox or mailboxes, navigate to Others option in the right-hand pane, scroll down to the In-Place Archive section.
- Click on Enable next to In-Place Archive
- Verify
Archive Activation
- Once enabled, the process may take a few minutes to provision the archive mailbox.
- To verify:
- Go back to the Mailboxes
list.
- Click on a user's mailbox and look for the In-Place Archive section; it should now be marked
as Enabled.
EAC
Result
After successfully enabling the Email Archive
Related Articles
How to enable email forwarding in Microsoft 365 Exchange admin center
Email forwarding in MS 365 admin center Follow the below steps to enable email forwarding. Navigate to the below URL --> https://admin.exchange.microsoft.com Select the Recipients from left sidebar menu --> and navigate to Mailboxes --> Search the ...
How to Enable Remote Desktop on Windows Server
Launch the Start menu and open Server Manager. You can also type in Server Manager if it doesn’t simply show up on the Start window. It is important to note, however, that Server Manager automatically opens up when you log in to the GUI. Click on ...
HOW TO RESET THE USER PROFILE - Outlook error code 1200
These steps are followed when the user profile is corrupted or unable to do the same activity done in another profile. Error screen Follow the below steps to reset the profile Click Start, and then click Run --> Type regedit, and then click OK. In ...
SIP Phone call center - User Guide
Extension adding, Installation & Configuration based on the Ticket We are initiating all the calls from UAE. Int'l Calls (To call other countries):- Dial Phone number with Country Code (Ex: 91-9889888988) Local Calls (To call UAE itself):- Dial Phone ...
How to remove auto-suggestion email ID or auto-complete list in Outlook
Root cause analysis: Unwanted suggestion in Outlook mail Follow the below steps to remove the autosuggestions. Select File --> Options --> Mail --> Send Messages --> Click on Empty Auto-Complete List --> Close the outlook and Reopen --> Test again.