UNO Wifi Rev2

I have two Arduino Uno Wifi Rev 2 boards. Neither will connect to my Wifi network even though I have no difficulty with any other device. I have updated firmware to 1.4.1 and am using library programme ConnectWithWPA and have double checked the credentials in secrets tab. This is the result that I get:

"20:39:10.057 -> WiFiNINA firmware check. 20:39:10.090 -> 20:39:10.822 -> Firmware version installed: 1.4.1 20:39:10.858 -> Latest firmware version available : 1.4.1 20:39:10.892 -> 20:39:10.892 -> Check result: PASSED 20:39:22.787 -> Attempting to connect to WPA SSID: M-Wifi 20:39:35.035 -> Attempting to connect to WPA SSID: M-Wifi 20:39:47.134 -> Attempting to connect to WPA SSID: M-Wifi 20:39:59.210 -> Attempting to connect to WPA SSID: M-Wifi 20:40:11.316 -> Attempting to connect to WPA SSID: M-Wifi 20:40:23.420 -> Attempting to connect to WPA SSID: M-Wifi"

I have had other issues with this board that meant it didn't work with some libraries. After weeks of exchanges with Arduino Support they sent a couple of fixes.

Is there a history of Wifi connection problems with this board, am I missing something, or what?

I am clueless and will appreciate any help!