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:

To configure Outlook Web App for a hybrid deployment, you must also do the following:

Learn more at: Understanding Access to Outlook Web App with a Single URL for an Exchange 2007 Hybrid Deployment

Caution:
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

How do I configure on-premises Outlook Web App redirect?

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:

  1. Check the configuration of Outlook Web App ExternalUrl and InternalUrl properties:

    Copy Code
    Get-OwaVirtualDirectory "Ex2007\OWA (Default Web Site)" | Format-Table InternalUrl, ExternalUrl
    
  2. Verify that the values set in the InternalUrl and ExternalUrl properties are set correctly.

  3. If the values aren't set correctly, configure the correct URLs:

    Copy Code
    Set-OwaVirtualDirectory "Ex2007\OWA (Default Web Site)" -InternalUrl "https://ex2007.corp.contoso.com/owa" -ExternalUrl "https://mail1.contoso.com/owa"
    
  4. Repeat for each Exchange 2007 Client Access server in your organization.

How do I configure cloud-based Outlook Web App redirect?

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:

Important:
Don't add a trailing slash ( / ) to the end of the URL in the following command.
Copy Code
Set-OrganizationRelationship "To Cloud" -TargetOWAUrl "https://outlook.com/owa/contoso.com"

How do I know this worked?

Use the following steps to validate that you've correctly set up Exchange 2007 Outlook Web App and cloud-based Outlook Web App redirection.

Important:
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:

  1. 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.

  2. Enter the credentials of a mailbox that's located on your Exchange 2007 server.

  3. 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