Search
Enterprise

Microsoft Exchange Server 2010 : Managing Mailboxes (part 2) - Using the EMC to Assign a Mailbox

Published 7 min readBy Programming4us Editorial Team

1. Using the EMC to Assign a Mailbox

Let's start with a common task: assigning a mailbox to an existing user. You may also hear this process referred to as "mailbox-enabling" a user or simply creating a mailbox. In this example, there is a user in the ithicos.local Active Directory whose account is Bharat.Suneja. His unique location and distinguished name are as follows:

ithicos.local/Corporate/Bharat Suneja
CN=Bharat Suneja,OU=Corporate,DC=ithicos,DC=local

To assign this user a mailbox, you must use either the EMS or the EMC; remember that extensions for Active Directory Users and Computers from Exchange 2000/2003 do not work for Exchange 2010.


Launch the EMC and navigate to the Mailboxes subcontainer of the Recipient Configuration work center. From here, click the New Mailbox task in the Actions pane. This will launch the New Mailbox wizard. The first screen in this wizard (shown in Figure 2) introduces some entirely new concepts for administrators of previous versions of Exchange. This screen asks you to define what type of mailbox you are creating.

Figure 2. Defining the type of mailbox you want to create


You have four possible choices for mailbox types (see Table 1). For all of them, there must be a user account in the same Active Directory in which the Exchange servers are located.

Table 1. The Four Types of Exchange 2010 Mailboxes

Mailbox TypePurpose
User mailboxAssigns a mailbox to an existing user account in the same Active Directory forest in which the Exchange server is located. This is the most common type of mailbox that most administrators will create.
Room mailboxCreates a disabled user account and assigns a mailbox to that user. The ResourceType property of the mailbox is set to Room, the RecipientTypeDetails property is set to ConferenceRoomMailbox, and the IsResource property is set to True.
Equipment mailboxCreates a disabled user account and assigns a mailbox to that user. The ResourceType property of that mailbox is set to Equipment, the RecipientTypeDetails property is set to EquipmentMailbox, and the IsResource property is set to True.
Linked mailboxCreates a disabled user account, assigns it a mailbox, and prompts the administrator to provide a user account in a separate, trusted forest. The account in the other forest is considered the owner of this mailbox and has the Associated External Account permissions to the mailbox. This is used in organizations that install Exchange in a resource forest. If you are creating Linked mailboxes, the user account in your forest must remain disabled.

In this first example, you are creating a simple mailbox-enabled user account, so you would choose the User Mailbox radio button and then click the Next button.

On the next screen, you are asked whether you are creating a new user account or using an existing user account (Figure 3). Notice that you can create mailboxes for more than one user at a time.

Figure 3. User Type screen


Since we are going to use an existing user account, when we click the Add button, we are presented with the Select User dialog (Figure 4). Here, you can narrow down the scope of your search using the Search option. Note that only user accounts that are enabled and that do not already have a mailbox will show up in this list.

After you select from the Active Directory a user that does not already have a mailbox assigned to it, the Mailbox Settings page allows you to specify the user's Exchange alias, define the mailbox database on which the mailbox will be hosted (or allow Exchange to automatically select one for you), and specify the managed folder and the ActiveSync policies. Much of the information requested on the Mailbox Settings page (shown in Figure 5) will look familiar to Exchange 2000/2003 administrators. Note that the managed folder policy and the ActiveSync policy are optional; you can always add them later. Note that if you assign a managed folder policy to this mailbox you cannot assign an archive retention policy.

Figure 4. Select User dialog box


Figure 5. Assigning a mailbox database, managed folder policy, and ActiveSync policy



From the Mailbox Settings page, you specify the information shown in Table 2.

The next screen provides the configuration summary; part of the configuration summary wizard screen is shown in Figure 6. Here you can review the configuration of the mailbox you are creating or assigning.

When you are convinced that the parameters for the mailbox you are creating are correct, click the New button on the New Mailbox summary screen. The EMC then launches an EMS cmdlet that enables the mailbox in the Active Directory. If you have selected a managed folder mailbox policy, you will see a warning dialog that will remind you that clients prior to Outlook 2007 will not have all the features available and that clients older than Outlook 2003 SP2 are not supported (Figure 7).

Table 2. Mailbox Settings Page Options

OptionDescription
AliasThe alias is used to generate the default SMTP addresses as well as other internal Exchange functions, such as the legacy Exchange distinguished name. The alias defaults to be the same as the user account name, but it can be changed if you need it to conform to another standard.
Mailbox DatabaseThis browse list will consist of mailbox databases found in the organization.
Managed Folder Mailbox PolicyThe Managed Folder Mailbox Policy selection allows you to define which managed folder policy affects this particular mailbox. Once this has been assigned, the next time the messaging records management process is run, the managed folders specified by this policy will be created.
Exchange ActiveSync Mailbox PolicyThe Exchange ActiveSync mailbox policy defines the ActiveSync parameters for the user.

Figure 6. The configuration summary


Figure 7. Managed folder mailbox policy warning message


The last page of the wizard is the Completion page, which tells you if the operation was successful or not and shows you the EMS cmdlet and options that were used to perform the operation. Figure 8 shows part of the Completion page for the mailbox that was just created.

The Completion page also allows you to copy the output of the screen to the paste buffer so that you can then paste that output into a text editor. If you are just learning PowerShell and the EMS, this makes it simple to learn what cmdlets do and how to use them—which is helpful if you want to mailbox-enable user accounts using the EMS.

Figure 8. Successfully completing the assignment of a mailbox to an existing user