---
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."
---

# :fa-plug: BizTalk Tab

The **BizTalk** tab of the [Remote Configuration][Configure BizTalk Monitoring Agent] tells the :Nodinite: [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.

* :fa-plug: **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;
```

>[!TIP]
>**Need help with connection strings?** See the comprehensive [SQL Server Connection Strings][SQL Connection Strings] guide for:
>
>* Certificate validation and encryption settings
>* Always On Availability Groups (AOAG) configuration
>* Troubleshooting common errors
>* Security best practices

>[!IMPORTANT]
>If you see "The certificate chain was issued by an authority that is not trusted", add `TrustServerCertificate=True` to your connection string OR install the SQL Server certificate's CA on the agent host. See [SQL Server Connection Strings][SQL Connection Strings] for details.

:fa-arrow-up-right-from-square: [Connection string reference][ConnectionStrings]

>[!IMPORTANT]
>Restart the monitoring agent after changing the connection string.

>[!IMPORTANT]
>If you run multiple agent instances for a single BizTalk Server Group:
>
>* Update the connection strings (BizTalk Management Database and [Agent Database][]) in the `Settings.json` file on all servers
>* The two connection strings have different syntax—BizTalkMgmtDb uses standard SQL connection format, Agent Database uses application-specific format

## 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;
```

>[!TIP]
>Use `MultiSubnetFailover=True` for faster failover (2-3s vs 10-20s). See [SQL Connection Strings][SQL Connection Strings] for AOAG configuration details.

## :fa-filter: 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 (`_`).*  

>[!TIP]
>Test filters individually to avoid accidentally hiding important Resources.  

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

## :fa-hand-point-right: Next Steps

* :fa-suitcase-medical: [Health Check Tab][]  
* :fa-wrench: [Settings Tab][] (the Agent Database connection string)  
* :fa-edit: [Configure BizTalk Monitoring Agent][] (all tabs)  

## :fa-link-horizontal: Related Topics

* :fa-database: [SQL Server Connection Strings][SQL Connection Strings]  
* :fa-layer-group: [Group][]  
* :fa-monitor-waveform: [Microsoft BizTalk Server Monitoring Agent][BizTalk Monitoring Agent]  

[7]:{ndm}/Documentation%20Pictures/MonitorAgent/BizTalk/RemoteConfig/ConnectionString.png
[9]:{ndm}/Documentation%20Pictures/MonitorAgent/BizTalk/RemoteConfig/BizTalkExcludeFilter.png

[Agent Database]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Agent%20Database.md
[AOAG]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Always%20On%20Availability%20Groups.md
[Applications]:{ndr}/Administration/2.%20Monitor%20Management/5.%20Applications/Features/What%20is%20an%20Application.md
[BizTalk Application]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Monitoring/Features/Application/Overview.md
[BizTalk Monitoring Agent]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Monitoring/Overview.md
[Configuration Save]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Monitoring/Getting%20started/3.%20Configuration.md#fa-save-save
[Configure BizTalk Monitoring Agent]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Monitoring/Getting%20started/3.%20Configuration.md
[ConnectionStrings]:https://www.connectionstrings.com/sql-server/
[gif_BizTalkTab]:{ndm}/Documentation%20Pictures/MonitorAgent/BizTalk/RemoteConfig/BizTalkConfig_BizTalkTab.gif
[Group]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Monitoring/Features/Group/Overview.md
[Health Check Tab]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Monitoring/Getting%20started/Configuration/Health%20Check%20Tab.md
[RegEx]:{ndr}/Administration/1.%20Log%20Management/2.%20Search%20Fields/Features/Search%20Field%20Expressions/Formula/Extract/regex.md
[Resources]:{ndr}/Administration/2.%20Monitor%20Management/3.%20Resources/Features/What%20is%20a%20Resource.md
[Settings Tab]:{ndr}/Logging%20and%20Monitoring/Microsoft%20BizTalk%20Server%20-%20Monitoring/Getting%20started/Configuration/Settings%20Tab.md
[SQL Connection Strings]:{ndr}/Install%20and%20Update/Troubleshooting/SQL%20Server/Connection%20Strings.md