Configure Key-Value in BizTalk Config File and Use in Orchestration

Please follow the steps below depending on whether your machine is 64-bit or 32-bit:

1. Navigate to the installation directory of BizTalk server.

e.g. C:\Program Files (x86)\Microsoft BizTalk Server 2016

2. Open the BTSNTSvc & BTSNTSvc64.exe.config file, in any editor.

3. Scroll down and add the following lines just below the </system.runtime.remoting>

<appSettings> <add key=”Name_of_Variable” value=”Variable_value”/> </appSettings>

4. Open the BizTalk Orchestration and go to either the expression shape or assignment shape as per the needs.

5. To retrieve the value by using the following code:


Note: After making changes, you need to restart the respective host instance.

Post a comment

Leave a Comment

Scroll to Top