We have migrated our SQL Server - 2008R2 and users using ADMT. I'm having trouble with running the alter command
ALTER LOGIN [ABC\OLD] with name=[DEF\NEW]
The SID history was enabled during the migration - which has been verified as seen below.
NEW
SELECT SUSER_SID('DEF\NEW');
GO
0x010500000000000515000000B43D9757B72B565E36C370AA1B1E0000
SID History entry from ADSI - 010500000000000515000000786A7624FE34F2069831A000DB5E0000
SELECT SUSER_SID('ACB\OLD');
GO
0x010500000000000515000000786A7624FE34F2069831A000DB5E0000
But I'm getting this error
Msg 15098, Level 16, State 1, Line 1
Any ideas? I feel like I must be missing a step.