Windows Hello is mainly used in UWP : https://learn.microsoft.com/en-us/windows/uwp/security/microsoft-passport-login
If you use it in a classic WPF app, you get
The process has no package identity. (Exception from HRESULT: 0x80073D54)
(tested on Windows 10 22H2)
So you need to package it (Desktop Bridge or other)