Windows Hello brakes SMB access login to SMB shares. It is a bug known from 2015 on Win10, now also Win11. MS did not correct this bug until today, For SMB login to work you have to ditch Winows Hello login, whether it's PIN or biometric, all of them brake SMB access login. You can check this with:
net use \\x.x.x.x\IPC$ * /user:Outpost24
replacing "x.x.x.x" with the IP address of the target system and replacing "Outpost24" with the username you need to test authentication with and press Enter
Then change the login to password, restartand try above command. Than to PIN and restart and try above command.
Ealier threads about same problem/bug: