[jedi/old/i-menu.htm]
3TGKB-0067

Last Edited :

31-01-07

Revision :

 1.0


How to enable or disable MAPI access to multiple users from an OU in Exchange 2007!


 

To use the Exchange Management Shell to enable and disable MAPI for a mailbox user

Run the following command to enable MAPI for the user John:
Set-CASMailbox -Identity John -MAPIEnabled $true

Run the following command to disable MAPI for the user John:
Set-CASMailbox -Identity John -MAPIEnabled $false
 

This command will prevent users from the Marketing OU in adatum.com from using MAPI.

get-mailbox |where-object {$_.distinguishedname -ilike '*ou=marketing,dc=adatum,dc=com'} | set-CASMailbox -MAPIEnabled $false

 

How to Enable or Disable MAPI for a Mailbox User in Exchange 2007

This topic explains how to use the Exchange Management Console and the Exchange Management Shell to enable or disable Messaging Application Programming Interface (MAPI) for a Microsoft Exchange Server 2007 mailbox user.

Before You Begin
To perform the following procedures on a computer that has the Mailbox server role installed, you must log on by using a domain account that has the permissions assigned to the Exchange Recipient Administrators group. The account must also be a member of the local Administrators group on that computer.

Procedure
To use the Exchange Management Console to enable or disable MAPI for a mailbox user

  1. Start the Exchange Management Console.
  2. In the console tree, expand Recipient Configuration, and then click Mailbox.
  3. In the result pane, select the mailbox user for whom you want to enable or disable MAPI.
  4. In the action pane, under the mailbox user's name, click Properties.
  5. In <Mailbox User> Properties, on the Mailbox Features tab, click MAPI, and then click either Enable or Disable.
  6. Click OK.


 

Regards

Matt


KB Keywords:  MAPI, users, Exchange 2007, MSH, console, shell