---
title: "BizTalk Tab: Connection String, AOAG, and Filters for the BizTalk Monitoring Agent"
description: "Configure the BizTalk tab of the Nodinite BizTalk Server Monitoring Agent: the BizTalkMgmtDb connection string, Always On Availability Group listeners, and RegEx filters that exclude Applications and Resources."
---

# <i class="fal fa-plug" aria-hidden="true"></i> BizTalk Tab

The **BizTalk** tab of the [Remote Configuration][Configure BizTalk Monitoring Agent] tells the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Microsoft BizTalk Server Monitoring Agent][BizTalk Monitoring Agent] which BizTalk Server [Group][] to monitor, and which artifacts to leave out.

* ✅ Connect to the BizTalk management database (**BizTalkMgmtDb**)  
* ✅ Fail over automatically through an [Always On Availability Groups][AOAG] listener  
* ✅ Hide [Applications][] and [Resources][] you don't want to see, with [RegEx][] filters  

![Animation: the BizTalk tab with Enabled, the connection string, and a new BizTalk Application filter with the expression ^Test][gif_BizTalkTab]  
*The **BizTalk** tab: **Enabled**, the [Connection String][SQL Connection Strings], then **BizTalk Application(s) filter** › **Add** with the expression `^Test`. After **Save and close**, the agent stops monitoring the [BizTalk Applications][BizTalk Application] whose name starts with "Test".*  

## Enable monitoring

To enable monitoring, configure the agent with the BizTalk management database [connection string][SQL Connection Strings] for the group you wish to monitor.

* <i class="fal fa-plug" aria-hidden="true"></i> **Connection String** — Enter the connection string for the BizTalk management database (typically **BizTalkMgmtDb**)

The agent connects to BizTalkMgmtDb using **Microsoft.Data.SqlClient** with modern TLS defaults—older connection strings may need updates when upgrading the agent.

![The BizTalk tab with Enabled checked and a BizTalkMgmtDb connection string with Integrated Security and Encrypt=True][7]  
*The **BizTalk** tab: **Enabled** and the BizTalk management database **Connection String**.*  

### Quick Start Examples

Dev/test with self-signed certificate:

```ini
Data Source=localhost;Initial Catalog=BizTalkMgmtDb;Integrated Security=True;Encrypt=True;TrustServerCertificate=True;
```

Production with trusted CA:

```ini
Data Source=SQL01\BIZTALK;Initial Catalog=BizTalkMgmtDb;Integrated Security=True;Encrypt=True;TrustServerCertificate=False;
```

<aside aria-label="Tip" class="nodinite-note nodinite-note--tip">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-lightbulb"></i> Tip</p>
<div class="nodinite-note__content"><p><strong>Need help with connection strings?</strong> See the comprehensive <a href="https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/connection-strings/">SQL Server Connection Strings</a> guide for:</p><ul>
<li>Certificate validation and encryption settings</li>
<li>Always On Availability Groups (AOAG) configuration</li>
<li>Troubleshooting common errors</li>
<li>Security best practices</li>
</ul></div>
</aside>

<aside aria-label="Important" class="nodinite-note nodinite-note--important">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-message-exclamation"></i> Important</p>
<div class="nodinite-note__content"><p>If you see "The certificate chain was issued by an authority that is not trusted", add <code>TrustServerCertificate=True</code> to your connection string OR install the SQL Server certificate's CA on the agent host. See <a href="https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/connection-strings/">SQL Server Connection Strings</a> for details.</p></div>
</aside>

<i class="fal fa-arrow-up-right-from-square" aria-hidden="true"></i> [Connection string reference][ConnectionStrings]

<aside aria-label="Important" class="nodinite-note nodinite-note--important">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-message-exclamation"></i> Important</p>
<div class="nodinite-note__content"><p>Restart the monitoring agent after changing the connection string.</p></div>
</aside>

<aside aria-label="Important" class="nodinite-note nodinite-note--important">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-message-exclamation"></i> Important</p>
<div class="nodinite-note__content"><p>If you run multiple agent instances for a single BizTalk Server Group:</p><ul>
<li>Update the connection strings (BizTalk Management Database and <a href="https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/agent-database/">Agent Database</a>) in the <code>Settings.json</code> file on all servers</li>
<li>The two connection strings have different syntax—BizTalkMgmtDb uses standard SQL connection format, Agent Database uses application-specific format</li>
</ul></div>
</aside>

## Always On Availability Groups (AOAG)

When BizTalk Server runs on **SQL Server Always On Availability Groups**, the agent connects through the **AG listener** for automatic failover.

### AOAG Connection String Example

```ini
Data Source=AG-Listener;Initial Catalog=BizTalkMgmtDb;Integrated Security=True;Encrypt=True;TrustServerCertificate=True;MultiSubnetFailover=True;
```

<aside aria-label="Tip" class="nodinite-note nodinite-note--tip">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-lightbulb"></i> Tip</p>
<div class="nodinite-note__content"><p>Use <code>MultiSubnetFailover=True</code> for faster failover (2-3s vs 10-20s). See <a href="https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/connection-strings/">SQL Connection Strings</a> for AOAG configuration details.</p></div>
</aside>

## <i class="fal fa-filter" aria-hidden="true"></i> Filters

Exclude [Applications][] and [Resources][] by their **Name** with regular expressions. The tab has two filter lists:

| List | Matches |
| --- | --- |
| **BizTalk Application(s) filter** | BizTalk Application names |
| **BizTalk Resources(s) filter** | BizTalk artifact names (ports, orchestrations, and other [Resources][]); "Resources(s)" is the product's own spelling |

Click **Add** in a list to add a filter. Each filter has a **Filter expression** (a RegEx) and an **Enabled** box; a new filter starts empty and enabled. Clear **Enabled** to keep a filter without using it. Both lists are empty until you add a filter, so by default the agent monitors everything in the [Group][].  
![A BizTalk Application filter with the expression ^Test, enabled][9]  
*A **BizTalk Application(s) filter** with the expression `^Test`.*  

```regular
^[_].*
```

*This RegEx removes all Resources starting with an underscore (`_`).*  

<aside aria-label="Tip" class="nodinite-note nodinite-note--tip">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-lightbulb"></i> Tip</p>
<div class="nodinite-note__content"><p>Test filters individually to avoid accidentally hiding important Resources.</p></div>
</aside>

Click **Save** or **Save and close** to apply the changes; see [Save][Configuration Save] on the configuration overview.

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

* <i class="fal fa-suitcase-medical" aria-hidden="true"></i> [Health Check Tab][]  
* <i class="fal fa-wrench" aria-hidden="true"></i> [Settings Tab][] (the Agent Database connection string)  
* <i class="fal fa-edit" aria-hidden="true"></i> [Configure BizTalk Monitoring Agent][] (all tabs)  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

* <i class="fal fa-database" aria-hidden="true"></i> [SQL Server Connection Strings][SQL Connection Strings]  
* <i class="fal fa-layer-group" aria-hidden="true"></i> [Group][]  
* <i class="fal fa-monitor-waveform" aria-hidden="true"></i> [Microsoft BizTalk Server Monitoring Agent][BizTalk Monitoring Agent]  

[7]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/BizTalk/RemoteConfig/ConnectionString.png
[9]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/BizTalk/RemoteConfig/BizTalkExcludeFilter.png

[Agent Database]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/agent-database/
[AOAG]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/always-on-availability-groups/
[Applications]:https://docs.nodinite.com/administration/monitor-management/applications/features/what-is-an-application/
[BizTalk Application]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/features/application/overview/
[BizTalk Monitoring Agent]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/overview/
[Configuration Save]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/getting-started/configuration/#fa-save-save
[Configure BizTalk Monitoring Agent]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/getting-started/configuration/
[ConnectionStrings]:https://www.connectionstrings.com/sql-server/
[gif_BizTalkTab]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/BizTalk/RemoteConfig/BizTalkConfig_BizTalkTab.gif
[Group]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/features/group/overview/
[Health Check Tab]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/getting-started/configuration/health-check-tab/
[RegEx]:https://docs.nodinite.com/administration/log-management/search-fields/features/search-field-expressions/formula/extract/regex/
[Resources]:https://docs.nodinite.com/administration/monitor-management/resources/features/what-is-a-resource/
[Settings Tab]:https://docs.nodinite.com/logging-and-monitoring/microsoft-biztalk-server-monitoring/getting-started/configuration/settings-tab/
[SQL Connection Strings]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/connection-strings/