Pages

Friday, March 13, 2015

The HTTP request was forbidden with client authentication scheme ‘Negotiate’ in SharePoint 2013

When I was try to restore the site collection backup file in the SharePoint server, got the following error message “ Restore-spsite : the HTTP request was forbidden with client authentication scheme ‘Negotiate’ “.

clip_image001

Also noticed below event logs in the SharePoint server

1. An exception occurred when trying to issue security token. The HTTP request was forbidden with client authentication scheme ‘Negotiate’

clip_image003

2. The Execute method of job definition Microsoft.office.server.userprofiles.LMTPRepopulationJob threw an exception.

clip_image005

And got the “An unexpected error has occurred” error message when I browse user profile service application page in central admin

clip_image007

Cause

Based on the SharePoint logs, Event logs and errors messages. It seems there is having some issue in the user profile service in the SharePoint server.

Resolution:

By re-creating user profile service with synchronization resolved the issue and able to restore the site. The steps are below

1. Delete the existing user profile service application and stop the user profile service and UPS synchronization service

2. Then start the user profile service and then re-create new user profile service application

3. Start the user profile synchronization service and do the full AD synchronization.