Question

I followed https://technet.microsoft.com/en-us/library/ee806885.aspx to Create a claims-based web application by using Windows PowerShell.

it created successfully but enables Form based authentication and anonymous authentication.

How create a new web application without enable Form based authentication and anonymous authentication?

EDIT:

enter image description here

enter image description here

EDIT

IIS warning

enter image description here

Était-ce utile?

La solution

try this one

$authprov = New-SPAuthenticationProvider -UseWindowsIntegratedAuthentication -DisableKerberos

New-SPWebApplication -Name "name of the web" -Port "port number" -Path "Path of IIS site" -AuthenticationMethod NTLM -AuthenticationProvider $authprov -Url "Url of the Web application" -ApplicationPool "App Pool Name" -ApplicationPoolAccount (Get-SPManagedAccount "Domain\user") -DatabaseServer "DB Server name" -DatabaseName "DB anme"

Autres conseils

Create a classic-mode web application by using PowerShell

Use the procedure in this section to create a new classic-mode SharePoint Server web application using PowerShell. To create a classic-mode web application by using PowerShell Verify that you have the following memberships: securityadmin fixed server role on the SQL Server instance. db_owner fixed database role on all databases that are to be updated. Administrators group on the server on which you are running PowerShell cmdlets. You must read about_Execution_Policies. From the PowerShell command prompt, type the following:

New-SPWebApplication -Name -ApplicationPool -AuthenticationMethod -ApplicationPoolAccount -Port -URL

https://docs.microsoft.com/en-us/sharepoint/security-for-sharepoint-server/create-claims-based-web-applications

Licencié sous: CC-BY-SA avec attribution
Non affilié à sharepoint.stackexchange
scroll top