The error message "Server cannot be translated to a security identifier" typically indicates that the Windows Event Collector (WEC) is unable to resolve the server name to a security identifier (SID). This can happen for several reasons, including issues with DNS resolution or the server not being part of the same domain as the WEC.
Here are some steps you can take to troubleshoot and resolve this issue:
- Check DNS Resolution: Ensure that the server you are trying to add can be resolved by the WEC. You can test this by using the
pingcommand ornslookupto verify that the server's hostname resolves correctly. - Verify Network Connectivity: Make sure that there is network connectivity between the WEC and the server you are trying to add. Check firewall settings to ensure that traffic is allowed on the necessary ports (e.g., port 5986 for WinRM).
- Check Domain Membership: If the server is not part of the same domain as the WEC, you may need to add it as a non-domain computer. Ensure that you are following the correct procedure for adding non-domain computers to the WEC subscription.
- Review Permissions: Ensure that the account you are using to create the subscription has the necessary permissions to access the server and its event logs.
- Use FQDN: When adding the server, try using the Fully Qualified Domain Name (FQDN) instead of just the hostname to avoid any resolution issues.
- Event Viewer Logs: Check the Event Viewer logs on both the WEC and the server for any additional error messages that might provide more context about the issue.
By following these steps, you should be able to identify the cause of the error and successfully add the server to the WEC subscription.