Select Sidearea

Populate the sidearea with useful widgets. It’s simple to add images, categories, latest post, social media icon links, tag clouds, and more.
[email protected]

Support: 0208 1668 716 | Sales: 0330 1224 420

Follow Us:

Recent Comments

    Setting Permissions for Office 365 using PowerShell to user another users Mailbox

    person typing with keyboard

    Setting Permissions for Office 365 using PowerShell to user another users Mailbox

    Hello there, my name is Ben and today I will talking you through how to set a user’s permissions on office 365 using PowerShell. I shall be talking you through the steps to configure the permissions of an office 365 user to view another users mailbox.

    To configure a user to view another users mailbox, follow these steps:

    1) This step will show you what your execution policy is on your computer. Depending on what execution policy you have will determine what scripts you can run. Therefore, it is important that you do this step before starting so that you are sure you can actually execute the scripts you’re about to use.




    2) This step verifies that you are an administrator and will get you all the users that the administrator (that you are logging in as) is in control of, which will allow you to change their settings.


    = Get-Credential

    3) This step will set the so that when you import it you will get all the scripts required from the outlook exchange server.

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

    4) This step imports and the scripts that you are about to use.


    5) This step will set the permissions. "-identity" will be the persons mailbox that you want the other user to view and "-user" will be the user who you are setting the permissions. "-AccessRights" will be what the other user can view. Giving them FullAccess (like what has been done in this script) will give the other user full access to the mailbox. Remember to change the and with the respective users email addresses.

    Add-MailboxPermission -Identity -User -AccessRights FullAccess -InheritanceType All

    6) This step is optional and not required, however it will confirm whether the permissions you've just added have been implemented.


    Thank you for reading this blog. I hope it has helped you with allowing an office 365 user to view another's mailbox.


    Have any other questions regarding how to set up things through PowerShell? Why not discuss this with IQ in IT? Contact us via our email or call us on 0330 1224 420 


    Questions: [email protected] 


    Here's our live calendar!  


    Additional information

    Getting started with Office 365 CLI and PowerShell – Microsoft 365 Developer Blog


    Continue reading:

    How to recover an Office 365 Mailbox Using Windows Powershell

    Transfer to another users mailbox on Office 365 & Exchange Server using PowerShell

    How to recover deleted emails and items using Windows PowerShell

    [hubspot portal=”25047923″ id=”fbd0c3f3-487c-4414-affa-dee147818244″ type=”form”]