r/azuredevops • • 12d ago

Azure DevOps Server Patching Error TF246017: Is the SQL 'sysadmin' role strictly required?

I am currently setting up a fully air-gapped (offline) Azure DevOps Server on Windows Server 2025, backed by a dedicated SQL Server instance. The environment is still in the development phase.

When attempting to apply the latest security patch, the installation fails with the following error:TF246017

Looking at the logs, this happens specifically when the patch triggers the tfsconfig.exe process on the background (for example, while trying to update feature flags). The patch is being executed by an admin account that does not currently have high-level SQL privileges.

From my research and the Microsoft documentation, it appears that the account executing the patch strictly requires the SQL sysadmin server role, and that a standard db_owner role is insufficient for tfsconfig.exe to do its job.

Can anyone confirm if the sysadmin role is indeed a hard requirement for applying ADOS patches? And if so, how do you handle this in strictly regulated environments? Do you grant it temporarily just for the maintenance window?

Any insights would be greatly appreciated!

3 Upvotes

Duplicates