12 May,2017 by Tom Collins
Msg 15151, Level 16, State 1, Line 1 Cannot alter the login 'Domain\Group', because it does not exist or you do not have permission appeared when attempting to DISABLE a login. The statement I was executing was :
ALTER LOGIN [DOMAIN\a_group] DISABLE GO
I checked my permissions with How to check my SQL permissions
Workaround\fix
According to the SQL Server BOL You cannot disable windows groups. This may force you to either lower the privileges or drop the login
If you want to drop the loging , check with application owner and also script out the login prior to DROP.
This is only a preview. Your comment has not yet been posted.
As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.
Having trouble reading this image? View an alternate.
Posted by: |