Removal of ServicePrincipalNames on Account

RobC 21 Reputation points
2022-05-13T09:58:54.42+00:00

I have 3 user/service accounts with SPN's that I can't remove under user and computers/attribute editor, they are greyed out, I have full domain admin access also.

I've tried in AD, ADSIedit and using powershell.

e.g. Set-ADUser -Identity accountname -ServicePrincipalNames @{Remove='MSSQLSvc/servername.domainname.local:1433'}

Can anyone tell me why it might be greyed out and how to remove it. I've also had global/domain admins try.

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
5,907 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Gary Reynolds 9,391 Reputation points
    2022-05-13T10:21:22.557+00:00

    Hi,

    Have a look at this article on how to remove an SPN

    Gary.

    0 comments No comments