Service context for the User Profile Service application not found - Event 5001 (Duet Enterprise)

 

Applies to: Duet Enterprise for Microsoft SharePoint and SAP

Alert Name:   Service context for the User Profile Service application not found

Event ID:   5001

Summary

When a Farm Administrator runs the Duet Enterprise Profile Synchronization Timer job, the job determines if the associated User Profile Service application is accessible. This is important for execution. The Timer Job could not find the service context for the User Profile Service application. The SharePoint Timer Service service account running Duet Enterprise Profile Synchronization must have Full Control permissions to the User Profile Service application.

Symptoms

The following symptoms might appear:

  • The Duet Enterprise Profile Synchronization timer job fails.

  • This event appears in the event log:

    Event ID: 5001 Description: User Profile Service Context corresponding to the <User Profile Service application> could not be found. The exception message is <message>.

Cause

One or more of the following might be the cause:

Resolution

Start the User Profile service

  1. Confirm that the user account that is performing this procedure is a member of the Farm Administrators SharePoint group.

  2. On the SharePoint Central Administration Web site, click System Settings.

  3. On the System Settings page, in the Servers section, click Manage services on server.

  4. Click Start in the Action column for the User Profile Service.

  5. Click OK to start the service.

Create a User Profile Service application

To learn how to create a User Profile Service application, see Create, edit, or delete a User Profile service application (https://go.microsoft.com/fwlink/p/?LinkId=207520).

Verify access to the User Profile Service Application

  1. On the Central Administration Home page, in the Application Management section, click Manage service applications.

  2. On the Manage Service Applications page, click the row that contains the User Profile Service Application.

  3. In the Sharing group of the ribbon, click Permissions.

  4. In the Connection Permissions dialog box, do one of the following:

    • If the Timer Job account appears in the middle pane, click the user account.

    • If the Timer Job account does not appear in the middle pane, type the user account in the top pane, and then click Add.

  5. In the bottom pane, verify that the Full Control check box is selected.

  6. Click OK.

    For more information, see Restrict or enable access to a service application (SharePoint Server 2010) (https://go.microsoft.com/fwlink/p/?LinkID=202009).