logo

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]
+1234567890

Support: 0208 1668 716 | Sales: 0330 1224 420

Follow Us:

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

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. Theresfore, 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.

get-executionpolicy

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.

Import-PSSession

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.

Get-MailBoxPermission

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

No Comments

Post a Comment