Previous Topic: Remove the Trusted Identity Provider from any Web Applications Using itNext Topic: Remove the Agent for SharePoint from Windows


Remove Trusted Identity Provider

You can perform the following procedure to remove the trusted identity provider for SharePoint using Windows PowerShell.

Follow these steps:

  1. Select Start, All Programs, Microsoft SharePoint 2010 Products, SharePoint 2010 Management Shell.

    The Microsoft PowerShell command prompt appears.

  2. Enter following command:
    Remove-SPTrustedIdentityTokenIssuer -Identity
    
    -Identity

    Specifies the name of the identity provider to remove.

    Example: Remove-SPTrustedIdentityTokenIssuer TestSTS

    The trusted identity provider for SharePoint is removed.

Note: If you re-create a Trusted Identity Provider, verify that a hash precedes the 'New-SPTrustedRootAuthority' line in the powershell script. As the certificates (signing, root CA, and intermediate CA) are not removed, modify the powershell script by adding hash to avoid certificate errors.