Create classic mode web application in SharePoint 2013

I was working on the migration from SharePoint 2010 to SharePoint 2013. I have detached and attached the SP content database (classic mode authentication) from SharePoint 2010 server to 2013 server. Next step is to mount the SharePoint content DB (classic mode authentication) to 2013 web application. By default when you create a web application in SharePoint 2013 from Central Administration only claims-mode authentication method will be configured whereas in 2010 you will have both classic and claims mode authentication methods. We need to create classic mode web application only through Powershell in SharePoint 2013.

 

New-SPWebApplication -Name "Classic Mode" -ApplicationPool "SharePoint - 20130" -AuthenticationMethod "Kerberos" -ApplicationPoolAccount "DC07\SPFarm" -Port 20130 -URL "http://c4968397007

  • Classic Mode” is the name of the new web application that uses classic-mode authentication.
  • SharePoint – 20130” is the name of the application pool.
  • Kerberos” is authentication method. It can be either “NTLM” or “Kerberos”. Kerberos is recommended.
  • DC07\SPFarm” is the user account that this application pool will run as.
  • 20130” is the port on which the web application will be created in IIS.
  • http://c4968397007 is the public URL for the web application.

Note: Make sure you have required memberships to perform this activity.

Ebook Download
View all
Learn
View all