To map Microsoft Exchange Server application services, use the Outlook web access entry point, prepare Windows and Exchange credentials, and run Service Mapping with the required PowerShell access. Review the resulting Exchange components and Active Directory dependencies, and disable traffic-based discovery when Outlook client connections would obscure the service layout.
Set the boundary of the Exchange application service
Start with the email service you need to understand and its Outlook web access entry point. The mapping objective is a service instance containing Exchange Server and its components. Write down the servers and component roles the Exchange administrator expects to find, so the map can be checked against a deployment rather than judged by its size.
The discoverable component set includes Microsoft Active Directory Domain Services, Microsoft server as an Exchange component, HUB Transport Server, and Client Access Server (CAS). These Windows components use WMI or WinRM. Active Directory discovery is top-down; the listed Exchange server, transport, and CAS components have horizontal and top-down discovery coverage.
For the Exchange components, the listed versions are 2003, 2007, 2010, 2013, and 2016. Check your instance, release, and installed patterns against the deployment before applying this procedure to a different Exchange version. The difference between Discovery and Service Mapping helps frame why finding a server and validating an application service are separate checks.
Prepare credentials before creating the service
Configure a domain user for Windows OS access, using the Exchange Server administrator’s credentials as the Windows credentials. This is a discovery prerequisite, separate from the ServiceNow role used to create the service instance. A different Windows user can cause Service Mapping to use traffic-based discovery and bring Exchange client connections into the map.
For Exchange CAS 2010, 2013, and 2016, configure applicative credentials with the CI type Exchange Mailbox. Do not substitute Exchange Mailbox Server; these are distinct CI types. Record the selected type in the preparation checklist so a later investigator can distinguish a credential selection problem from a server access problem.
These applicative credentials support access to the Exchange Admin Center’s of/Servers/Servers.slab folder and the Exchange PowerShell commands used during discovery. Commands include Get-ExchangeServer, Get-MailboxServer, Get-ClusteredMailBoxServerStatus, Get-StorageGroup, and Get-MailboxDatabase. Treat command access as something to verify with the Exchange administrator, rather than assuming that a successful Windows connection proves it.
For CAS 2007 and 2010, provide an Exchange Mailbox OS user that can run Exchange services on Windows and query the Exchange repository. Configure its Windows credentials with Credential alias set to [cmdb_ci_exchange_mailbox]. The alias makes that credential available for the CI in patterns. Keep the alias check distinct from the applicative credential CI type check.
Match the PowerShell prerequisites to the CAS version
The required PowerShell preparation depends on the CAS version. Make a short server-by-server record before discovery, identifying the CAS host, its version, the module installed there, and the account whose permissions were checked. This gives troubleshooting a specific starting point if one component fails while another is found.
- For CAS 2010 and 2016, install Microsoft.Exchange.Management.PowerShell.E2010 on the Windows server hosting CAS.
- For CAS 2007, install Microsoft.Exchange.Management.PowerShell.Admin on the Windows server hosting CAS.
- For CAS 2007 and 2010, upload the rctrlx tool to the MID Servers for running PowerShell commands.
- If using WinRM discovery, include the MID Server trusted-host configuration in preparation.
Do not apply a module requirement to an unlisted CAS version by inference. Where the preparation differs between hosts, keep those differences visible in the checklist. The person creating the service needs to know whether access has been validated on the actual component hosts, not simply whether a MID Server is available.
Map Microsoft Exchange Server application services from web access
The role required for the following service-instance creation and mapping procedure is service_mapping_admin. Have the Outlook web access address ready, including the hostname, port, and /owa path. Use the endpoint for the intended service, rather than choosing a server address merely because it responds.
- Navigate to All > Service Mapping > Service Instances and select New.
- Enter a descriptive value in Name. Discoverable by Service Mapping is selected by default.
- Select the Web Application tile and enter the Outlook web access address in URL.
- Select Add, then Save.
- Open Additional Info on the left and clear Traffic based discovery to keep the Outlook client connections out of this map.
- Select Update, then View Map, and allow mapping to finish.
The general service map creation workflow can help with the surrounding setup. For Exchange, keep the web access entry point and credential preparation together in the handover record. If a map is incomplete, that record makes it easier to test the original discovery assumptions.
Validate components and investigate the first failure
Review the finished map with the Exchange administrator’s expected component list. Check the Exchange server components, transport role, CAS role, and Active Directory dependencies that apply to the deployment. A populated diagram is a starting point for review; compare what was found with what the service actually uses.
The pattern set includes Active Directory Service, ExchangeFrontEndServer On Windows, PatternExchangeBackEndServer On Windows, Hub Transport Server On Windows, and CAS On Windows. Use the affected component and its discovery log to narrow an investigation. Recreating the whole application service before examining the first failing component can discard a clear troubleshooting trail.
A PowerShell permission error means the discovery account cannot run the Exchange commands
A discovery error about a missing Exchange Common Commands PowerShell Snapin can accompany failure in the pattern’s indication sections because the user lacks permission to run PowerShell commands. Check the discovery account’s ability to run those commands on the servers hosting Exchange components, including CAS. Review the applicable module preparation alongside that permission check.
A WinRM authentication error points to the MID Server trusted-host setting
A WinRM error can describe an unsupported authentication mechanism or disabled unencrypted traffic. In this mapping scenario, inspect the MID Server trusted-host configuration on the component being discovered. Add the MID Server to the trusted hosts on the target hosts to be discovered. Keep the target hostname with the error so the check reaches the failing host.
A very large map full of Outlook clients means traffic-based discovery is running
For Exchange 2007, 2010, or 2013, a very large map containing Outlook clients can indicate traffic-based discovery tracing open connections instead of using PowerShell commands. Check command permissions on the Exchange component hosts. Treat the extra client connections as evidence to investigate the discovery method, rather than as proof of a more complete service model.
For a wider investigation beyond these Exchange symptoms, use the Service Mapping troubleshooting guide. For help planning this work, see ServiceNow implementation.
Before signing off, classify each finding as an access failure, a component mismatch, or an unresolved deployment question. For an access failure, name the host and command or connection that failed. For a mismatch, identify the expected role and the observed map result. For an unresolved question, assign the review to someone who knows the Exchange layout.
Change one relevant preparation item at a time and retain the earlier result for comparison. For example, after correcting command permissions on a CAS host, compare that host’s discovery outcome with the previous attempt. Comparing that host’s new outcome with the earlier attempt shows whether the change addressed the symptom, and the note gives the next investigator a record of what was already tried.
Questions about Exchange mapping decisions
Which Exchange versions does this mapping procedure cover?
The Exchange components in this procedure are listed for Exchange 2003, 2007, 2010, 2013 and 2016. Confirm the deployed version is on that list before following the procedure, and treat any other version as a case to check with the Exchange administrator.
Mail delivery and user access sit outside what a service map proves. If the project also needs those checks, record them as a separate operational check with the email team rather than drawing that conclusion from the diagram.
What should the handover record contain after acceptance?
Keep the chosen entry point, expected component list, credential types, CAS preparation, reviewed map, and unresolved findings together. Record who reviewed the layout and what they checked. A later reviewer can then see why the service boundary was drawn where it was, without reconstructing the decision from scratch.
When should pattern customization enter the plan?
Service Mapping cannot discover an Exchange Server whose configuration lacks support for public folders, edge transports and public messaging, so that configuration needs a new or customized pattern. Identify that configuration early with the Exchange administrator. Put pattern work into the plan before treating repeated discovery runs as a way to resolve the configuration limitation.
How should a team handle an uncertain component expectation?
Mark it as an open review item and ask the Exchange administrator to establish whether the component belongs to the chosen service. Separate an unknown expectation from a verified discovery failure. That distinction keeps troubleshooting focused and avoids accepting a map simply because nobody has identified what should be present.