Configure Outlook Web App for an Exchange 2007 Hybrid Deployment
Applies to: Exchange Server 2010 SP1
Topic Last Modified: 2012-07-23
Estimated time to complete: 5 minutes
When you configure a hybrid deployment between your on-premises Exchange 2007 organization and the cloud-based organization, your users will see two Outlook Web App URLs. The first URL refers to your on-premises Exchange 2007 Client Access server, and the second URL is the cloud-based URL used by mailboxes that you move to the cloud.
If you want to make the transition easier for users whose mailboxes are moved to the cloud, you can configure the Exchange 2010 hybrid server to handle all Outlook Web App requests using a single, common URL. Here’s what happens when an Outlook Web App request arrives at the hybrid server:
Request for an Exchange 2007 mailbox The hybrid server automatically redirects Outlook Web App requests for Exchange 2007 mailboxes to the Internet-accessible Exchange 2007 Client Access server.
Request for a cloud-based mailbox The hybrid server displays the Outlook Web App URL in the cloud-based organization and instructs the user to use the new URL. The user has the option to add the new URL to their browser's Favorites list.
To configure Outlook Web App for a hybrid deployment, you must also do the following:
Make both your Exchange 2007 Client Access and Exchange 2010 hybrid servers accessible from the Internet and configure external FQDNs for each server. This task is covered later in this checklist.
When you're ready for your hybrid server to accept incoming Outlook Web App requests, reconfigure your primary Outlook Web App URL to reference the hybrid server external FQDN. We recommend that you use owa.<domain> for your primary Outlook Web App URL. For example, owa.contoso.com. This task is covered later in this checklist.
|This topic is meant to be read as part of the Microsoft Exchange Server 2007 and Office 365 Hybrid Deployment checklist. Information or procedures in this topic may depend on prerequisites configured in topics earlier in the checklist. To view the checklist, see Checklist - Exchange 2007 and Office 365 Hybrid Deployment|
You need to be assigned permissions before you can perform this procedure. To configure virtual directories in Exchange 2007, you must be a member of the Exchange Organization Administrators group.
For the hybrid server to redirect Outlook Web App requests from users who have mailboxes on an Exchange 2007 on-premises server, the InternalUrl and ExternalUrl properties on the Exchange 2007 Client Access servers must be set correctly. Set the InternalUrl property to the URL that's used by users to access their Exchange 2007 mailbox from your internal network. Set the ExternalUrl property to the URL that's used by users to access their Exchange 2007 mailbox from the Internet.
On each Exchange 2007 Client Access server, do the following in the Shell:
Check the configuration of Outlook Web App ExternalUrl and InternalUrl properties:
Get-OwaVirtualDirectory "Ex2007\OWA (Default Web Site)" | Format-Table InternalUrl, ExternalUrl
Verify that the values set in the InternalUrl and ExternalUrl properties are set correctly.
If the values aren't set correctly, configure the correct URLs:
Set-OwaVirtualDirectory "Ex2007\OWA (Default Web Site)" -InternalUrl "https://ex2007.corp.contoso.com/owa" -ExternalUrl "https://mail1.contoso.com/owa"
Repeat for each Exchange 2007 Client Access server in your organization.
You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Organization relationships" entry in Mailbox Permissions.
To enable the hybrid server to display the Outlook Web App URL for the cloud-based organization to users whose mailboxes have been moved to the service, use the following command on the hybrid server:
|Don't add a trailing slash ( / ) to the end of the URL in the following command.|
Set-OrganizationRelationship "To Cloud" -TargetOWAUrl "https://outlook.com/owa/contoso.com"
Use the following steps to validate that you've correctly set up Exchange 2007 Outlook Web App and cloud-based Outlook Web App redirection.
|You haven't reconfigured your primary Outlook Web App DNS CNAME to reference the hybrid server yet. To test your configuration, you'll need to reference the externally accessible FQDN of the hybrid server. You'll reconfigure your primary Outlook Web App DNS CNAME at a later step in the checklist.|
To verify whether you've correctly configured Exchange 2007 redirection, do the following:
Browse to the Outlook Web App URL of your hybrid server. You need to use the externally accessible FQDN of the hybrid server. For example, https://mail2.contoso.com/owa.
Enter the credentials of a mailbox that's located on your Exchange 2007 server.
If Exchange 2007 redirection is working, the hybrid server will automatically redirect your request to the Exchange 2007 server and log you on to the mailbox automatically.
To check whether you've correctly configured cloud-based redirection, you’ll have to wait. You can’t use the test mailbox you created at the beginning of this checklist in the Verify Service Configuration step to verify cloud-based redirection. You’ll need to use the test mailbox that will be created in the Create Test Mailbox step later in this checklist. Don’t worry; we’ll remind you when you get there.
Having problems? Ask for help in the Office 365 forums. To access the forums, you'll need to sign in using an account that's granted administrator access to your cloud-based service. Visit the forums at: Office 365 Forums