Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
iliessens
New Contributor II

Delete user group in Fortimanager fails

Hi all,

 

I've been trying to delete an old user group in our Fortimanager install, but it won't work.

When deleting through "User & Authentication" > "User Groups", the object is in use by itself.

 

When going through CLI objects > User > Groups, I get the error:

"Response with errors. (-9001) used - object is copied to VDOM GW01.root"

 

During the last push, the group was correctly removed from the firewall. So it seems that is effectively not in use anymore.

 

Does anyone know how this group could be deleted?

 

Fortimanager 7.2.1 build1215

Fortigate 200F - v7.2.3

 

Best regards,

Imre

1 Solution
gfleming
Staff
Staff

Can you create a CLI script to delete the user group in device manager and run it against your ADOM database?

Cheers,
Graham

View solution in original post

2 REPLIES 2
gfleming
Staff
Staff

Can you create a CLI script to delete the user group in device manager and run it against your ADOM database?

Cheers,
Graham
iliessens
New Contributor II

Hi Graham,

 

I tried the script solution, and this was indeed able to remove the entries. Thank you!

 

For future reference, this was the script:

config user group
	delete OLD_group
end

 

And instructions on how to add it are here:

https://docs.fortinet.com/document/fortimanager/7.2.1/administration-guide/990788/scripts

 

Best regards,

Imre

Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors