I added a new custom sts to my sharepoint site using New-TrustedIdentityTokenIssuer using powershell script that I wrote, and it worked fine.
Then I removed it from Sharepoint using powershell command.
I am trying to add it back using the same script in the first step, but I am getting exception thrown by the New-SPTrustedIdentityTokenIssuer
The exception does not tell much :
New-SPTrustedIdentityTokenIssuer : Exception has been thrown by the target of an invocation.
+ CategoryInfo : InvalidData:...
View Complete Post