Search This Blog

Monday 18 November 2013

SharePoint 2013 classic mode authentication

Woo..... Started with SP 2013 Posts

As a first step I have started to create new site, I just move to SP 2013 Central Administration to create new Web Application. But in SP 2013 Claims Authentication is the default one. So we need PowerShell scripts for Classic Mode Authentication. Refer the below script to create new web application in Classic Mode Authentiacation.

Reference: http://technet.microsoft.com/en-us/library/gg276326.aspx

Web Application : http://MyCustomSite:5050

New-SPWebApplication -Name "MyCustomSite" -ApplicationPool "MyCustomSiteApplPool" -AuthenticationMethod "NTLM" -ApplicationPoolAccount (Get-SPManagedAccount "HTS\farmadmin") -Port 5050 -URL "http://MyCustomSite"

Note:     If you do not mention Port and URL, it will take dynamic port number and domain name as URL.
              URL - It is the Public url for this web application

After this we need to create Top level site collection to access site, we can do that using CA or PowerShell, Refer belowscript to create Top level site collection using "Teamsite" template.

New-SPSite -Url "http://MyCustomSite:5050" -OwnerAlias "HTS\rmanikandan" -Template "STS#0" (STS#0 - Teamsite)

Reference: http://technet.microsoft.com/en-us/library/cc263094.aspx

No comments:

Post a Comment