Network Management
"Solarwinds.IPAM.Contract.Service.IIpamGroupRoleProxy.ForceAccountToRole Failed" error when managing accounts in 2020.2.6
The following error appears when attempting to edit or add users in NPM: Solarwinds.IPAM.Contract.Service.IIpamGroupRoleProxy.ForceAccountToRole Failed
First published date
Last published date
Overview
While adding or editing users or groups in the SolarWinds web console, the following error message may appear:
Solarwinds.IPAM.Contract.Service.IIpamGroupRoleProxy.ForceAccountToRole Failed
Sample Image:
Product section
Cause
This issue occurs when the account being used does not have Admin Privileges on IPAM. The following issue was introduced in 2020.2.6 and resolved in 2022.1 and above.
Resolution
Refer to IPAM Licensing to update your IPAM license.
Also, make sure the IPAM Settings on the account have Admin Privileges.
Resolution 1:
Check your user account if you have Admin Privileges: (If not set it to admin)
- Log in to the Orion Web Console.
- Go to Settings > All Settings.
- Scroll down to User Accounts, and click Manage Accounts.
- Select the account with the issue and click Edit.
- Scroll down and expand the IP Address Manager Settings.
- If the account has Read-Only permissions, change these to Admin and Submit.
Resolution 2:
If the user account you use already has the Admin Role on IPAM you can run the below query to verify if you have the correct role on the Database. Make sure that you have SiteAdmin permissions.
Use Database Manager to run the query below:
-- Scripts are not supported under any SolarWinds support program or service. -- Scripts are provided AS IS without warranty of any kind. SolarWinds further -- disclaims all warranties including, without limitation, any implied warranties -- of merchantability or of fitness for a particular purpose. The risk arising -- out of the use or performance of the scripts and documentation stays with you. -- In no event shall SolarWinds or anyone else involved in the creation, -- production, or delivery of the scripts be liable for any damages whatsoever -- (including, without limitation, damages for loss of business profits, business -- interruption, loss of business information, or other pecuniary loss) arising -- out of the use of or inability to use the scripts or documentation. SELECT * FROM [dbo].[WebUserSettings] WHERE [SettingName] LIKE '%ipamaccount%' AND AccountID = '<AccountNameHere>'