Hello, thank you for reaching out to Microsoft Q&A.
You may encounter this error if you have connected your device to a Work/School account and you are signed in with an Azure account.
Do you remember adding your Work/School account to the device before?(Settings > Accounts > Access Work/School account)
As you are unable to sign in, here's what you can try:
Option 1. Reset TPM Memory from BIOS.
TPM is responsible for storing the ashes for Windows Hello PIN. Resetting it may resolve the sign-in issue.
- Boot your PC into the BIOS Utility screen.
- In the Security or Advanced tab, find TPM 2.0 Security or Intel PTT (or similar terms), select Clear TPM, and click OK.
- Save the configuration changes made and restart your computer.
- Sign in with your PIN.
Option 2.
Your device might be booted into Diagnostic startup mode, which disables all the necessary Windows services. This could have happened after making any recent system changes to your device. You can follow the guidelines in the article below to switch the startup type to Normal Startup and see if you can sign in with your PIN normally again.
https://www.winhelponline.com/blog/something-happened-pin-not-available-diagnostic-mode/
Note - This article was written by a trusted Microsoft MVP, Ramesh.
Disclaimer - This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.'
Let me know if you still need more help.