Applies to: Office 365 for enterprises, Live@edu
Topic Last Modified: 2011-03-19
When you add a user to the Help Desk role group, that user can, among other things, troubleshoot the Outlook Web App settings for all mailboxes in your organization by accessing the users' Options page. For more information, see Troubleshoot Users' Outlook Web App Options.
However, what if this default behavior gives someone too much power? For example, what if you want to create a departmental help desk administrator who can troubleshoot users' Outlook Web App settings for the Engineering department only?
To create users with targeted administrative privileges, the first step is to create a custom write scope based on recipient filters, also known as a recipient filter scope. You create recipient filter scopes using Windows PowerShell. A recipient filter requires use of OPATH, the filtering syntax used by Windows PowerShell.
-
To learn how to install and configure Windows PowerShell and connect to the service, see Use Windows PowerShell in Exchange Online.
-
For detailed information about the recipient filter syntax, including the operators and filterable recipient properties, see Create Dynamic Distribution Groups Using Customized Filters.
Run the following command:
Example Here's a command that creates a recipient filter scope named "Washington Engineering" that specifies all mailboxes in Washington State whose departments start with "Engineer".
Run the following command:
New-ManagementScope -Name "Washington Engineering" -RecipientRestrictionFilter {(RecipientType -eq 'UserMailbox') -and (StateOrProvince -eq 'WA') -and (Department -like 'Engineer*')}
Note To list the mailboxes defined by this recipient filter scope, run the following command:
After you create the recipient filter scope, you need to associate the scope with a role assignment. A role assignment associates a management role to a role group, security group, or user. Assigning a role to a role group grants members of the role group permissions to use the Windows PowerShell cmdlets and parameters defined in the role. The write scope of the role assignment controls where the roles can be used.
To use the recipient filter scope you created in the previous step, you create a new role group, assign the roles to the role group, apply the recipient filter scope to the roles assigned to the role group, and add mailboxes to the role group. You can perform these actions when you create a new role group in the Exchange Control Panel.
Here's an example. You want to create limited help desk users who are allowed to view and change mailbox settings for users in Washington State who are in the Engineering department only.
Perform the following steps:
-
In the Exchange Control Panel, select Manage My Organization > Roles & Auditing > Administrator Roles, and click New.
-
Enter the following information in the New Role Group window:
- Name Enter a unique, descriptive name for the role group. For example, "User Options - Washington Engineering".
- Description Enter descriptive information about the role group. For example, "This role gives users the ability to modify the mailbox settings in the Options page for Engineers in Washington State only using the Washington Engineering recipient filter scope."
- Write scope Select the recipient filter scope you created, for example, "Washington Engineering".
- Roles Click Add. Select the administrator roles you want to assign to the role group. For example, select "User Options", click Add, and then click OK.
- Members Click Add. Select the users or groups you want to add, and click Add. Repeat this procedure for each user or group.
-
When you are finished, click OK, and then click Save.
- Name Enter a unique, descriptive name for the role group. For example, "User Options - Washington Engineering".
-
When you apply a write scope to the roles assigned to a role group in the Exchange Control Panel, the write scope is applied to all the roles that are assigned to the role group. If any of the following conditions are true, you can't view or change the write scope, or add roles or remove roles in the Exchange Control Panel:
-
An end-user role is assigned to the role group.
-
A role is assigned to the role group using a different write scope than the other roles.
-
Roles are assigned to the role group using exclusive write scopes. An exclusive write scope isolates specific mailboxes so they can be managed by designated administrators only. For more information, see Create Exclusive Write Scopes.
-
An end-user role is assigned to the role group.
