Configuring Microsoft Exchange Server 2007 and 2010 For Integration With Cisco Unified Presence (Over EWS)
Configuring Microsoft Exchange Server 2007 and 2010 For Integration With Cisco Unified Presence (Over EWS)
This module describes the integration of Cisco Unified Presence with Microsoft Exchange Server 2007
and 2010 over Exchange Web Services (EWS). If you are integrating with the Exchange server 2003
or 2007 over WebDAV, see Chapter 2, Configuring Microsoft Exchange Server 2003 and 2007 for
Integration with Cisco Unified Presence (over WebDAV).For an overview of each type of Exchange
integration, we recommend that you review Chapter 1, Planning for Cisco Unified Presence Integration
with Microsoft Exchange.
How to Enable Authentication on the Exchange 2007/2010 Virtual Directories, page 3-11
Note that the steps required to configure Exchange 2007 server will differ depending on whether you use
Windows Server 2003 or Windows Server 2008.
Table 3-1 provides a summary checklist to follow when configuring access to mailboxes on the
Microsoft Exchange 2007 server on Windows Server 2003 and Window Server 2008. For detailed
instructions, see the Microsoft Server 2007 documentation at the following URL:
http://technet.microsoft.com/en-us/library/bb124558(EXCHG.80).aspx
Integration Guide for Configuring Cisco Unified Presence Release 8.5 and 8.6 with Microsoft Exchange
3-1
Chapter 3 Configuring Microsoft Exchange Server 2007 and 2010 for Integration with Cisco Unified Presence (over
Microsoft Exchange 2007 Configuration Checklist (EWS)
Table 3-1
Integration Guide for Configuring Cisco Unified Presence Release 8.5 and 8.6 with Microsoft Exchange
3-2
Chapter 3
Task
Configuring Microsoft Exchange Server 2007 and 2010 for Integration with Cisco Unified Presence (over
Microsoft Exchange 2007 Configuration Checklist (EWS)
Procedure
Important Notes
Cisco Unified Presence supports
NTLMv1 Windows Integrated
authentication only, and does not
currently support NTLMv2.
Integration Guide for Configuring Cisco Unified Presence Release 8.5 and 8.6 with Microsoft Exchange
3-3
Chapter 3 Configuring Microsoft Exchange Server 2007 and 2010 for Integration with Cisco Unified Presence (over
Microsoft Exchange 2007 Configuration Checklist (EWS)
Task
Procedure
Grant Users the Permission Exchange 2007 Configuration on Windows Server 2003
to Sign in to the Service
1. Sign into the Exchange 2007 server using a service
Account Locally
account that has been delegated the Exchange View
Only Administrator role.
2.
3.
4.
5.
6.
Important Notes
2.
Select Start.
3.
Type gpmc.msc
4.
Select Enter.
5.
6.
7.
8.
9.
Integration Guide for Configuring Cisco Unified Presence Release 8.5 and 8.6 with Microsoft Exchange
3-4
Chapter 3
Configuring Microsoft Exchange Server 2007 and 2010 for Integration with Cisco Unified Presence (over
Microsoft Exchange 2007 Configuration Checklist (EWS)
Task
Set Impersonation
Permissions at the Server
level
Procedure
Via the Exchange Management Shell (EMS)
1. Open the EMS for command line entry.
Important Notes
Syntax
Add-ADPermission -Identity
(get-exchangeserver).DistinguishedName -User
(Get-User -Identity User | select-object).identity
-ExtendedRight ms-Exch-EPI-Impersonation
2.
Syntax
Add-ADPermission -Identity
(get-exchangeserver).DistinguishedName -User
(Get-User -Identity User | select-object).identity
-AccessRights GenericAll -InheritanceType
Descendents
Example
Add-ADPermission -Identity
(get-exchangeserver).DistinguishedName -User
(Get-User -Identity Ex2007
select-object).identity -AccessRights GenericAll
-InheritanceType Descendents
Example
Add-ADPermission -Identity
(get-exchangeserver).DistinguishedName -User
(Get-User -Identity Ex2007
select-object).identity -ExtendedRight
ms-Exch-EPI-Impersonation
2.
Syntax
Add-ADPermission -Identity
(get-exchangeserver).DistinguishedName -User
(Get-User -Identity User | select-object).identity
-ExtendedRight ms-Exch-EPI-May-Impersonate
Example
Add-ADPermission -Identity
(get-exchangeserver).DistinguishedName -User
(Get-User -Identity Ex2007
select-object).identity -ExtendedRight
ms-Exch-EPI-May-Impersonate
Integration Guide for Configuring Cisco Unified Presence Release 8.5 and 8.6 with Microsoft Exchange
3-5
Chapter 3 Configuring Microsoft Exchange Server 2007 and 2010 for Integration with Cisco Unified Presence (over
Verifying Permissions on the Exchange 2007 Account
Task
Procedure
Grant Send As Permissions Via the Exchange Management Shell (EMS)
to the Service Account and Run this Add-ADPermission command in the EMS to
User Mailboxes
grant Send As permisisons to the service account and all
associated mailbox stores:
Important Notes
You cannot use the Exchange
Management Console (EMC) to
complete this step.
Syntax
Add-ADPermission -Identity
(get-exchangeserver).DistinguishedName -User
(Get-User -Identity User | select-object).identity
-ExtendedRights Send-As
Example
Add-ADPermission -Identity
(get-exchangeserver).DistinguishedName -User
(Get-User -Identity Ex2007
select-object).identity -ExtendedRights Send-As
Grant Receive As
Permissions to the Service
Account and User
Mailboxes
Syntax
Add-ADPermission -Identity
(get-exchangeserver).DistinguishedName -User
(Get-User -Identity User | select-object).identity
-ExtendedRights Receive-As
Example
Add-ADPermission -Identity
(get-exchangeserver).DistinguishedName -User
(Get-User -Identity Ex2007
select-object).identity -ExtendedRights Receive-As
Troubleshooting Tips
Cisco Unified Presence only requires Receive As permissions on the account to enable it to sign in to
that account when it connects to the Exchange server. Note that this account does not typically receive
mail so you do not need to be concerned about allocating space for it.
What To Do Next
Delegate the appropriate permissions to the Exchange account. See the Microsoft Exchange 2007
Configuration Checklist (EWS) topic.
Integration Guide for Configuring Cisco Unified Presence Release 8.5 and 8.6 with Microsoft Exchange
3-6
Chapter 3
Configuring Microsoft Exchange Server 2007 and 2010 for Integration with Cisco Unified Presence (over
Microsoft Exchange 2010 Configuration Checklist (EWS)
Procedure
Step 1
In the EMC on the Exchange 2007 server, right-click Active Directory Sites and Services in the console
tree.
Step 2
Step 3
Step 4
Verify that the CAS is listed for th e service node that you selected.
Step 5
View the Properties of each CAS server, and under the Security tab, verify that:
Step 6
a.
b.
The permissions granted on the services account indicate (with a checked box) that the Exchange
Web Services Impersonation permission is allowed on the account.
Verify that the service account (for example, Ex2007) has been granted Allow impersonationpermission
on the storage group and the mailbox store to enable it to exchange personal information and to send as
and receive as another user account.
Troubleshooting Tips
If the account or the impersonation permissions do not display as advised in Step 5, you may need
to recreate the service account and ensure that the required impersonation permissions are granted
to the account.
You may be required to restart the Exchange server for the changes to take effect. This has been
observed during testing.
What To Do Next
How to Enable Authentication on the Exchange 2007/2010 Virtual Directories, page 3-11.
Before you integrate Microsoft Exchange 2010 server with Cisco Unified Presence over EWS, ensure
that you configure the following throttle policy parameter values on the Exchange server. These are the
values that are required for the EWS calendaring integration with Cisco Unified Presence to work.
Integration Guide for Configuring Cisco Unified Presence Release 8.5 and 8.6 with Microsoft Exchange
3-7
Chapter 3 Configuring Microsoft Exchange Server 2007 and 2010 for Integration with Cisco Unified Presence (over
Microsoft Exchange 2010 Configuration Checklist (EWS)
Table 3-2
Parameter
EWSMaxConcurrency
EWSPercentTimeInAD
50
EWSPercentTimeInCAS
90
EWSPercentTimeInMailboxRPC
60
EWSMaxSubscriptions
Null
EWSFastSearchTimeoutInSeconds
60
EWSFindCountLimit
1000
Integration Guide for Configuring Cisco Unified Presence Release 8.5 and 8.6 with Microsoft Exchange
3-8
Chapter 3
Table 3-3
Configuring Microsoft Exchange Server 2007 and 2010 for Integration with Cisco Unified Presence (over
Microsoft Exchange 2010 Configuration Checklist (EWS)
Task
Procedure
3.
Syntax
new-ManagementScope -Name:_suImpersonateScope -ServerList:<server name>
Example
new-ManagementScope -Name:_suImpersonateScope -ServerList:nw066b-227
4.
Run the New-ThrottlingPolicy command to create a new Throttling Policy with the
recommended values defined in Table 3-2.
Syntax
New-ThrottlingPolicy -Name:<Policy Name> -EWSMaxConcurrency:100
-EWSPercentTimeInAD:50 -EWSPercentTimeInCAS:90 -EWSPercentTimeInMailboxRPC:60
-EWSMaxSubscriptions:5000
-EWSFastSearchTimeoutInSeconds:60
-EWSFindCountLimit:1000
Example
New-ThrottlingPolicy -Name:Cisco Unified Presence ThrottlingPolicy
-EWSMaxConcurrency:100 -EWSPercentTimeInAD:50 -EWSPercentTimeInCAS:90
-EWSPercentTimeInMailboxRPC:60 -EWSMaxSubscriptions:5000
-EWSFastSearchTimeoutInSeconds:60 -EWSFindCountLimit:1000
5.
Syntax
Set-ThrottlingPolicyAssociation -Identity <Username> -ThrottlingPolicy
<Policy Name>
Example
Set-ThrottlingPolicyAssociation -Identity Ex2010 -ThrottlingPolicy Cisco
Unified Presence ThrottlingPolicy
What To Do Next
Integration Guide for Configuring Cisco Unified Presence Release 8.5 and 8.6 with Microsoft Exchange
3-9
Chapter 3 Configuring Microsoft Exchange Server 2007 and 2010 for Integration with Cisco Unified Presence (over
Verifying Permissions on the Exchange 2010 Account
Related Topics
For a complete description of the Microsoft Exchange server parameters, see here:
http://technet.microsoft.com/en-us/library/dd351045.aspx
Delegate the appropriate permissions to the Exchange account. See the Microsoft Exchange 2010
Configuration Checklist (EWS) topic.
Procedure
Step 1
Open the Exchange Management Shell (EMS) for command line entry.
Step 2
Verify that the service account has been granted the required Impersonation permissions:
a.
b.
Ensure that the command output indicates role assignments with the Role
"ApplicationImpersonation for the specified account as follows:
Example: Command Output
Name
Role
RoleAssigneeName
------
----
- - - - - - - - - - - - - Type
------
_suImpersonate
RoleAsg
Step 3
ApplicationImpe ex 2010
rsonation
RoleAssignee
User
Assignment
Method
EffectiveUser
Name
-----
---------
Direct
ex 2010
Verify that the management scope that applies to the service account is correct:
a.
b.
Ensure that the command output returns the impersonation account name as follows:
Example: Command Output
Name
ScopeRestrictionType Exclusive
------
----
RecipientRoot Recipient
Filter
-------- ------
----_suImpersonate
Scope
Step 4
ServerScope
False
Verify that the ThrottlingPolicy parameters match what is defined in Table 3-2.
a.
Integration Guide for Configuring Cisco Unified Presence Release 8.5 and 8.6 with Microsoft Exchange
3-10
ServerFilter
--------Distinguished
Name
Chapter 3
Configuring Microsoft Exchange Server 2007 and 2010 for Integration with Cisco Unified Presence (over
How to Enable Authentication on the Exchange 2007/2010 Virtual Directories
b.
Ensure that the command output has the same values defined in Table 3-2:
What To Do Next
How to Enable Authentication on the Exchange 2007/2010 Virtual Directories, page 3-11
Enabling Authentication on Exchange 2007 Running Windows Server 2003, page 3-11
Enabling Authentication on Exchange 2010 Running Windows Server 2008, page 3-12
From Administrative Tools, open Internet Information Services. and select the appropriate server.
Step 2
Step 3
Step 4
Step 5
Step 6
Step 7
Under Authentication Methods, verify that the following check box is unchecked:
Enable anonymous access
Step 8
Under Authentication Methods Authenticated Access, verify that one or both of the following check
boxes are checked:
Integrated Windows authentication.
Basic authentication (password is sent in clear text).
Step 9
Select OK.
What To Do Next
Configuring the Presence Gateway on Cisco Unified Presence for Microsoft Exchange Integration,
page 4-1
Integration Guide for Configuring Cisco Unified Presence Release 8.5 and 8.6 with Microsoft Exchange
3-11
Chapter 3 Configuring Microsoft Exchange Server 2007 and 2010 for Integration with Cisco Unified Presence (over
How to Enable Authentication on the Exchange 2007/2010 Virtual Directories
From Administrative Tools, open Internet Information Services and select the server.
Step 2
Step 3
Step 4
Select EWS.
Step 5
Step 6
Step 7
What To Do Next
Configuring the Presence Gateway on Cisco Unified Presence for Microsoft Exchange Integration,
page 4-1
Related Topics
http://technet.microsoft.com/en-us/library/aa998849.aspx
http://technet.microsoft.com/en-us/library/ee633481.aspx
Integration Guide for Configuring Cisco Unified Presence Release 8.5 and 8.6 with Microsoft Exchange
3-12