Enable Claims based Auth on a SP2010 website, after it has been provisioned

Posted by Sahil Malik on Win Smarts See other posts from Win Smarts or by Sahil Malik
Published on Mon, 29 Mar 2010 16:50:31 GMT Indexed on 2010/03/29 20:54 UTC
Read the original article Hit count: 726

Filed under:

Ad:: SharePoint 2007 Training in .NET 3.5 technologies (more information).

When you provision a web app in SP2010, you can choose it to use Claims Based Auth or Classic Auth right through the GUI.  However, after you have provisioned a web app, there is no GUI to switch from Classic to Claims based. So the below powershell script will let you convert a SP2010 website to claims based auth after it has been provisioned.

   1: $w = Get-SPWebApplication "http://sp2010"
   2: $w.UseClaimsAuthentication = "True";
   3: $w.Update()

The user running the above script should be a member of the SharePoint_Shell_Access role on the config DB, and a member of the WSS_ADMIN_WPG local group.


Comment on the article ....


© Win Smarts or respective owner

Enable Claims based Auth on a SP2010 website, after it has been provisioned

Posted on Dot net Slackers See other posts from Dot net Slackers
Published on Mon, 29 Mar 2010 00:00:00 GMT Indexed on 2010/03/29 22:53 UTC
Read the original article Hit count: 726

Filed under:
Ad:: SharePoint 2007 Training in .NET 3.5 technologies (more information). This feed URL has been discontinued. Please update your reader's URL to : http://feeds.feedburner.com/winsmarts Read full article .... ...

Did you know that DotNetSlackers also publishes .net articles written by top known .net Authors? We already have over 80 articles in several categories including Silverlight. Take a look: here.



Email this Article

© Dot net Slackers or respective owner

Related posts about SharePoint 2010 B2