New ST-Link V2 not working.

Hi,
In the past I have successfully been using an inexpensive USB ST Link V2 clone without any problems at all.
In my current project I need to use the SDW for dumping debugging information to the console.
I purchased the official ST Link V2 from mouser but I cannot get simple SWD to work at all.
The PC can detect it and I can update its firmware but it will not detect target projects/boards no matter what I do.
I have tried many different configurations in ST-LINK Utility and STM32CubeIDE without success.
Is there anything I can try? Am I missing something?
