Freigeben über


RoadShow Follow-Up: New-RoleAssignmentPolicy

Last week I had the opportunity of visiting Brussels, Gent, and Mons to talk about the wonderful new features included within Exchange 2010. During this Exchange 2010 RoadShow, I’ve done several demo’s, and I always said that I would blog every Shell cmdlet I used, so this is part 1 :-)

In this blog post I want to show you how you can create a new Role-Assignment-Policy, which enables you to decide which attributes your mailbox-enabled users will be able to change using their Outlook Web App.

Introduction

Every mailbox-enabled user in Exchange 2010 will by default have the Default Role Assignment Policy assigned, which enables him/her to change quite a few attributes on his/her own account using Outlook Web App.

Let’s create a new mailbox-enables user, called Employee1, using the Exchange Management Shell. As can be seen after creation, this user has the Default Role Assignment Policy assigned.

SNAG-0063

Using Outlook Web App, this Default Role Assignment Policy, enables Employee1 to change for example his street address and his phone number, as can be seen in the pictures below:

SNAG-0066

SNAG-0067

 SNAG-0068

Having a look at the Default Role Assignment Policy

So what does this Default Role Assignment entail? Here we need to turn to the Exchange Management Shell to find out.

Running the cmdlet Get-ManagementRoleAssignment, we can find out which roles have been assigned to the Default Role Assignement Policy.

SNAG-0069

Looking at the role MyContactInformation, it’s clear that’s the role which enables the user to set its own user account and change attributes like Phone Number and Street Address.

SNAG-0070

Another search reveals that users who have been delegated administrator roles like UM Mailboxes, or Mail Recipients will be able to change settings for the user accounts as well (limited to any scope, like Organizational Unit and so on)

SNAG-0071

Creating a new role

Since I do not want to change any of the default built-in roles (don’t change the built-in roles, so you can always fall back if needed!), I’m creating a new one, and by adding the parameter –Parent, I create a new role MyEmployeesBasic, which is in fact a copy of the built-in role MyContactInformation.

SNAG-0072

Create a new RoleAssignment Policy

Using the Shell I create a new RoleAssignment Policy:

SNAG-0073

Followed by adding all needed roles to this new role-assignment policy, which will include the same ones as the default role assignment policy, except for the new MyEmployeesBasic, which will replace the MyContactInformation.

SNAG-0074

SNAG-0075

SNAG-0076

Change the Role Assignment Policy for a user

In order to change the role assignment policy for a user you can use both the Exchange Control Panel or use the Shell:

SNAG-0077

RemoveParameter

Since I don’t want some users to be able to change their Street Address, and Phone number, I need to remove those parameters from the newly created role MyEmployeesBasic:

SNAG-0078

Checking the change using OWA

Logging into OWA, Employee1 is no longer able to change its Street Address, and Phone number as wanted:-)

SNAG-0080

Until next post

-Ilse

Comments

  • Anonymous
    December 03, 2015
    The comment has been removed