Updated Sept 13th, 2018
Overview
When you add or modify a WSUS server in Patch Manager, the following error displays:
Unable to connect to the WSUS Server using the account: domain\admin. Request for principal permission failed.

Environment
- Patch Manager version 2.1.x
Resolution
Technically speaking, the Service which does the work is the "DataGrid Service" which runs as a local (NOT a domain) user account on the Patch Manager server. This account needs NO rights to other machines unless those are granted via the Credential Ring. If the above policy is in place, the credential ring has no access.
If the policy is kept in place, security violations can be further mitigated by adding domain users to the "EminentWare Users" role within Patch Manager and granting them no further access. Those users do NOT have access to the Credential Ring. Only members of the "EminentWare Security Administrators" (and higher) have access to the Credential Ring.
If the above is not applicable to your case, then continue the troubleshooting steps below:
- Log in to the Patch Manager Admin Console as an administrator.
- In the navigation pane, expand Enterprise > Update Services and select the WSUS server.

- In the center pane, select your WSUS server.
- In the Actions pane, click Add or Configure WSUS Server.
- In the Add or Modify WSUS Server window, complete the Hostname or FQDN and Canonical Name fields.

For the Canonical Name field, you can enter an IP address in the following format:
\xxx.xx.xxx.xxx
- Test the connection.
If the connection passes, click Save. You are finished.
If the connection does not pass, elevate the service account in Local Users and Groups.
Elevate the Service account
- Navigate to Local Users and Groups.
- Go to
ewdgssvc-xxxx
and join in the WSUS Administrator and Administrator Group.
- Save your changes.
- Restart the EminentWare Data Grid Service.
If the error message does not display, you are finished.
If the error message displays, check the WSUS server logs to verify the connection.
Check the WSUS server logs to verify the connection
- Open the Event Viewer on the WSUS server.
- Expand Windows Logs and select Application.
- Search the recent events for any error events related to WSUS.
The service account used by Patch Manager may have experienced a logon failure or access denied event.
- Add the Patch Manager Service Account to the WSUS Administrators group on the WSUS server.
If the WSUS server is an Automation server, you may need to add the local account that you created when you installed the Automation Server role.
- Verify that the error no longer displays.
If the error does not display, you are finished.
If the error displays, verify that the Primary Application Server (PAS) and WSUS are on the same server
Verify that the PAS and WSUS are on the same server
- Log in to SQL Server Management Studio.
Use SQL Server Management Studio 2008 for Patch Manager 2.1.3 and earlier.
Use SQL Server Management Studio 2014 for Patch Manager 2.1.4 and later or the appropriate version if they are using enterprise SQL.
- Review the
dbo.device
and dbo.gc_device
tables for duplicate entries for the WSUS server.
Be sure not to delete the PAS entry. You can confirm the PAS Device ID in the console by expanding Patch Manager System Configuration and selecting Patch Manager Servers.
- Delete the duplicate entry.
- Restart the EminentWare Data Grid Server Service.
- Launch the console and re-add the WSUS server.
- Verify that the error no longer displays.
If the error does not display, you are finished.
If the error displays, check the PAS and Application server or contact Support.