Let’s suppose you want to add claims support to your .NET application and you have the Windows Identity Foundation tool installed.
In Visual Studio 2012, you right click on your project and choose “Identity and Access”. Then, in the Provider tab of the “Identity and Access” windows you choose the option “Use a business identity provider”. A new panel will display allowing you to enter the path to the STS Metadata document. When you click the OK button after having entered the STS Metadata document, a message box opens with the following generic error which causes the metadata import to fail: “userSelection.SecurityTokenServiceMetadata.SecurityTokenServiceDescriptor”.
In Visual Studio 2012, you right click on your project and choose “Identity and Access”. Then, in the Provider tab of the “Identity and Access” windows you choose the option “Use a business identity provider”. A new panel will display allowing you to enter the path to the STS Metadata document. When you click the OK button after having entered the STS Metadata document, a message box opens with the following generic error which causes the metadata import to fail: “userSelection.SecurityTokenServiceMetadata.SecurityTokenServiceDescriptor”.