SSW Foursquare

Rules to Better Exchange Server - 3 Rules

  1. Do you enable the search in OWA?

    If search is not enabled you will get this message in OWA:

    "Search results may take a long time to appear because Microsoft Exchange Search is unavailable. Results will not include matches in the email body."

    This is how you fix it:

    To diagnose Exchange Search issues

    1. Is the MSExchangeSearch service started on the Mailbox server? If Yes, go to Step 2. If No, use the Services MMC snap-in to verify that the MSExchangeSearch service is running:

      • Click Start, and then click Control Panel
      • In Control Panel, double-click Administrative Tools
      • In Administrative Tools, double-click Services
      • Verify that the Microsoft Exchange Search Indexer service is started
    2. Is the IndexEnabled parameter configure to true for the mailbox database of the user? Run the following command in the Exchange Management Shell to verify that the IndexEnabled flag is configure to true: Get-MailboxDatabase |ft Name,IndexEnabled
    3. Run the Test-ExchangeSearch command for the user: Test-ExchangeSearch -Identity username[at]ssw.com.au
    4. Check Event Viewer for search-related error messages. Check the Source: MSExchangeSearch Indexer and msftesql-Exchange events. For more information, follow the link on the event log

    To Rebuild the Full-Text Index Catalog Using the ResetSearchIndex.ps1 Script

    1. Start the Exchange Management Shell.
    2. ResetSearchIndex.ps1 -force -all
      Wait a couple of minutes to the index be created
    3. Run the command to verify if the index was created
      GetSearchIndexForDatabase -All
  2. Do you customise Outlook Web Access (OWA)?

    It is possible to customise OWA, for example you can add change the colouring and add your company logo to the OWA logon page.

    custom owa bad
    Figure: Bad example - OWA logon page doesn't clearly show it's from SSW

    custom owa
    Figure: Good example - SSW OWA logon page with custom logo

    The following Microsoft article explains how to customise OWA: Customize the Outlook Web App Sign-In, Language Selection, and Error Pages.

  3. Do you add a redirect from http to https for OWA?

    To simplify Outlook Web App (OWA) access for your users, you want to configure the Outlook Web App page to automatically redirect users to https. The HTTP redirect procedure in IIS Manager simplifies OWA URL and forces to SSL connection from mail.domain.com to mail.domain.com/owa .

    Step 1: Use IIS Manager to simplify OWA URL and force redirection to SSL

    1. Start IIS Manager
    2. Expand the local computer, expand Sites, and then click Default website
    3. At the bottom of the Default website Home pane, click Features View if this option isn't already selected
    4. In the IIS section, double-click HTTP Redirect
    5. Select the Redirect requests to this destination check box
    6. Type the absolute path of the /owa virtual directory. For example, type mail.domain.com/owa
    7. Under Redirect Behavior , select the Only redirect requests to content in this directory (not subdirectories) check box
    8. In the Status code list, click Found (302)
    9. In the Actions pane, click Apply OWARedirect
    10. Click Default website
    11. In the Default website Home pane, double-click SSL Settings
    12. In SSL Settings, clear Require SSL OWARedirect2

    Step 2: Remove redirection from virtual directories

    1. Open a Command Prompt window.
    2. Navigate to:
    <window directory="">\System32\Inetsrv.
    1. Run the following commands:
    appcmd set config "Default Web Site/autodiscover" /section:httpredirect /enabled:false -commit:apphost 
    appcmd set config "Default Web Site/ecp" /section:httpredirect /enabled:false -commit:apphost
    appcmd set config "Default Web Site/ews" /section:httpredirect /enabled:false -commit:apphost
    appcmd set config "Default Web Site/owa" /section:httpredirect /enabled:false -commit:apphost
    appcmd set config "Default Web Site/oab" /section:httpredirect /enabled:false -commit:apphost
    appcmd set config "Default Web Site/powershell" /section:httpredirect /enabled:false -commit:apphost
    appcmd set config "Default Web Site/rpc" /section:httpredirect /enabled:false -commit:apphost
    appcmd set config "Default Web Site/rpcwithcert" /section:httpredirect /enabled:false -commit:apphost
    appcmd set config "Default Web Site/Microsoft-Server-ActiveSync" /section:httpredirect /enabled:false -commit:apphost
    1. Finish by running the command:
    iisreset/noforce.

    Step 3: Test that HTTP to HTTPS redirect is working

    1. Open Internet Explorer and type in mail.domain.com
    2. Done - You are then redirected to mail.domain.com/owa

    iisnoredirect
    Figure: Bad example - No redirect in place for OWA

    iisredirect
    Figure: Good example - Redirect from HTTP to https for OWA

We open source. Powered by GitHub