The Exchange Management Shell does not let you to set the
AutomateProcessing parameter to AutoAccept for a user's mailbox. If you try
to set the AutomateProcessing parameter to AutoAccept for a user's mailbox, the
EMS displays the following error:
AutoAccept can only
be enabled on resource mailboxes.
Therefore, theoretically, there
is supposed to be no way for a regular mailbox to access this configuration.
However, if you are using the same Outlook profile for both a user and a resource
mailbox, you can use the following process to allow a regular mailbox to access this configuration:
- Create an Outlook profile for a regular mailbox (User1) on
Exchange Server 2007.
- Start Outlook with this profile.
- Exit Outlook.
- Examine the local Outlook profile by using MFCMAPI. To do
this, follow these steps:
- Start MFCMAPI
- On the Profile menu click Show
Profiles
- Double-click the profile that you just created.
- On the Service Admin menu click
Call OpenProfileSection.
- Click OK
- Click OK in the dialog box that
appears that states "This is not an error..."
- In the bottom pane, scroll down the list of properties
and look for the 0x04570003 property.
Note You should not see this property if you are working with a new
profile. However, if you do see this property, the value for a user's mailbox
should be either 0 or 1. The following table is the profile property that
stores the setting that corresponds to the AutomateProcessing parameter for the mailbox. 0x04570003 value AutomateProcessing setting
----------------------------------------------------------------
0 none
1 AutoUpdate
2 AutoAccept (should only be 2 for resource mailboxes)
- Exit MFCMAPI.
- Examine the related property stored in the mailbox of
User1. To do this, follow these steps:
- Start MFCMAPI
- On the Session menu click
Logon and Display Store Table.
- Select the profile that you just created and then click
OK.
- Double-click the entry for Mailbox -
User1.
- Expand the tree until you see the
Calendar folder for the mailbox.
- Right-click the Calendar folder and select Open
Associated Contents Table.
- Locate and select the message that uses Message
Class = IPM.Configuration.Calendar.
- In the bottom pane, double-click the
PR_ROAMING_DICTIONARY property.
- In the Text pane of the
Property Editor, look for the following entry: <e k="18-AutomateProcessing
Note You should not see this property if you are working with a new
mailbox. However, if you do see this property, the value for a user's mailbox
should be either 0 or 1. The following table is the profile property that
stores the setting that corresponds to the AutomateProcessing parameter for the mailbox. PR_ROAMING_DICTIONARY value AutomateProcessing setting
---------------------------------------------------------------------------------
<e k="18-AutomateProcessing" v="9-0"/> none
<e k="18-AutomateProcessing" v="9-1"/> AutoUpdat
<e k="18-AutomateProcessing" v="9-2"/> AutoAccept (should only be 2 for resource mailboxes)
- Exit MFCMAPI
- Create an Exchange 2007 Resource mailbox (Room1)
- Configure the Resource mailbox to automatically process
meeting requests by using the following command:
Set-MailboxCalendarSettings Room1 -AutomateProcessing autoaccept
- In the Exchange Management Console, give User1 Full
Access permissions to the Room1 mailbox by clicking Manage
Full Access Permissions in the EMC.
- On the Outlook client, use the Mail
control panel to open the profile created in step 1.
- In the Account Settings dialog box, select
the Exchange account and then click Change.
- Change the User Name value to the name of the Resource
mailbox (Room1).
- Click Next and then click Close.
- Close any other open windows for the profile.
- Start Outlook with this profile.
- Enter the credentials for User1 (if you are prompted).
- Exit Outlook.
- Examine the Outlook profile that uses MFCMAPI. To do this.
follow these steps:
- Start MFCMAPI
- On the Profile menu click Show
Profiles
- Double-click the profile that you just created.
- On the Service Admin menu click
Call OpenProfileSection.
- Click OK in the
OpenProfileSection dialog box.
- Click OK in the dialog box that
appears and states "This is not an error..."
- In the bottom pane, scroll down the list of properties
and look for the 0x04570003 property.
Note The value of 0x04570003 is now set to 2. This is the value that is used
for resource mailboxes with AutomateProcessing set to AutoAccept.
- On the Outlook client, use the Mail
control panel to open the same profile that you used in the previous steps.
- In the Account Settings dialog box, select
the Exchange account and then click Change.
- Change the User Name value to the name of the user mailbox (User1).
- Click Next and then click
Close.
- Close any other open windows for the profile.
- Start Outlook with this profile.
- Examine the Outlook profile by using MFCMAPI. To do this.
follow these steps:
- Start MFCMAPI
- On the Profile menu click Show
Profiles
- Double-click the profile you just created.
- On the Service Admin menu click Call
OpenProfileSection.
- Click OK in the
OpenProfileSection dialog box.
- Click OK in the dialog box that
appears and states "This is not an error..."
- In the bottom pane, scroll down the list of properties
and look for the 0x04570003 property.
Note The value of 0x04570003 is still set to 2 even though this value
is used for resource mailboxes with AutomateProcessing set to AutoAccept.
- Exit MFCMAPI.
- Examine the hidden property in the User1 mailbox by using MFCMAPI. To do this. follow these steps:
- Start MFCMAPI
- On the Session menu click Logon and Display Store
Table.
- Select the profile that you just created and then click OK.
- Double-click the entry for Mailbox - User1.
- Expand the tree until you see the Calendar folder for
the mailbox.
- Right-click the Calendar folder and select Open
Associated Contents Table.
- Locate and select the message that uses Message Class =
IPM.Configuration.Calendar.
- In the bottom pane, double-click the
PR_ROAMING_DICTIONARY property.
- In the Text pane of the Property Editor look for the
following entry: <e k="18-AutomateProcessing"
Note If you are encountering this problem, this value is <e
k="18-AutomateProcessing" v="9-2"/> even though the "2" in this value is
only for resource mailboxes.
- Run the following command in the Exchange Management Shell:
Get-MailboxCalendarSettings User1 | FL
- Note the value of the AutomateProcessing parameter. In this scenario, it is set to AutoAccept even though the User1 mailbox is a user mailbox.
What happens is that at step 14, Outlook reads the property
from the hidden message in the resource mailbox and syncs this down to the
Outlook profile in the registry. This is why in step 17 you see the Outlook
profile has a value of 2 stored in the registry. Then, when you use that same
profile to open a user's mailbox (after you make the profile changes in steps
18-21) Outlook syncs the value from the registry up to the hidden message in
the user's mailbox. This is why you now see the AutomateProcessing property
value set to 2 in step 25 even though you are now looking at the user's
mailbox.