Hello,
Your network credentials for accessing your new desktop are simply the sign-in credentials (user name and password) for one of the desktop's Windows accounts. If you only ever set up a PIN on that machine, you don't actually have a separate password you can look up. You'll need to create or reset one.
First, discover exactly what your desktop thinks your user name is. On the desktop, press Win + R, type cmd and press Enter. At the prompt enter
whoami
and hit Enter. You’ll see something like
DESKTOP-PC\JohnDoe
"DESKTOP-PC" is your computer name and "JohnDoe" is the account name you need.
Next you need a password for that account. Because you signed in with a Microsoft account and then set only a PIN, you didn't choose a local password during setup. Windows still knows your Microsoft-account password, but if you can't recall it you'll have to reset it online at account.microsoft.com. If you do remember it, that is the password you must use here (not the PIN).
If you'd rather define a brand-new password on the machine itself, do this on the desktop: press Win + I to open Settings, go to Accounts, choose Sign-in options, then Password and click Change. Follow the prompts to set a new password for your account.
Once you have a password in hand, go back to your laptop and, when prompted for network credentials, enter exactly the whoami command result. For example, if whoami showed DESKTOP-PC\JohnDoe, type that in the User name box and the password you just set (or your Microsoft-account password) in the Password box. You'll then connect seamlessly.
If you'd prefer not to enter credentials every time, you can disable password-protected sharing. On the desktop open Control Panel > Network and Sharing Center > Advanced sharing settings > All Networks, and turn off Password protected sharing. That lets any machine on your LAN connect without a password.