BAM Installation and Configuration in Multi server Environment

In Most of the Project development, BAM is always chosen as second phase. In Existing BizTalk Project, BAM will add as an additional layer to the solution.

In this blog We are explaning about BAM installation in Multi server Environment. The below BAM installation steps assumes that BizTalk is already installed and configured. To install BAM on BizTalk Servers, we need to again run the BizTalk server setup file on all BizTalk Servers and follow the below steps

Note: The Log on User account to install and configure BAM should have admin rights on SQL server and Biztalk both.

  1. When we run the set-up file, below page will be popup.


  1. Click on Install Microsoft BizTalk Server 2013 R2


  1. Select Modify as below:


  1. Select Portal Component along with all others Component, which had already installed on the machine.


Note: Please select all components which are already installed otherwise It will remove those component from the BizTalk Server and then we need to install all the components again.

  1. Select all BAM Component in Additional Software as Below:


  1. Click Next and install.

Configuring BAM

As a part of multi-computer environment, while configuring BAM, we need to select the Custom Configuration option in the BizTalk Server Configuration tool on each Biztalk Server in the group.

1. Configuring BizTalk BAM Server

Here we assume that Biztalk Server is already installed and configured, we just need to add BAM Tool and BAM portal Configuration on the BizTalk Server. BAM also requires the following:

  • SQL Server Analysis Services (SSAS)
  • SQL Server Integration Services (SSIS)
  • SQL Server Database Mail or SQL Server Notification Services (SSNS)

To configure BAM

  1. Click Start, point to All Programs, point to Microsoft BizTalk Server, and then click BizTalk Server Configuration.


  1. In the left pane, click BAM Tools, and then enter or select the following values:
Name Value
Enable Business Activity Monitoring tools (selected)
Enable Analysis Services for BAM aggregations (selected)
BAM Primary Import Database: Server Name the SQL Server host name
BAM Primary Import Database: Database Name the default name is BAMPrimaryImport
BAM Archive Database: Server Name the SQL Server host name
BAM Archive Database: Database Name the default name is BAMArchive
BAM Analysis Database: Server Name the SQL Server host name
BAM Analysis Database: Database Name the default name is BAMAnalysis
BAM Star Schema Database: Server Name the SQL Server host name
BAM Star Schema Database: Database Name the default name is BAMStarSchema

Screenshot as below:


Note: The service account used for the OLAP service should have db_datareader permissions on the BAM Star Schema database.

  1. In the left pane, click BAM Alerts, and then enter or select the following values (Optional).
    BAM alerts require SQL Server Database Mail , and BAM tools to be enabled.
Name Value
Enable SQL Notification Services for BAM alerts (selected)
Windows service BTService
BAM Alerts SMTP Server (the SMTP server that will be used to send the BAM alerts.)
BAM Alerts File Location (the network share that will be used to store the BAM alerts.)
Note : We must manually create this share before BAM alerts can store the files.
SQL Server for Alerts Databases the name of the SQL Server
Prefix for Alerts Database Names (a prefix that will be used for the alerts databases)

Note: Do not install BAM Alerts unless you have a SMTP server available and planning to use BAM Alerts feature. SKIP installation of BAM Alerts by Unchecking the box in case it is already checked.

  1. In the left pane, click BAM Portal, and then enter or select the following values. In case you have not created domain groups for BAM , create the below three domain groups to control access to BAM:
  1. (domain)\BAM Portal Users
  2. (domain)\BAMAppPoolUser
  3. (domain)\BAMMgmtWSUser
Name Value
Enable BAM Portal (selected)
BAM Management Web Service user (domain)\BAMMgmtWSUser
BAM Application Pool Account (domain)\BAMAppPoolUser
BAM Portal Users (domain)\BAM Portal Users
BAM Portal Web Site Default Web Site

Note: BAM Management Web Service user and BAM Application Pool Account can be service account but service account will have admin access on BizTalk server.

Screen Shot as below which uses a Bam Portal users group as everyone which is not recommended in production environments and create a separate “BAM Portal Users” in domain.


  1. Click Apply Configuration.
  2. On the Summary page, to apply the configuration, click Next.
  3. Verify that the Configuration Result is Success, and then click Finish.
  4. Close Microsoft BizTalk Server 2013 R2 Configuration.

2. BAM Portal Configuration

After BAM Configuration with BizTalk Server Configuration. We need to check BAM Portal and config setting (if Require) on IIS.


Select BAM in Left side and open Authentication in Right side of IIS window as mentioned below screenshot:


Now Select Window Authentication and Click on Provider.. as mentioned in Below Screenshot.


Note: Only Enable ASP.NET Impersonation and Windows Authentication.

Select NTLM and Click Move Up Button. NTLM should be the first in the list of Providers


When we browse BAM Portal, it will open as below:


Note: BAM Portal works on Internet Explorer. For Chrome , a separate Extension IE tab is required.


Resource Link
Installation of BAM
Installation of BizTalk
Installation & Configuration Issue

BAM (Business Activity Monitoring)

BAM is the optional and important part of BizTalk. Its available when we are installing BizTalk Server.

BAM is used for monitor the data and milestone of the messages in near real time, which are passing thought the BizTalk.

Its show the tracking information of messages on web Portal to Business people who don’t know about the BizTalk inside activity. So, Business people or users will know about the details which is require when the messages processing in BizTalk. It shows when messages is processed through BizTalk, has it successful passed or not. And also generate alert message if require.

BAM is rich set of Tools for monitoring. It’s available along with BizTalk Licence. BAM Portal is ASP.NET Component.

In terms of MSDN (

Business Activity Monitoring (BAM) is a collection of tools that allow you to manage aggregations, alerts, and profiles to monitor relevant business metrics (called Key Performance Indicators, or KPIs). It gives you end-to-end visibility into your business processes, providing accurate information about the status and results of various operations, processes, and transactions so you can address problem areas and resolve issues within your business.

Benefits of BAM

  • BAM portal- Here user can track all the details for messages, aggregate data and generate alert.
  • BAM as a reporting solution provides a familiar environment to business users by taking advantage of Office and Sharepoint
  • Unlike application development, BizTalk development often does not have anything tangible which can be shown to a client. BAM will provide them information about their business processes and can help them to see the benefits of the solution
  • BAM can be implemented in easy way with some small coding if we write BAM programatically and with no code in case of Tracking Profile Editor
  • BAM is a built-in feature of BizTalk which a company who invests in BizTalk will already have made
  • In Most of the Project development, BAM is always chosen as second phase. In Existing BizTalk Project, BAM will add as an additional layer to the solution. You would simply deploy the BAM artifacts to the existing BizTalk group