"You can not delete the ######## license as it is associated with one or more environments."
"Environment with id <Uid> was not found. Go back to all environments."Aria Suite Lifecycle 8.x
The issue can occur if there are stale entries in the 'vm_locker_reference' table which associates the license to a product that no longer exists, or which it shouldn't be associated to.
If you experience this issue please contact support referencing this article 404917. For more information, see Creating and managing Broadcom support cases.