Thanks for asking the right questions as they triggered the other side of my brain.

Of course Team A does not lose the right of possession due to the Technical Foul. They were entitled to and did receive the next AP.
Funny how that did not click in the brain when writing the post.