Home > SharePoint 2010, SharePoint Administration > Updating SharePoint 2010 Classic Mode Authentication to Claims Based Authentication

Updating SharePoint 2010 Classic Mode Authentication to Claims Based Authentication

If your current SharePoint 2010 authentication mode is set to classic mode which only allows for windows based authentication, and you want to update the authentication mode to claims based authentication (which allows both windows and forms based authentication) then there is no way to do this via Central Administration or GUI.  This will have to be done via script using PowerShell.

To do this.  Follow these steps.

1.  Remote/Log  into your 2010 SharePoint Central Administrator server.
2.  Bring up SharePoint 2010 Management Shell (Powershell)
3.  Type: $app = get-spwebapplication “URL” (URL of the web application you would like to change authentication on). 
4.   Hit Enter
5.  Next Type:  $app.useclaimsauthentication = “True”. 
6.  Hit Enter
7.  Finally Type:  $app.Update(). 
8.  Hit Enter

Thats it.  Pretty simple.  Remember this will have to be done for each web application you would like to change authentication on.
Also once you change authentication to Claims Based Authentication you cannot revert back to Windows Authentication (Classic Authentication)

Migrate Users

$app.MigrateUsers($true)
$app.ProvisionGlobally()

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: