Sign in with Microsoft
Sign in or create an account.
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.


Consider the following scenario:

  • You have a Microsoft SQL Server 2016 or 2017 which is a Distributor in SQL Server Replication.

  • The built-in sysadmin account "sa" is renamed to a different name, even if "sa" is disabled.

  • You try to upgrade to SQL Server 2016 Service Pack 2 (SP2) Cumulative Update 3 (CU3), Cumulative Update 4 (CU4) or later versions.

In this situation, you may notice that the upgrade operation fails, and you may receive an error message that resembles the following in the SQL Server error log:

The specified '@owner_login_name' is invalid (valid values are returned by sp_helplogins [excluding Windows NT groups])


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.


This issue is fixed in the following cumulative updates for SQL Server:

Note: To avoid receiving the error message while upgrading to SQL Server 2016 SP2 CU3 or CU4, you should uninstall CU3 or CU4 and install the SQL Server 2016 SP2 CU5 or later versions.

About cumulative updates for SQL Server:

Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:


Learn about the terminology that Microsoft uses to describe software updates.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!