Поделиться через


Service account requirements

TFS 2015

You must use service accounts to install any of the following Azure DevOps on-premises servers:

  • Azure DevOps Server
  • Team Foundation Server (TFS)
  • Team Foundation Build
  • Team Foundation Server Proxy.

Also, if you use SQL Server Reporting Services, you also must have a report reader account when you install Azure DevOps on-premises. Azure DevOps servers require multiple identities for installation, but you can use a single account for all the identities if that account meets the requirements for all the identities for which you use it.

Tip

Confused about accounts? A tutorial is available that covers how to create accounts and groups for a single-server installation. For more information, see Set up groups for use in Azure DevOps.

Best practices for working with service accounts

Here are some best practices for working with Azure DevOps service accounts:

  • If you use domain accounts for your service accounts, use a different identity for the report reader account.
  • If you are installing a component in a workgroup, you must use local accounts for user accounts.

Note

To make it easier to discuss the different accounts that Azure DevOps on-premises requires, this article uses example placeholder names. You don't have to use these placeholder names for any accounts that you might create. 2.

Network Service or built-in accounts

Azure DevOps Server, Team Foundation Server, Team Foundation Build, and Team Foundation Server Proxy all require a service account. These service accounts become the identity for the installed component. By default, every component uses a built-in account (such as Network Service) as its service account. You can change this account to a user account when you install the component, but you must ensure that any user accounts that you use have Log on as a service permissions.

Tip

Built-in accounts don't use passwords. Built-in accounts already have Log on as a service permissions, so they're easier to manage, especially in a domain environment.

Azure DevOps service accounts

The service accounts in the following table are the identities for Azure DevOps Server or Team Foundation Server and their components. The service account for Azure DevOps Server is also used in Internet Information Services (IIS) as the identity of the application pool for Azure DevOps Server.

Component

Sample user logon name

Requirements


Azure DevOps Server

AzureDevOpsService

You can specify a built-in account or a user account. If you specify a user account, it must have Log on as a service permissions.
You must not use the account that you use to install Azure DevOps Server as the account for AzureDevOpsService. For example, if you are logged in as domain\user1 when you install Azure DevOps Server, don't use domain\user1 as the account for AzureDevOpsService.

If your SharePoint site wasn't installed at the same time as Team Foundation Server, you must add AzureDevOpsService to the Farm Administrators group for the SharePoint Central Administration site. For more information, see Add the service account for Team Foundation Server to the Farm Administrators group.

Default: Network Service

Team Foundation Build

TFSBUILD

You can specify a built-in account or a user account. If you use a user account, it must have Log on as a service permissions.

Azure DevOps Server Proxy

AzureDevOpsServerProxy

You can specify a built-in account or a user account. If you use a user account, it must have Log on as a service permissions.


Service accounts for Release Management for Visual Studio 2013

Note

Release Management features are integrated into Team Foundation Server 2015.2 and later versions and into the web portal Release, Build and Release, and Pipelines hubs. The newer web-based version is the recommended alternative to the server and client version. For more information, see Automate deployments with Release Management.

The service accounts in the following table are the identities for Release Management Server and the Microsoft Deployment Agent. These accounts are only required for Team Foundation Server 2015.1 and earlier versions.

Component Sample user logon name Requirements
Release Management Server RMSERVER This is the identity used in IIS uses for the application pool and the Release Management Monitor Windows service.

Default: Network Service
Microsoft Deployment Agent DEPLOY This identity is used to configure the machines in your environment for release. Make sure that the identity you use has the necessary permissions to do whatever tasks are required. For example, if you need to install your application on this machine as part of your release, add this identity to the local Windows Administrators security group. If this identity needs to access builds on the network, make sure it has access to the network drop location. For step-by-step procedures, see Install deployment agent and set up machines for an environment.

Default: You are prompted for an account.

Connect Release Management to TFS account

If you connect Release Management to Azure DevOps Server or TFS, you need an account to act as an intermediary account. For step-by-step procedures, see Connect Release Management to TFS.

Component Sample user logon name Requirements
Release Management Server (connected to TFS) RMAzureDevOpsServer A TFS user that is a member of Project Collection Administrators (minimal permissions that this account must have) group and has Make requests on behalf of others permissions set to allow in TFS.

SQL Server service account

The SQL Server service account is an identity that runs Windows services for SQL Server. In the following example, SQLSERVICE is a placeholder name.

Sample user logon name Requirements
SQLSERVICE You can use a built-in system account or set up an account before you install SQL Server. Azure DevOps Server and Team Foundation Server has no requirements for this account.

Report reader account

The report reader account is the identity that's used to gather information for reports. If you use SQL Server Reporting, you must specify a report reader account when you install Azure DevOps Server. If you install Azure DevOps Server with the default options, the report reader account is also used as the identity of the service account for SharePoint Foundation.

Feature Sample user logon name Requirements
Reporting AzureDevOpsServerReports You must specify a user account that has Allow log on locally permissions.
Default: You're prompted for this account. You can't use a built-in account for the report reader account.

See also SQL Server Reporting Services roles.

SharePoint service account

Note

TFS 2018 and later versions no longer support native integration with SharePoint products. If you're planning to upgrade to TFS 2018, read About SharePoint integration to learn about the options available to you.

The service account for SharePoint Products is also the identity of the application pool for the SharePoint Central Administration site. The SharePoint service account is an identity that runs Windows services for SharePoint products. In the following example, WSSSERVICE is a placeholder name.

Sample user logon name Requirements
WSSSERVICE You must specify a user account.

Default: If you install Team Foundation Server with the default options, the account that you specified as the report reader account is also used for this account.