SharePoint Stuff



SharePoint 2010 Claims to Classic and Classic to Claims

Written by Luke Smith. Posted in Microsoft

Your running SharePoint 2010 and you want to switch your Authentication Provider between either Claims Based Authentication(CBA) or Classic Authentication, before embarking on changing the authentication provider I would first recommend reading the following technical articles:

http://technet.microsoft.com/en-us/library/gg251985.aspx
http://technet.microsoft.com/en-us/library/cc262350.aspx#section2

CLASSIC to CLAIMS


$webApp = Get-SPWebApplication "http://url"
$webApp.UseClaimsAuthentication = $True;
$webApp.Update()

then run ‘iisreset’

However if you are unable to login suggest re-running and reviewing the second MS article above, espesically the MigrateUsers powershell cmdlet;

$w = Get-SPWebApplication "http://url"
$w.MigrateUsers(1)

CLAIMS to CLASSIC

If you want to switch the web application from Claims to Classic run the following powershell command:


$webApp = Get-SPWebApplication "http://url"
$webApp.UseClaimsAuthentication = $False;
$webApp.Update()

then run ‘iisreset’

You may need to make sure in IIS that the web application security settings is still Windows Authentication and also confirm that the web application Authentication Provider in Central Administration has also been updated.

Tags:

Trackback from your site.

Luke Smith

I’ve been working with Microsoft Technologies for over 15 years, my main focus being Windows Azure IaaS and Office 365. I Manage the Cloud Services at ClearPeople ltd and as a PTSP at Microsoft. I have worked with many organisations from SMB to EPG. I’ve been working with Microsoft Technologies since DOS 5.0, to date I have been working on Microsoft’s latest cloud technology Windows Azure, Office 365 and Microsoft SharePoint

Leave a comment