Issue to delete company in Ax4.0

As admin user, i need to delete a company account in AX4.0. However, the message “User is not authorized to delete a record in table ‘SYSPERIMETERNETWORKPARAMS’. Request denied”. The user is an admin user with full access right. From the findings, this user already has full access right to the specified table in the error message. However, it is notice that the company to be deleted is not included in the domains and there is no permission assign for it. Try to include the company into the domain but failed to as it stated “Insufficient right”. By right, the admin domains should have access to all company accounts.

Does anyone know why and how to solve this to allow the deletion of the company accounts? Please help.

Thank you

See in the CompanyDomainList table - whether the domain is attached to the CompanyId.

Thank you for the reply.

Manage to solve the problem by adding the companyId back into the CompanyDomainList table. Just wondering why does this happen. Found out that the company somehow is empty. Therefore it is suspected to be caused by issue happen in the middle of company creation or duplication or deletion.