Pages

Showing posts with label convert windows to claims authentication. Show all posts
Showing posts with label convert windows to claims authentication. Show all posts

Tuesday, 22 January 2013

Using PowerShell script to change a web application's authentication to claims mode

Open PowerShell command window and execute the script below:

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

Once the script has executed, navigate to your web app’s authentication provider settings:

image

Under Zone click on Default and select your identity provider for claims based authentication:

image