Enable Claims Authentication For Existing Web App (SP 2010)


Peace Be Upon You,

Changing an existing SharePoint Web app from classic authentication mode to claims based authentication mode can’t be done from central administration, but it can be done using power shell.

Here is a simple PowerShell script which changes the web app’s authentication mode to claims based:

$webApp = Get-SPWebApplication “http://webapplicationname:port”

#webApp.UseClaimsAuthentication = “True”;

#webApp.Update();

#webApp.ProvisionGlobally();

Once you have executed the above PowerShell script, if you go to your web app’s authentication provider settings, you should see:

image

All thanks to power shell 🙂

Advertisements

One thought on “Enable Claims Authentication For Existing Web App (SP 2010)

  1. Substantially, the post is really the best on this worth while topic. I agree with your conclusions and will eagerly look forward to your future updates. Saying thanks will not just be enough, for the wonderful clarity in your writing. I will directly grab your rss feed to stay informed of any updates.

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