Przy nadawaniu użytkownikowi 'sa' roli serveradmin otrzymuję komunikat błędu

Waldemar Czarnecki 80 Reputation points
2026-07-03T12:48:58.86+00:00

Dzień dobry.

Przy nadawaniu użytkownikowi 'sa' roli serveradmin otrzymuję komunikat błędu:

TYTUŁ: Microsoft SQL Server Management Studio

Operacja Dodaj członka nie powiodła się dla elementu ServerRole „serveradmin”. (Microsoft.SqlServer.Smo) Aby uzyskać pomoc, kliknij: https://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=18.100.1.25&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Dodaj+członka+ServerRole&LinkId=20476

DODATKOWE INFORMACJE: Wystąpił wyjątek podczas wykonywania instrukcji lub partii Transact-SQL. (Microsoft.SqlServer.ConnectionInfo)

Cannot use the special principal 'sa'. (Microsoft SQL Server, Błąd: 15405) Identyfikator połączenia 6fea4cd3-434f-475a-9a20-b2e936dadeb5 w witrynie 2026-07-03 09:14:28Z

Jaka jest przyczyna błędu?

Jak poprawnie nadać użytkownikowi 'sa' role serveradmin?

Pozdrawiam.

W. Czarnecki

SQL Server | SQL Server Transact-SQL

Answer accepted by question author
Erland Sommarskog 136.7K Reputation points MVP Volunteer Moderator
2026-07-03T12:57:21.2533333+00:00

The language for this forum is English. My tiny knowledge of Polish is not enough to understand what you are doing, but I get the impression that you are trying to add the login sa to the server role serveradmin. You cannot do that, and there is no point with it. Since sa is member of sysadmin it already has all permissions implied by serveradmin.

If that does not answer your question, please clarify your question. Preferably in English.

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.