Article ID: 2685435 - View products that this article applies to.
Expand all | Collapse all

INTRODUCTION

This article describes how to use Windows PowerShell to grant an admin access to all user mailboxes in a Microsoft Office 365 organization through Microsoft Outlook and Outlook Web App.

PROCEDURE

To grant an admin full access to all user mailboxes in Office 365 through Outlook and Outlook Web App, follow these steps:
  1. Connect to Exchange Online by using remote PowerShell. For info about how to do this, go to the following Microsoft website:
    Connect to Exchange Online Using Remote PowerShell
  2. Type the following command, and then press Enter:
    Get-Mailbox -ResultSize unlimited -Filter {(RecipientTypeDetails -eq 'UserMailbox') -and (Alias -ne 'Admin')} | Add-MailboxPermission -User AdministratorAccount@contoso.com -AccessRights fullaccess -InheritanceType all

REFERENCES

For more info about Exchange Online PowerShell, go to the following Microsoft website:
Exchange Online PowerShell
For more info about the Get-Mailbox and Add-MailboxPermission Windows PowerShell cmdlets, go to the following Microsoft websites:
Still need help? Go to the Office 365 Community website.

Properties

Article ID: 2685435 - Last Review: July 9, 2014 - Revision: 11.0
Applies to
  • Microsoft Exchange Online
Keywords: 
o365 o365a o365e o365m o365022013 o365p KB2685435

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com