Network Management

"Test failed Access is denied" when adding a DHCP server in IPAM

Cannot successfully add a DHCP server due to failed credentials. Getting Test failed: Access is denied when you test the credentials.

First published date

12/4/2019 6:30 PM

Last published date

9/8/2025 4:07 PM

Overview

Unable to add a new DHCP server in IPAM due to Test failed error when testing the credentials.

Test failed
Access is denied




Checking the SolarWinds.IPAM.Jobs_[31528].log (C:\ProgramData\SolarWinds\Logs\IPAM\Jobs):

ERROR SolarWinds.IPAM.Jobs.DhcpWinCredentialTest - DhcpEnumSubnets(xx.xx.xx.xx,...) FAIL => code 5
ERROR SolarWinds.IPAM.Jobs.DhcpWinCredentialTest - Exception while trying to retrieve list of scopes
SolarWinds.IPAM.DHCP.Microsoft.DhcpException: Access is denied
   at SolarWinds.IPAM.DHCP.PInvoke.DhcpApiHelper.ThrowException(UInt32 errorcode)
   at SolarWinds.IPAM.DHCP.Microsoft.DhcpViewer.EnumSubnets()
   at SolarWinds.IPAM.Jobs.DhcpWinCredentialTest.DoWork(DhcpWinTestJobSettings settings)

 

Product section

IP Address Manager

Cause

Insufficient permissions to carry out the desired action.

Resolution

  • IPAM needs the Windows account to have the Interactive log-on rights, that is, Allow log-on Locally.
  • All Windows credentials are sent in clear text during configuration only. The Windows account specified within IPAM must be on the DHCP server and one of the three following groups:
    • DHCP Users
    • DHCP Administrators
    • Local Administrators

IPAM impersonates the specified account on the local computer to gain access. If the IPAM computer is not within the same Windows domain as the DHCP server, the IPAM computer must have an identical account and password.

For additional information, refer to: Add a DHCP server from another domain.