Home   Kaiming



 

00


At Paula computer:

Offline Address Book

Get-MailboxDatabase | fl Name,OfflineAddressbook

Name : Mailbox Database
OfflineAddressBook : \Default Offline Address Book

Get-OfflineAddressBook | fl Name,*distribution*

Name : Default Offline Address Book
PublicFolderDistributionEnabled : True
WebDistributionEnabled : True

Availability

Get-WebServicesVirtualDirectory | fl Name,*Url

Name : EWS (Default Web Site)
InternalNLBBypassUrl : https://paula.work.com/ews/exchange.asmx
InternalUrl : https://paula.work.com/EWS/Exchange.asmx
ExternalUrl :


AutoDiscover service of Exchange 2007

Outlook 203 clients cannot consume the Autodiscover service. The Availability and the Offline Address Book will be retrieved by mailbox's local public folder.

Let me remove the AutoDiscover Virtual Directory

Get-AutodiscoverVirtualDirectory | fl Name,*Url

Name : Autodiscover (Default Web Site)
InternalUrl :
ExternalUrl :

Remove-AutodiscoverVirtualDirectory "Autodiscover (Default Web Site)"

When mwill@work.com logs on to its mailbox through outlook 2003 client, she can use Out Of Office feature, can download Offline Address Book, and can initiate the meeting request and see other mailboxes' schedule. --public folder

How about the Outlook 2007 client at XP2007 computer?

Mwill@work.com can connect to its mailbox to send and receive mail. But, using Out Of Office assistant will generate the error.

02

Downloading Offline Address Book will generate error.

03

Creating a meeting request will have "No free/busy information could be retrieved.

04

OWA works fine for OOF and Calendaring.

05


Enable AutoDiscover Service

New-AutodiscoverVirtualDirectory -WebSiteName "Default Web Site"

Outlook 2007 client on XP2007 workstation (domain member) can consume Availability service, OOF, and OAB.

How about Off2007 workstation (not in domain)?

Change its primary suffix to work.com and set its preferred DNS to 192.168.11.10 (paula computer).

The outlook 2007 client can access swilliams@work.com mailbox with Exchange configuration. But she cannot use OOF and OAB. She cannot retrieve other maiboxes' calendar. Why? --certificate

Hold Crtl key and click on outlook icon in System Tray;

Click "Test E-mail AutoConfiguration..."

08

09

Pay attention to https://paula.work.com

During installation of Exchange 2007, it generates a self-signed certificate. All domain members trust it. But non-domain members don't trust it.

Set up the trusted certificate environment for both domain member and non-domain member

refer to for certificate.

Paula computer:

Install Certificate Authority (Standalone Authority);

DNS:

Create mail.work.com and autodiscover.work.com records;

06

New-ExchangeCertificate -GenerateRequest -subjectname "dc=com,dc=work,cn=mail.work.com" -domainname paula.work.com,paula,mail.work.com, autodiscover.work.com -PrivateKeyExportable $true -path c:\certrequest.txt

Request and download certificate by https://paula.work.com/certsrv and save it as c:\certnew.p7b

Import-ExchangeCertificate -Path C:\certnew.p7b

07

At OFF2007 and XP2007 computers:

https://paula.work.com/certsrv

Install the CA certificate Chain;

Outlook 2007 with Exchange configuration can use OOF, can download OAB, and can retrieve other mailboxes's calendar.

The importance of Autodiscover DNS record

After setting the preferred DNS server for Off2007 workstation to domain east.com and removing Autodiscover record from EX64 DNS server, Outlook client can connect to a mailbox but without OOF, OAB, and availability functions.

 

10

Create a standard DNS zone on Ex64:

11


Outlook Anywhere outlook anywhere

At Paula computer

Turn on Microsoft Windows Firewall

12

Install RPC over HTTP component;

Enable-OutlookAnywhere -Server:Paula -ExternalHostname:mail.work.com -ClientAuthenticationMethod NTLM -SSLOffloading $false

Set-OABVirtualDirectory -identity "Paula\OAB (Default Web Site)" -externalurl https://mail.work.com/OAB -RequireSSL:$true

Set-UMVirtualDirectory -identity "Paula\UnifiedMessaging (Default Web Site)" -externalurl https://mail.work.com/UnifiedMessaging/Service.asmx -BasicAuthentication:$True

Set-WebServicesVirtualDirectory -identity "Paula\EWS (Default Web Site)" -externalurl https://mail.work.com/EWS/Exchange.asmx -WindowsAuthentication:$True

Get-OutlookProvider | Set-OutlookProvider -CertPrincipalName mail.work.com

Get-OutlookProvider | fl Name,CertPrin*

Name : EXCH ---------------------------------------RPC
CertPrincipalName : mail.work.com

Name : EXPR ----------------------------------------Outlook Anywhere
CertPrincipalName : mail.work.com

Name : WEB -----------------------------------------Outlook Web Access
CertPrincipalName : mail.work.com

Test-OutlookWebServices -TargetAddress swilliams@work.com | where { $_.Type -eq 'Error' } | fl

Id : 1013
Type : Error
Message : When contacting https://mail.work.com/EWS/Exchange.asmx received the
error The request failed with HTTP status 401: Unauthorized.

Id : 1016
Type : Error
Message : [EXPR]-Error when contacting the AS service at https://mail.work.com/
EWS/Exchange.asmx. The elapsed time was 15 milliseconds.

The error does not matter. It will pass all the tests from Outlook client with e-mail address and its password.

You must not test the RPC over HTTP in virtual computer hosted in Paula computer. I test the RPC over HTTP in another computer.

14

13

15

 


When Outlook 2007 client logs on to Exchange 2007 mailbox, the Availability service reads free/busy information from the target mailbox.

When Outlook 2007 client logs on to Exchange 2007 mailbox, the Offline Address Book service gets OfflineAddressBook from the web distribution point.

Skip the Unified Messaging service because I don't have the environment.

Advantage of Autodiscover service

Shane Williams mailbox is in Paula Exchange 2007. If you move it to WesternData Exchange 2007 server, the Outlook 2007 client will be automatically configured with WesternData server. For Outlook 2003 client, you have to configure it manually to reflect the change.


Home