Thursday, September 5, 2013

SP2013 Web Apps: Create Web Applications in Classic Authetication Mode

As you may already be aware, when you create a new web application in SharePoint 2013, it by default creates in claims authentication mode. If you are under going a migration and upgrade from SP2010 to SP2013 and you would first want to create classic authentication web apps to attach the DBs to, here is how:

Create your web application from PowerShell using the following script:

New-SPWebApplication -Name “<WebAppName>” -ApplicationPool “<WebAppPoolName>” -AuthenticationMethod “NTLM” -ApplicationPoolAccount (Get-SPManagedAccount “DOMAIN\SPManagedAccount”) -DatabaseName “<DBName>” -Port <PortNo> -URL http://URL

Note that if you indicate the port number in the parameter, you don't need to include it in the Url Parameter.

My next blog post talks about converting a web application from classic to claims authentication mode, in SharePoint 2013.

No comments: