BizTalk – AD Groups and Users
When BizTalk Server and SQL Server are installed on different machines, you must manually ad the right Groups and Users to your Active Directory. This post will describe how to do this and give suggestion of Groups and Users you will need.
In our lab environment, this is done on the domain controller (DC) my-dc01, which have the Active Directory Users and Computers installed.
Index
- Prerequisites
- Create dedicated OU for BizTalk
- How to Create a Group in OU
- How to Create User in OU
- Table of all Groups for BizTalk
- Special Groups
- Table of all Users for BizTalk
- BizTalk Users for SQL
- Overview Groups and Users
- How to add Logins to SQL Server
- How to add sysadmin for SQL Server
- How to change SQL Service Accounts
- References
Prerequisites
This post assumes that you already have a Windows Failover Cluster with a clustered SQL instance (SQL Server installation). You can follow a series of blogpost about how to create it here:
- How to Create a SQL Cluster – A Summary: https://www.raspberryfield.life/2019/04/15/how-to-create-a-sql-cluster-a-summary/ [2019-05-04]
Back to Index.
Create dedicated OU for BizTalk
A good idea is to create a dedicated OU (folder in the AD) for BizTalk. Go to: Active Directory Users and Computers on the server that is promoted to Domain Controller. Right click in the right pane:

And name a the OU (folder), it will show up in the left pane:
Note! Make sure to check Protect container from accidental deletion.

Back to Index.
How to Create a Group in OU
Click on newly created OU and then right click on the right pane:

Give the group a name:

Info. Two people in the icon means that it is a group. Only one person means that the entry is a User.
Back to Index.
How to Create User in OU
Select the OU and right click in the right pane, this time chose User:

Enter the user data:

Set a password for the user:

Confirmation:

Right click the user to set properties for the User:

Under the tab Member Of you can set which groups the user will be in:

Info. You can also put groups in other groups.
Back to Index.
Table of all Groups for BizTalk
Note! Create everything in the BizTalk OU.
Note! The column SQL Server DB and SQL Server Role you can skip for now. This column is information about which SQL roles will be created for each database in the SQL Server for each entity in the AD OU. ‘SQL Server Role’ is in italics and name of [database] is in brackets. The BizTalk Configuration Application will create these roles and databases when we install BizTalk.
BizTalk Groups:
Group Name | Members | Description | ‘SQL Server Role’ / [database] |
---|---|---|---|
SSO Administrators |
|
Administrator of the Enterprise Single Sign-On (SSO) service. | ‘db_owner’ in:
|
SSO Affiliate Administrators |
|
Administrators of certain SSO affiliate applications. Can create/delete SSO affiliate applications, administer user mappings, and set credentials for affiliate application users. | |
BizTalk Server Administrators |
|
Can deploy solutions, manage applications, and resolve message processing issues. To perform administrative tasks for adapters, receive and send handlers, and receive locations, the BizTalk Server Administrators must be added to the Single SignOn Affiliate Administrators. | ‘BTS_ADMIN USERS’ in:
|
BizTalk Server Operators | Has a low privilege role with access only to monitoring and troubleshooting actions. | ‘BTS_OPERATORS’ in:
|
|
BizTalk Server B2B Operators | Contains users that must be able to configure and administer BizTalk Server TPM data and monitor solutions. | ‘BTS_OPERATORS’ in:
|
|
BizTalk Application Users |
|
The default name of the first In-Process BizTalk Host Group created by Configuration Manager. Service accounts for In-Process host instances. | ‘BTS_HOST_USER’ in:
|
BizTalk Isolated Host Users |
|
The default name of the first Isolated BizTalk Host Group created by Configuration Manager. Isolated BizTalk hosts not running on BizTalk Server, such as HTTP and SOAP. | ‘BTS_HOST_USER’ in:
|
BAM Portal Users |
|
(Optional Group) Has access to BAM Portal Web site Only required if you install/use BAM. Everyone group is used for this role by default. Contains no service accounts. |
*Pipelines in BizTalk can be configured to use SSO functionality. In those cases, the biztalk application users need access to SSO. Simply put the group BizTalk Application Users into the group SSO Affiliate Administrators.
Back to Index.
Special Groups
Note! These groups are special cases!
Group Name | Members | Description | ‘SQL Server Role’ / [database] |
---|---|---|---|
IIS_IUSRS |
|
This Group is a built-in group in AD. Find it under Builtin OU (Folder in AD) | |
IIS_WPG |
|
Only create this group if you are going to use Microsoft BizTalk Accelerator for RosettaNet. |
Back to Index.
Table of all Users for BizTalk
Note! Create the Users in the same OU as the Groups – BizTalk.
Users | Member of | Description | ‘SQL Server Role’ / [database] |
---|---|---|---|
usr-bts-admin | BizTalk Server Administrators | The user who needs to be able to configure and administer BizTalk Server. This is a general account for configuring BizTalk Server. | |
srvc-bts-admin | BizTalk Server Administrators | Account used for installing and configuring BizTalk.* You must be logged in with this account to install BizTalk. | |
srvc-bts-sso | SSO Administrators | Service account used to run Enterprise Single Sign-On Service, which accesses the SSO database. User account for the SSO Administrator. | |
srvc-bts-host | BizTalk Application Users | Service account used to run BizTalk In-Process host instance with accesses to In-Process BizTalk host instance (BTNTSVC). | |
srvc-bts-isol-host |
|
Service account used to run BizTalk Isolated host instance (HTTP/SOAP). | |
srvc-bts-rule-engine | (Optional, only if you use Business Rule Engine)Service account used to run Rule Engine Update Service, which receives notifications to deployment/undeployment policies from the Rule engine database. | ‘RE_HOST_USER’ in:
|
|
srvc-bts-bam-alerts | (Optional, required if you use BAM Alerts) Service account used to run BAM Notification Services, which accesses the BAM databases. Note! This account was previously known as BAM Notification Services Use | ‘NSRunService’ :
|
|
srvs-bts-bam |
|
(Optional, requirement for BAM Portal) User account for BAM Management Web service (BAMManagementService) to access various BAM resources. BAM Portal calls BAMManagementService with the user credentials logged on the BAM Portal to manage alerts, get BAM definition XML and BAM views. | |
srvc-bts-bam-app |
|
(OPTIONAL: Only required if you configure/use BAM Portal) Application pool account for BAMAppPool, which hosts BAM Portal Web site. |
Back to Index.
BizTalk Users for SQL
Note! These accounts must be created in the same OU – BizTalk.
Info. If your organization allows it, you can use one generic account for all these functions. E.g. srvc-sql-bts.
User | User Description |
---|---|
srvc-sql-agent | Service Account – SQL Server Agent |
srvc-sql-engine | Service Account – SQL Server Database |
srvc-sql-reporting | Service Account – SQL Server Analysis |
srvc-sql-integration | Service Account – SQL Server Integration |
srvc-sql-bts | Optional – Use only this account for all service settings. In that case use it for:
|
Back to Index.
Overview Groups and Users
Here are all the groups and users:

Back to Index.
How to add Logins to SQL Server
You want your SQL service account e.g. account srvc-sql-bts to be in the login folder:


Once you have the logins, you can administrate them in SQL Server. Add Roles etc.
Back to Index.
How to add sysadmin for SQL Server
Here is one example of to add a group or account as sysadmin in SQL Server:

Back to Index.
How to change SQL Service Accounts
Here is one example how to change a service account in SQL Server.
Note that you have to open the SQL Server Configuration Manager.

Info. You should change Start Mode of SQL Server Agent from default Manual to Automatic.
Back to Index.
References
- Pereira S. (2018). Installing BizTalk Server 2016 in a Basic Multi-Computer Environment whitepaper https://blog.sandro-pereira.com/2018/10/30/installing-biztalk-server-2016-in-a-basic-multi-computer-environment-whitepaper/ [2019-05-04]
Back to Index.