Applies to: Exchange Server 2013

Topic Last Modified: 2012-10-11

Sharing policies are a part of federated sharing and enable user-established, people-to-people sharing of both calendar and contact information with different types of external users. After creating a sharing policy, you must assign the sharing policy to a user’s mailbox. By default, all users have the default sharing policy assigned to their mailboxes by Exchange 2013. A sharing policy can be applied to a single user mailbox or to multiple user mailboxes simultaneously.

To learn more about federated sharing, see Sharing.

What do you need to know before you begin?

  • Estimated time to complete: 5 minutes.

  • You need to be assigned permissions before you can perform this procedure or procedures. To see what permissions you need, see the Recipient Provisioning Permissions entry in the Recipients Permissions topic.

  • A sharing policy must exist. For details, see Create a Sharing Policy.

  • For information about keyboard shortcuts that may apply to the procedures in this topic, see Keyboard Shortcuts in the Exchange Admin Center.

What do you want to do?

Use the EAC to apply a sharing policy a single mailbox

  1. Navigate to Recipients > Mailboxes.

  2. In the list view, select the mailbox you want, and then click Edit Edit Icon.

  3. In User Mailbox, click Mailbox features.

  4. In the Sharing policy list, select the sharing policy you want to apply to this mailbox.

  5. Click Save to apply the sharing policy.

Use the EAC to apply a sharing policy a multiple mailboxes

  1. Navigate to Recipients > Mailboxes.

  2. In the list view, use the Ctrl key to select multiple mailboxes.

  3. In the details pane, the mailbox properties will be configured for bulk editing. Click More options.

  4. Under Sharing policy, click Update.

  5. In Bulk Assign Sharing Policy, use the Select the sharing policy list to select a sharing policy to assign to the mailboxes.

  6. Click Save to apply the sharing policy to the selected mailboxes.

Use the Shell to apply a sharing policy to one or more mailboxes

This example applies the sharing policy Contoso to a single mailbox for the user Barbara.

Copy Code
Set-Mailbox -Identity Barbara -SharingPolicy "Contoso"

This example specifies that all user mailboxes in the Marketing department use the sharing policy Contoso Marketing.

Copy Code
Get-Mailbox -Filter {Department -eq "Marketing"} | Set-Mailbox -SharingPolicy "Contoso Marketing"

This example returns all mailboxes that have the sharing policy Contoso applied, and it sorts the users into a table that displays only their aliases and email addresses.

Copy Code
Get-Mailbox -ResultSize unlimited | Where {$_.SharingPolicy -eq "Contoso" } | format-table Alias, EmailAddresses

For detailed syntax and parameter information, see Set-Mailbox and Get-Mailbox.

How do you know this worked?

To verify that you have successfully applied the sharing policy to a user mailbox, do one of the following:

  • In the EAC, navigate to Recipients > Mailboxes, and then select the mailbox to which you applied the sharing policy. Click Edit Edit Icon, click Mailbox features, and then confirm that the correct sharing policy appears in the Sharing policy list.

  • Run the following Shell command to verify the sharing policy was assigned to a user mailbox. Verify that the correct sharing policy is listed in the SharingPolicy parameter.

    Copy Code
    Get-Mailbox <user name> | format-list
Having problems? Ask for help in the Exchange forums. Visit the forums at: Exchange Server, Exchange Online, or Exchange Online Protection