Creating Hosts in BizTalk Script


Creating BizTalk Hosts and host instances can be done with scripts. Below is script for creating hosts:

This script will result in following outcome:


Looking at properties it, 32-bit only is checked and others are unchecked. The same behaviour occurs if this script is performed in 64-bit environment and something you might not want.


Script I showed at begin is one I have been provided with by a colleague and useful to create one or more hosts. Key here is MSBTS_HostSetting that has a couple properties like AuthTrusted, HostType, HostTracking, IsDefault and IsHost32BitOnly (there are more). This gave some insight that script can be altered to have a more desirable outcome. I altered the script by adding setting for HostTracking, Isdefault and IsHost32BitOnly.

Running this script gave me a more desirable outcome:


As you can see there is a lot flexibility here as you can alter the script to any possible outcome depending on the situation required. There is also a tool available to create hosts and some explanation (background) that is very useful.


Author: Steef-Jan Wiggers

Steef-Jan Wiggers is all in on Microsoft Azure, Integration, and Data Science. He has over 15 years’ experience in a wide variety of scenarios such as custom .NET solution development, overseeing large enterprise integrations, building web services, managing projects, designing web services, experimenting with data, SQL Server database administration, and consulting. Steef-Jan loves challenges in the Microsoft playing field combining it with his domain knowledge in energy, utility, banking, insurance, healthcare, agriculture, (local) government, bio-sciences, retail, travel, and logistics. He is very active in the community as a blogger, TechNet Wiki author, book author, and global public speaker. For these efforts, Microsoft has recognized him a Microsoft MVP for the past 8 years.


Back to Top