Archive
Configuring LiveID authentication with SharePoint2010
With the addition of the new claims based authentication framework in SharePoint 2010, SharePoint is now more loosely coupled to the authentication layer than ever. You’ve probably seen presentations or webinars where it was mentioned that you can use claims authentication against authentication providers such as Live ID and OpenID. In this blog I will show you the common problems while you configure you LiveID integration with SharePoint2010.The detailed configuration can be found in the following blogs.
Here are some problems I have following the instructions:
Problem 1: If you had the following exceptions when you run the PowerShell scripts to create the new LiveID authentication provider
New-SPTrustedIdentityTokenIssuer : Exception of type ‘System.ArgumentException’ was thrown.Parameter name: claimType At line:1 char:42 + $authp = New-SPTrustedIdentityTokenIssuer <<<< -Name “LiveID INT” -Description “LiveID INT” -Realm $realm -ImportTrustCertificate $certfile -ClaimsMappings $emailclaim,$upnclaim -SignInUrl “https://login.live-int.com/login.srf” -IdentifierClaim $emailclaim.InputClaimType + CategoryInfo : InvalidData:(Microsoft.Share…dentityProvider:SPCmdletNewSPIdentityProvider) [New-SPTrustedIdentityTokenIssuer], ArgumentException + FullyQualifiedErrorId :Microsoft.SharePoint.PowerShell.SPCmdletNewSPIdentityProvider
Solution: You need to Remove the existing the SPTrustedIdentityTokenIssuer.
1. You need to first get the existing TokenIssuer name by Get-SPTrustedIdentityTokenIssuer, and then run Remove- SPTrustedIdentityTokenIssuer to remove the existing TokenIssuer.
2. After that , you can re-run the script , everything should work fine now.
Problem 2: Live INT automatically logs out
Whenever I try to log in (https://login.live-int.com/login.srf), after entering valid email/password I get redirected to the logout page.
Solution: You can find the solution in my previous blog.
How to fix the “Live INT automatically logs out”
Problem: Live INT environment automatically logs out
I am trying to setup the Authentication with Windows Live ID and followed this blog post ; I have a problem logging in to live INT web site. Whenever I try to log in (https://login.live-int.com/login.srf this is the internal Live environment to be used in a dev. environment.), after entering valid email/password I get redirected to the logout page. I tried 2 different accounts (one with existing email address, and other one with newly created @hotmail-int.com address) and 3 different browsers so I’m sure that neither account nor the browser are the cause of this. I also tried to enter wrong password, and in that case I get the message that the password is wrong.
Solution: All you need is the unique ID in order to add the user to SharePoint , you can get the ID without logging into the Live INT environment.
I think the Live internal environment is not working correctly for some reasons , the reason I need to login to the Live internal environment is that I need to get the unique ID for the test account so that I can add the user to SharePoint. All the blogs I have come across require you to login in order to get the unique ID. However, I figured out another way of getting the unique ID without logging in. Steps are below:
- Register a new test account in the Live internal environment.
-
Go to the SharePoint site collection that has Live ID authentication enabled and select the LiveID INT(it will be different as you could name it differently when you set up the authentication provider) from the dropdown.

-
Try login using the Internal Live account, you will get an Access Denied Error as below showing your unique ID for the test account. Add that account to your SharePoint Group, boom, it works.
I hope it will help anyone who needs to do this stuff in the future.



