Skip Ribbon Commands
Skip to main content
Navigate Up
Sign In
SharePoint By Bugday > Posts > Migrate from Classic-Mode to to Claims-Based Authentication
May 15
Migrate from Classic-Mode to to Claims-Based Authentication

I’ve been working a lot again with claims authenticaion in SharePoint and just wanted to share something interesting things about changing between claims and classic authentication.

This guide is just guide you on how to switch between classic-mode and claims-based authentication in SharePoint 2010.

I recommend you to follow this guide if you need to migrate to claims-based authentication:

Migrate from classic-mode to claims-based authentication (SharePoint Server 2010)

According to Microsoft Technet you cannot revert it back to classic-mode after migrating to claims, but that’s not correct!

image

To convert from classic-mode to claims-based authentication in SharePoint:

1. Start SharePoint 2010 Management Shell as administrator:

2. Type the following command(seperate each line with a linebreak):

$WebAppName = "http:// yourWebAppUrl"
$account = "yourDomain\yourUser"
$wa = get-SPWebApplication $WebAppName

Set-SPwebApplication $wa -AuthenticationProvider (New-SPAuthenticationProvider) -Zone Default

You might have to reset IIS using iireset.

Now you’ll have the web application set to “claims” authentication.

To change it back to “Classic” follow this steps:

1. Start SharePoint 2010 Management Shell as administrator:

2. Type the following command(seperate each line with a linebreak):

$WebAppName = http:// yourWebAppUrl

$webApp.UseClaimsAuthentication = $false;

$webApp.Update()

image

Now take a look in Central Administration and and see that the authentication provider is changed back to “Windows”:

image

Comments

There are no comments for this post.

Add Comment

Items on this list require content approval. Your submission will not appear in public views until approved by someone with proper rights. More information on content approval.

Title


Body *


E-Mail *


TodayIs *


What's today's abbreviated value(DDD)

Attachments