How to enable or disable “Claims Based Authentication” on Authentication Providers in SharePoint
Date: 13/05/2014
Categories: PowerShell, SharePoint
#Use SharePoint 2013 Management Shell #Script PowerShell #Enable "Claims Based Authentication" on Web Application $WebApplicationURL = "http://sharepoint" $setcba = Get-SPWebApplication $WebApplicationURL $setcba.UseClaimsAuthentication = 1; $setcba.Update() #Disable "Claims Based Authentication" and enable "Windows Authentication" $WebApplicationURL = "http://sharepoint" $setcba = Get-SPWebApplication $WebApplicationURL $setcba.UseClaimsAuthentication = 0; $setcba.Update()
Leave a Reply