Friday, 23 August 2013

Change authentication mode in SharePoint 2010

Change authentication mode in SharePoint 2010


 In the following article I will explain how to change SharePoint 2010 authentication mode. In the following example I will change authentication provider of SharePoint 2010 web application from windows authentication to claim base authentication.
To do this you need to user SharePoint 2010 management shell
Go to start menu > All programmers > SharePoint 2010 products > SharePoint 2010 management shell
Type and execute the following command
1
2
3
4
5
6
7
$WebAppName = “http://eblogin.com
 
$account = “SPdomain\ebloginAdmin”
 
$wa = get-SPWebApplication $WebAppName
 
Set-SPwebApplication $wa –AuthenticationProvider (New-SPAuthenticationProvider) –Zone Default
A confirmation message will appear, type "Y" and press enter
Now check the authentication provider from central admin. It should show "claims based authentication".

No comments:

Post a Comment