Here is what to do exactly (I have a STM32H743)
Connect your board using a data cable.
You need to plug it in the ST link port (should be on top for you)
Open cube MX and select your board (I click ok for everything asked)

Make sure to have installed H7 software package and X Cube AI software package.
Activate X Cube AI and select Validate template

Then select onnx, tf or tflite based on your model
Add network and Click validate on target

Port COM should be found in Auto but you can check selecting it manually.
(I think that if you only see one COMx port, your cable is not data)
Check the box to enable the automatic deployment
Selec the ST Link and your tool Chain. I use CubeIDE

Click validate.
Here is what I get after doing exacly that:

I attached a simple Cnn model .onnx if you want to try it.
If this does not work, there is an issue with your CUBEMX or CUBEIDE. I would suggest uninstalling everything and download everything again. Even better would be to use another PC.
Make sure you have a data cable. It should be quite thick.
Have a good day,
Julian