One of the most useful features of a groupware platform like Exchange is the ability to do scheduling and calendaring for your
If you have an Exchange server, you probably also have resources that you want to be able to schedule, such as conference rooms, audio/visual equipment, and maybe demonstration gear to take on the road. With Outlook and Exchange, you can create mailboxes for those resources; they will then have their own calendars that will accept reservation
Exchange 2007's resource mailboxes are handled somewhat differently from the resource mailboxes in Exchange 2003 and earlier. In Exchange 2007, there are extensions made to the AD schema to uniquely identify resource mailboxes.
Creating a resource mailbox is not unlike creating any other kind of mailbox:
Start the Exchange Management Console.
Click Recipient Configuration.
In the Actions pane, click New Mailbox. The New Mailbox Wizard will start to walk you through the process.
On the Introduction page, select Room Mailbox and click Next.
On the User Type page, select New
The wizard will then prompt you for the standard account information, username, alias, and so forth.
| Tip |
We recommend creating a new organizational unit (OU) for resources so that regular users and resources don't get lumped together in the Active Directory. |
After you've created the mailbox, you could stop there, but usually you'll want to configure the resource mailbox to automatically process meeting requests for your users. To do that, go to a workstation that has Outlook installed, log in with the resource account, and create an Outlook profile for that resource mailbox. Once you've logged into the resource mailbox with Outlook, choose Tools Ø Calendar Options and click the Resource Scheduling button. On the resulting dialog box (see Figure 17.11) you can configure the resource scheduling options.
Figure 17.11:
Configure a resource to accept scheduling requests
For more information about creating and managing resource mailboxes, see Chapter 10, "Managing Recipients."
Exchange 2007 introduces a new feature called Autodiscover that Outlook 2007 and later
Outlook Anywhere URL
URL (internal or external) for the offline address book
URL (internal or external) for Unified Messaging
URL (internal or external) for Availability service
When a user launches Outlook 2007 for the first time, they are prompted for some basic information (e-mail address or domain/username and password). Outlook 2007 contacts the Autodiscover web service and looks up information such as the home mailbox server, display name, and URLs for Outlook features such as free/busy information and the offline address book. If this information is changed, then the Outlook client gets updated information (including the home mailbox server
| Tip |
When the user specifies their e-mail address, they should use their default SMTP address. Autodiscover may not work for additional SMTP addresses. |
Outlook 2007 uses two different approaches to locate an Autodiscover site and determine the necessary information. The first approach is used when the Windows computer is a member of the Active Directory forest in which the Exchange server exists. Figure 17.12 shows the process that Outlook uses to locate resources. In this example, the computer on which Outlook 2007 is installed is a member of the Active Directory forest. This is
Figure 17.12:
Autodiscover when a client is member of the Active Directory
In step 1 in Figure 17.12, Outlook is launched for the first time and there is not an Outlook profile for the user account. Outlook contacts the Active Directory to find a service connection point (SCP). A service connection point is an Active Directory object that can be used to publish and locate network services. The SCP object will provide Outlook with the fully qualified domain
In step 2, the Outlook 2007 client queries the Client Access server to retrieve the user's home server. The username and domain name are used to locate the user's home mailbox server. Outlook also retrieves information about the location of the Availability service and the distribution points for the offline address book. From this information, the Outlook profile is created.
In step 3, Outlook is able to connect to the user's home Exchange server.
If the desktop client is not a member of the Active Directory or is outside of the corporate network and cannot contact a domain controller, then Outlook 2007 uses a different approach. This is the Autodiscover service process for external access. In this approach, DNS is used to locate the Autodiscover service. Figure 17.13 shows an example of how the Autodiscover service is located for an external client. In this example, the user must provide their e-mail address since it cannot be provided for them using their Active Directory user account.
Figure 17.13:
External Autodiscover location process
In step 1, Outlook
Figure 17.14:
Providing Outlook with your information manually
In step 2, the Outlook 2007 client
https://autodiscover.somorita.com/autodiscover/autodiscover.xml
These URLs will need to be resolvable in DNS and accessible from outside your network for external clients. If you will use the DNS approach for "external" clients on your inside network, you will want to make sure that one of these two URL's is resolvable using your internal DNS.
The Client Access server that
When an Exchange 2007 Client Access server is installed, an SCP record is created in Active Directory for it. This includes the internal Outlook Anywhere settings, the internal internal URL for the offline address book, and the internal URL for Exchange web services. However, depending on your environment, there may be additional configuration settings that you need to perform, if, for example, you needed to enable Outlook Anywhere (formerly RPC over HTTP) or define external URLs for other web services.
An Autodiscover virtual directory is automatically created on each Exchange 2007 Client Access server. The only way to configure this is through the Exchange Management Shell. The Get-AutoDiscoverVirtualDirectory cmdlet can let you view the Autodiscover virtual directories. Here is an example:
[PS] C:\
>
Get-AutodiscoverVirtualDirectory Name : Autodiscover (Default Web Site) InternalAuthenticationMethods : {Basic, Ntlm} ExternalAuthenticationMethods : {Basic, Ntlm} BasicAuthentication : True DigestAuthentication : False WindowsAuthentication : True MetabasePath : IIS://HNLEX03.volcanosurfboards.com/W3SVC/1/ ROOT/Autodiscover
Path
: C:\Program Files\Microsoft\Exchange Server \ClientAccess\ Autodiscover Server : HNLEX03 InternalUrl : ExternalUrl : AdminDisplayName : ExchangeVersion : 0.1 (8.0.535.0) DistinguishedName : CN=Autodiscover (Default Web Site), CN=HTTP,CN=Protocols,CN=HNLEX03,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=Volcano Surfboards, CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=volcanosurfboards,DC=com Identity : HNLEX03\Autodiscover (Default Web Site) Guid : ObjectCategory : volcanosurfboards.com/Configuration/Schema 'ms-Exch-Auto-Discover- Virtual-Directory ObjectClass : {top, msExchVirtualDirectory, msExchAutoDiscoverVirtualDirectory} WhenChanged : 12/22/2006 9:10:00 PM WhenCreated : 12/22/2006 9:10:00 PM OriginatingServer : HNLDC01.volcanosurfboards.com IsValid : True
If you want to set the external URL for Autodiscover, here is the command:
Set-AutodiscoverVirtualDirectory "HNLEX03\Autodiscover (Default Web Site)" -ExternalUrl "https://owa.somorita.com"
By default, Outlook Anywhere is not enabled on the Client Access servers. To enable Outlook Anywhere, locate each Client Access server in the Server Configuration work center in the Exchange Management Console (EMC) and select the Enable Outlook Anywhere task on the Actions pane. This launches a wizard that prompts you for the external hostname and the type of authentication and gives you the option to use SSL
If you are using network load balancing, the external hostname will be the fully qualified domain name that the clients will use externally. When you have completed the information required by the wizard, you can click the Enable Outlook Anywhere button.
Optionally, you could enable Outlook Anywhere using the Enable-OutlookAnywhere cmdlet. Here is an example:
Enable-OutlookAnywhere -Server 'HNLEX03' -ExternalHostname 'owa.somorita.com' -ExternalAuthenticationMethod 'Basic' -SSLOffloading $false
Once Outlook Anywhere is enabled, you can select the properties of the Client Access server and view the Outlook Anywhere properties of that particular Client Access server. An example is shown in Figure 17.15.
Figure 17.15:
Configuring the external hostname for Outlook Anywhere
You can retrieve the same information (and more) using the Get-OutlookAnywhere cmdlet; here is an example:
Get-OutlookAnywhere SSLOffloading : False ExternalHostname : owa.somorita.com ExternalAuthenticationMethod : Basic MetabasePath : IIS://HNLEX03.volcanosurfboards.com/ W3SVC/1/ROOT/Rpc Path : C:\WINDOWS\System32\RpcProxy Server : HNLEX03 AdminDisplayName : ExchangeVersion : 0.1 (8.0.535.0) Name : Rpc (Default Web Site) DistinguishedName : CN=Rpc (Default Web Site),CN=HTTP, CN=Protocols,CN=HNLEX03,CN=Servers,CN=Exchange AdministrativeGroup (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=Volcano Surfboards, CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=volcanosurfboards,DC=com Identity : HNLEX03\Rpc (Default Web Site) Guid : ObjectCategory : volcanosurfboards.com/Configuration/Schema/ ms-Exch-Rpc-Http-Virtual-Directory ObjectClass : {top, msExchVirtualDirectory, msExchRpcHttpVirtualDirectory} WhenChanged : 1/8/2007 6:24:32 PM WhenCreated : 1/8/2007 6:24:32 PM OriginatingServer : HNLDC01.volcanosurfboards.com IsValid : True
When configuring the external hostname for Outlook Anywhere, remember that this is the URL that will be referred to external Outlook 2007 clients when Autodiscover is used.
The offline address book distribution points by default only contain the internal URL used to locate them. You can set these using the graphical user interface by selecting the properties of the offline address book virtual directory in the Exchange Management Console. The URLs property page of the default OAB virtual directory for a Client Access server is shown in Figure 17.16.
Figure 17.16:
Setting the external URL for offline address book distribution
You can also set this parameter using the EMS cmdlet Set-OABVirtualDirectory . Hereisan example:
Set-OABVirtualDirectory "hnlex03\OAB (Default Web Site)" -ExternalURL https://owa.somorita.com/OAB -RequireSSL:$True
You can view the configuration of the offline address book virtual directory using the Get-OABVirtualDirectory cmdlet. Here is an example:
Get-OabVirtualDirectory fl Name : OAB (Default Web Site) PollInterval : 480 OfflineAddressBooks : {} RequireSSL : True MetabasePath : IIS://HNLEX03.volcanosurfboards.com/W3SVC/1/ROOT/ OAB Path : C:\Program Files\ Microsoft\Exchange Server\ClientAccess\OAB Server : HNLEX03 InternalUrl : http://hnlex03.volcanosurfboards.com/OAB InternalAuthenticationMethods : {WindowsIntegrated} ExternalUrl : https://owa.somorita.com/OAB ExternalAuthenticationMethods : {WindowsIntegrated} AdminDisplayName : ExchangeVersion : 0.1 (8.0.535.0) DistinguishedName : CN=OAB (Default Web Site), CN=HTTP,CN=Protocols, CN=HNLEX03,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=Volcano Surfboards, CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=volcanosurfboards,DC=com Identity : HNLEX03\OAB (Default Web Site) Guid : ObjectCategory : volcanosurfboards.com/Configuration/Schema/ ms-Exch-OAB-Virtual-Directory ObjectClass : {top, msExchVirtualDirectory, msExchOABVirtualDirectory} WhenChanged : 1/8/2007 7:17:58 PM WhenCreated : 12/22/2006 9:09:56 PM OriginatingServer : HNLDC01.volcanosurfboards.com IsValid : True
If remote or external clients will need access to custom web services, you should configure the external URL for web services. This can only be done via the EMS. The following cmdlet is an example for setting the external URL for a Client Access server:
Set-WebServicesVirtualDirectory "hnlex03\EWS (Default web site)" -ExternalUrl https://owa.somorita.com/EWS/Exchange.asmx -BasicAuthentication:$True
To check the configuration of the Web Services virtual directory, you can use the Get-WebServicesVirtualDirectory cmdlet:
Get-WebServicesVirtualDirectory Name : EWS (Default Web Site) InternalAuthenticationMethods : {Basic, Ntlm} ExternalAuthenticationMethods : {Basic, Ntlm} BasicAuthentication : True DigestAuthentication : False WindowsAuthentication : True MetabasePath : IIS://HNLEX03.volcanosurfboards.com/W3SVC/1/ ROOT/EWS Path : C:\Program Files\Microsoft\Exchange Server\ ClientAccess\ exchweb\EWS Server : HNLEX03 InternalUrl : https://hnlex03.volcanosurfboards.com/ EWS/Exchange.asmx ExternalUrl : https://owa.somorita.com/EWS/Exchange.asmx AdminDisplayName : ExchangeVersion : 0.1 (8.0.535.0) DistinguishedName : CN=EWS (Default Web Site),CN=HTTP, CN=Protocols, CN=HNLEX03,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=Volcano Surfboards, CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=volcanosurfboards,DC=com Identity : HNLEX03\EWS (Default Web Site) Guid : ObjectCategory : volcanosurfboards.com/Configuration/Schema/ ms-Exch-Web-Services-Virtual-Directory ObjectClass : {top, msExchVirtualDirectory, msExchWebServices VirtualDirectory} WhenChanged : 1/8/2007 7:07:25 PM WhenCreated : 12/22/2006 9:10:12 PM OriginatingServer : HNLDC01.volcanosurfboards.com IsValid : True
If you have tried to deploy both internal and external URLs already, then you are already wondering how Secure Sockets Layer is supposed to work if the FQDN of the internal location is different than the external FQDN. After all, if certificates are
New-ExchangeCertificate -generaterequest -subjectname "dc=com,dc=volcanosurfboards,o=Volcano Surfboards, cn=owa.somorita.com" -domainname HNLEX03,HNLEX03.volcanosurfboards.com,owa.somorita.com, autodiscover.somorita.com -path c:\certrequest-HNLEX03.txt
This cmdlet creates a certificate request with multiple hostnames. In this case, the hostnames include owa.somorita.com, autodiscover.somorita.com, hnlex03, and hnlex03.volcanosurfboards.com.
We can take the contents of this file and get a certificate signed and issued by a trusted certificate authority or we could sign it
Import-ExchangeCertificate -path c:\certnew.cer -friendlyname "HNLEX03 Cert"
If you are used to creating certificate
Run the Internet Information Server Manager console.
Open the Web Sites container, right-click Default Web Site, and select Properties.
Select the Directory Security property page.
Click the Server Certificate button and then click Next.
Select the Assign an Existing Certificate radio button and click Next.
In the Select a Certificate list, select the certificate you have just imported using the Import-ExchangeCertificate cmdlet. When you have selected the certificate, click Next.
Confirm that port 443 is the SSL port. This is usually the case. Click Next.
On the Certificate Summary page, you can see some of the details of the certificate. When you are ready, click Next and then click Finish.
Congratulations. The certificate is now installed and associated with the default website. On the Directory Security property page, you can click the View Certificate button to see more details about the certificate. On the Details property page, if you scroll down to Subject Alternative Name in the Field column (see Figure 17.17), you will see the additional names you have specified for the certificate.
Figure 17.17:
Subject Alternative Name in the Field column
In the example we just showed you, the internal names of the server were HNLEX03 and HNLEX03.volcanosurfboards.com. The external names were owa.somorita.com and autodiscover.somorita.com.