Set Full Control permissions on the Exchange Online user's mailbox

Source: Internet
Author: User

Part 1:

1. Connect to Exchange Online

$UserCredential = get-credential

$Session = New-pssession-configurationname Microsoft.exchange-connectionuri https://partner.outlook.cn/ Powershell-liveid/-credential $UserCredential-authentication basic-allowredirection

Import-pssession $Session

2. Settings for individual mailboxes

Example: Set Zhangsan to have full access to Zhouwu's mailbox

Add-mailboxpermission-identity "Zhouwu"-user zhangsan-accessrights fullaccess-inheritancetype All

650) this.width=650; "title=" clip_image002 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "border=" 0 "alt=" clip_ image002 "src=" http://s3.51cto.com/wyfs02/M01/8C/8B/wKiom1hvTO2wjoNmAAAyhZDHqHs470.jpg "height=" "/>"

3. Settings for all mailboxes

Get-mailbox-resultsize unlimited-filter{(recipienttypedetails-eq ' Usermailbox ')-and (Alias-ne ' Zhangsan ')} | Add-mailboxpermission-user zhangsan-accessrights Fullaccess-inheritancetype All

Part 2:

Remove Mailbox Permissions

Remove-mailboxpermission This command for the removal of the mailbox permissions of the command, you just have the original plus permission add-mailboxpermission into remove-mailboxpermission can remove the permissions;

Specific reference Links: https://technet.microsoft.com/en-us/library/bb125153 (v=exchg.160). aspx




Set Full Control permissions on the Exchange Online user's mailbox

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.