Skip to main content
rivm
New Member
July 28, 2025
Question

obsolete objects cannot be removed

  • July 28, 2025
  • 2 replies
  • 879 views

Hi all,

I am trying to remove two obsolete objects
( see https://community.fortinet.com/t5/FortiGate/Technical-Tip-Obsolete-Microsoft-Teams-ISDB-objects-in-debugging/ta-p/362107 )

FW1 (internet-service~ame) # show | grep Microsoft-Teams.Published.Worldwide
edit "Microsoft-Teams.Published.Worldwide.Optimize"
edit "Microsoft-Teams.Published.Worldwide.Allow"

 

When deleting I get an error:
FW1 (internet-service~ame) # delete Microsoft-Teams.Published.Worldwide.Optimize
Internet Service default entry Microsoft-Teams.Published.Worldwide.Optimize could not be deleted.
command_cli_delete:7024 delete table entry Microsoft-Teams.Published.Worldwide.Optimize unset oper error ret=-651
Command fail. Return code -651

How can I resolve this ?
Background info : Firewall OS was at 7.2.7   we upgraded via 7.2.9, 7.2.11 to 7.4.8M
Both objects are not being referenced anymore. 

2 replies

Jean-Philippe_P
Staff & Editor
Staff & Editor
August 1, 2025

Hello rivm, 

 

Thank you for using the Community Forum. I will seek to get you an answer or help. We will reply to this thread with an update as soon as possible. 

 

Thanks, 

Jean-Philippe - Fortinet Community Team
Markus_M
Staff & Editor
Staff & Editor
August 1, 2025

Hey rivm,

 

this might help for checking against references that FortiGate might still have (for whichever reason).

https://community.fortinet.com/t5/FortiGate/Technical-Tip-How-to-Check-Referenced-Objects/ta-p/194815
Additionally, run the command
diagnose debug config-error-log read
Example output:
FGT # diag debug config-error-log read
>>> "end" @ global.system.replacemsg.spam.smtp-spam-emailblock:failed command (error -56)
>>> "config" "system" "cluster-sync" @ global:command parse error (error -61)
>>> "set" "summary-proto" "smtp" "pop3" "imap" "http-get" "http-post" @ root.dlp.sensor.sniffer-profile:command parse error (error -61)
Time=2025-07-30 10:05:55 Version=70427.32025 ffdb_map_do_read_flash: ret=-5, FFDB Flash Error: version error
ffdb_map version mismatch, the Internet Service Database will automatically update
Time=2025-07-30 10:10:55 Version=00000.00000 ffdb_map_parse: ret=-3, FFDB Map Error: internal error
to see if there were any issues on the upgrades that concern these objects.

Best regards, Markus
Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT