did you check if it's in use somewhere? As long as there's an entry referring to this interface you can't remove it. The easiest way: Check your config with an editor and have a search for 'internal7' ...
The reason is that a hardware-switch needs at least 2 port members. Unless you kill the switch in CLI you won't get at the second member port. I'm in the same position as you both, and am still looking for the correct way to solve this (due to lack of time).
The "switch" is a virtual object, called a virtual-switch. It contains at least one hardware switch called a physical-switch. to get hold of all interfaces you can delete the virtual-switch:
config system virtual-switch
edit "internal" set physical-switch "sw0" config port edit "internal1" next edit "internal2" next end next end
So here you enter 'delete internal' to delete the virtual-switch. In order to do this, first all references to 'internal' have to be removed from the config. At that point I just let it be.
Remember that even the default config (after 'exec factoryreset') has references to 'internal', such as a static route, a DHCP server and a policy. So this is something you better do at the very beginning of configuration.
I am using Fortigate 60D with firmware 5.2.7
I am facing some issue like whenever I update any configuration in internal switch (Hardware Switch) its Keep asking for SPAN port,but here I am using only Single fortigate firewall.
Please Help me to resolve this.
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.