Convert Content Database from legacy to Claim -> error user conversion

msdn-fts 1 Reputation point
2021-08-13T07:21:01.38+00:00

Hi,
I want to convert my content database from legay to claim mode with command
Convert-SPWebApplication -Identity "http://piss.ts-server.fsc" -from legacy -To Claims -RetainPermissionss
after that i get an error that still some users could not converted to claim.
I can see in logs one user failed
08/13/2021 08:38:36.77 PowerShell.exe (0x15F4) 0x0D24 SharePoint Foundation Claims Authentication af32m Unexpected Could not convert user with with sid 'S-1-5-21-3999330337-13268731-792418896-3682'. 1180ca27-11d3-4321-b83e-77876c852138
if i check my user i can see it is the user

NT-AUTORITÃ"T\LOKALER DIENST

This is an old user and it is not used anymore, so i want to delete it, but this is not possible.
If i try
remove-spuser "NT-AUTORITÃ"T\LOKALER DIENST" -web http://piss.ts-server.fsc
Then the powershell ends at the second quotation mark within NT-AUTORITÃ"T\LOKALER DIENST
An powershell always will give me a promt >> for more options

How can I delete this user?

Thanks and regards

Microsoft 365 and Office | SharePoint Server | For business
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. JoyZ 18,111 Reputation points
    2021-08-16T03:05:18.123+00:00

    @msdn-fts ,

    We cannot convert accounts that are not active in AD from classic to claims.

    If the user is disabled or deleted in Active Directory, check as following to delete the user in User Information List.

    Please navigate to the site collection>edit the URL by adding the following string to the end of it:

    /_layouts/15/people.aspx?MembershipGroupId=0  
    

    Select the person from the list, and then on the Actions menu, select Delete Users from Site Collection

    123436-image.png


    If an Answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

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