Microsoft Windows allows end users to reset their security key if they have forgotten their PIN or need to delete the previously registered FIDO2 credentials.
Warning: If you reset your YubiKey, it will no longer be associated with your user account in Microsoft 365 and will need to be re-registered.
Navigate to Sign-in options.
Click Security Key. Once expanded, click Manage.
When prompted, touch the YubiKey and enter in the PIN.
Select Reset to reset the security key.
Click Proceed to reset the Security Key.
When prompted, touch the YubiKey. The YubiKey is now reset.