I'll happily close this if its a dumb question. I am trying to grant rights to SELF on an AD service (user) account for a MSSQL Server instance account.
Problem is I cannot see the check box for Read ServicePrincipalName / Write ServicePrincipalName based on multiple sources that suggest I need to add that ACE to the account.
Is this because I am using a user account as supposed to an MSA? I tried running the following anyway since I should not be limited by checkboxes...
dsacls "CN=SQL Engine Service,<redacted>" /G SELF:RPWP; "servicePrincipalName"
Which came back as successful but I have been unable to verify that change is present anywhere.
(get-acl "ad:\CN=SQL Engine Service,OU=Service Accounts,DC=cdn-north,DC=ab,DC=ca").access | where identityreference -eq "NT AUTHORITY\SELF" | select objecttype,activedirectoryrights
ObjectType ActiveDirectoryRights
---------- ---------------------
ab721a53-1e2f-11d0-9819-00aa0040529b ExtendedRight
00000000-0000-0000-0000-000000000000 WriteProperty, GenericRead
e45795b2-9455-11d1-aebd-0000f80367c1 ReadProperty, WriteProperty
e45795b3-9455-11d1-aebd-0000f80367c1 ReadProperty, WriteProperty
ab721a53-1e2f-11d0-9819-00aa0040529b ExtendedRight
ab721a54-1e2f-11d0-9819-00aa0040529b ExtendedRight
ab721a56-1e2f-11d0-9819-00aa0040529b ExtendedRight
77b5b886-944a-11d1-aebd-0000f80367c1 ReadProperty, WriteProperty
ea1b7b93-5e48-46d5-bc6c-4df4fda78a35 WriteProperty
3f78c3e5-f79a-46bd-a0b8-9d18116ddc79 ReadProperty, WriteProperty
91e647de-d96f-4b70-9557-d63ff4f3ccd8 ReadProperty, WriteProperty, ExtendedRight
I am expected to see th GUID Service-Principal-Name (f3a64788-5306-11d1-a9c5-0000f80367c1) but its not there.
Where I am going wrong? Why can't I add read and write permission for ServicePrincipalName to the user account sqlengine in my domain?