nerdexam
Microsoft

70-667 · Question #213

You have a web application named WebApp1. You need to enable claims-based authentication on WebApp1. Which tool should you use?

The correct answer is C. the Set-SPWebApplication cmdlet. When you provision a web application in SharePoint 2010 you get the option to enable Claims based authentication. However, after the provisioning there's no option in the GUI to turn it on. PowerShell saves the day again with the option to change from classic to claims based…

Implementing and Managing SharePoint Security

Question

You have a web application named WebApp1. You need to enable claims-based authentication on WebApp1. Which tool should you use?

Options

  • AInternet Information Services (IIS) Manager
  • Bthe Stsadm command
  • Cthe Set-SPWebApplication cmdlet
  • DCentral Administration

How the community answered

(36 responses)
  • A
    6% (2)
  • B
    14% (5)
  • C
    78% (28)
  • D
    3% (1)

Explanation

When you provision a web application in SharePoint 2010 you get the option to enable Claims based authentication. However, after the provisioning there's no option in the GUI to turn it on. PowerShell saves the day again with the option to change from classic to claims based authentication using the lines below. $account = "Administrator" $wa = get-SPWebApplication $WebAppName Set-SPwebApplication $wa -AuthenticationProvider (New-SPAuthenticationProvider) -Zone The user running these command should be a member of the SharePoint_Shell_Access role on the config DB, and a member of the WSS_ADMIN_WPG local group.

Topics

#claims-based authentication#Set-SPWebApplication#PowerShell#web application

Community Discussion

No community discussion yet for this question.

Full 70-667 Practice