Grant full mailbox access to a single mailbox(BPOS)

 

SYMPTOMS

This article will guide you through how to grant  full mailbox access to a single mailbox.

 

 

RESOLUTION

 

To obtain the Microsoft Online Services Migration Tools, visit the following websites:

32-bit: http://www.microsoft.com/downloads/en/details.aspx?familyid=9ed5f4c1-7f0b-4506-a214-32093af6147a&displaylang=en

64-bit: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=5547634C-5E49-4DBD-B6B0-457B38A75F33

 

 

To grant full mailbox access to a single BPOS-S mailbox by using the Microsoft Online Services Migration Tools, follow these steps:

 

a. Click "Start", point to "All Programs", point to "Microsoft Online Services", point to "Migration", and then click "Migration Command Shell".

b. At the PowerShell prompt, type the following command, and then press ENTER:

 

Add-MSOnlineMailPermission -Identity UserName1@DomainName -TrustedUser UserName2@DomainName -GrantFullAccess $True -Credential (Get-Credential) -Verbose

 

Note: The user who is specified in the "TrustedUser" parameter will be given full mailbox access to the mailbox that is specified in the "Identity" parameter.

 

2. Grant full mailbox access for a list of users

To grant full mailbox access for a list of users, follow these steps:

 

a. Create a CSV file that is named Users.csv. The CSV file must have two column headers that are named "Identity" and "TrustedUser". The user who is specified in the TrustedUser column will be given full mailbox access to the mailbox that is specified in the Identity column. One sample as below which contains the first line "column headers" and two following lines for granting the user: admin@ domain FULL Access permission to the mailboxes user1@domain and user2@domain.

 

Identity,TrustedUser

user1@domain,admin@ domain

user2@domain,admin@ domain

 

b. Start Notepad, and then copy and paste the following PowerShell script code to Notepad.

 

#-------------------------------------------------------------------------------

#

# Copyright (c) Microsoft Corporation. All rights reserved.

#

# PLEASE NOTE:

# Microsoft Corporation (or based on where you live, one of its affiliates)

# licenses this supplement to you. You may use it with each validly licensed

# copy of Microsoft Online Services Migration Tools software (the “software”).

# You may not use the supplement if you do not have a license for the software.

# The license terms for the software apply to your use of this supplement.

# Microsoft may provide support services for the supplement as described at

# http://www.support.microsoft.com/common/international.aspx.

#

#-------------------------------------------------------------------------------

 

$users = Import-Csv -Path "users.csv"

If (!$tcred) {$tcred = Get-Credential "MSOL Admin Cred"}

$users | ForEach-Object {

$Identity = $_.Identity

$TrustedUser = $_.TrustedUser

Add-MSOnlineMailPermission -Identity $Identity -TrustedUser $TrustedUser -GrantFullAccess $True -Credential $tcred -Verbose

}

 

c. Save the file as "AddMSOnlineMailPermission.ps1" (without double quotation mark)

d. Click "Start", point to "All Programs", point to "Microsoft Online Services", point to "Migration", and then click "Migration Command Shell".

e. At the PowerShell prompt, move to the folder that contains the script you saved in step 3.

f. Type .\AddMSOnlineMailPermission.ps1, and then press ENTER.

 

 

 

MORE INFORMATION

http://www.microsoft.com/online/help/en-us/helphowto/d79cdfc0-7f81-4b98-a9f2-1a43481d6a06.htm

http://www.microsoft.com/online/help/en-us/helphowto/f83a224b-53c5-48b4-8e72-327571c4555e.htm 

 

APPLY TO

  • Microsoft Business Productivity Online Standard
    Suite
  • Microsoft  office exchange online