This project has moved. For the latest updates, please go here.

Please update roll back procedure

Jan 21 at 1:36 AM

I spent a fair amount of time in uninstalling LDAPCP . The LDAPCP is listed as Claimsprovider even after deactivating the feature and removing it . It does not change back to default .

I used below command to change it back to default (null). Please update this in document/roll back steps so that others don't have to recreate the SPTrustedIdentityTokenIssuer

$sts = Get-SPTrustedIdentityTokenIssuer "XXXX"
$sts.GetType().GetField("m_ClaimProviderName","NonPublic,Instance").SetValue($sts, $null)
Jan 23 at 12:59 PM
I really wish there is an easier way that does not involve to remove and recreate the SPTrustedIdentityTokenIssuer object, but your script uses reflection to reset property m_ClaimProviderName, which is not supported, so I can't recommend it.
However I agree I should mention that LDAPCP will still be referenced in the SPTrustedIdentityTokenIssuer object after it's removed. I'll update the page to mention that.
Thank you for your input,