Friday, May 18, 2012{ Blog} Login
Blog
  

Grant Mailbox Full Access in Office 365

Posted by: Michael Yereniuk on 12/11/2011

A quick post with the steps required to grant one user full mailbox access to another user in the Microsoft Office 365 Cloud. Contact Chickenlip if you're interested in trying out the Microsoft cloud.

Prerequisite: Install PowerShell 

Part 1 - Sign into the Cloud with PowerShell (Source)

Click Start > All Programs > Accessories > Windows PowerShell > Windows PowerShell.

Run the following command:
$LiveCred = Get-Credential

In the Windows PowerShell Credential Request window that opens, type the credentials of an account in your cloud-based organization. When you are finished, click OK.

Run the following command:
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic -AllowRedirection

Note The AllowRedirection parameter enables cloud-based organizations in datacenters all over the world to connect Windows PowerShell to the cloud-based service by using the same URL.

Run the following command:
Import-PSSession $Session

A progress indicator appears that shows the importing of commands used in the cloud-based service into the client-side session of your local computer. When this process is complete, you can run these commands.

Part 2 - Grant Full Mailbox Access (Source)

Run the following command:
Add-MailboxPermission -Identity <Mailbox ID 1> -User <Mailbox ID 2> -AccessRights FullAccess -InheritanceType All

  • <Mailbox ID 1> represents the mailbox that you want to grant rights to
  • <Mailbox ID 2> is the mailbox of the user who you want to grant Full Access rights

Part 3 - Disconnect from the Cloud

Run the following command:
Remove-PSSession $Session

 

Related Tricks (to be done once in Part 2)

Grant a user ownership of another mailbox:
Add-MailboxPermission -Identity <Mailbox ID 1> -Owner <Mailbox ID 2>

Verify Full Access Permissions of a mailbox
Get-MailboxPermission -Identity <Mailbox ID 1> | Select User, AccessRights, Deny

Grant a user Send As rights:
Add-RecipientPermission -Identity <Mailbox ID 1> -Trustee <Mailbox ID 2> -AccessRights SendAs

Verify Send As rights:
Get-RecipientPermission -Identity <Mailbox ID 1> | Select Trustee, AccessControlType, AccessRights

Create a trackback from your own site.

0 Comments

Leave A Comment



CAPTCHA image
Please enter the CAPTCHA phrase above.



Recent Comments
  
No Recent Comments Were Found

Contact Us

Chickenlip Consulting Corp.
202 - 11041 105 Ave
Edmonton, AB
T5H 3Y1

T: 780-456-6625

info@chickenlip.com
www.chickenlip.com

Categories
  
Tag Cloud
  
Archive
  
Bloggers