neos-sdi / adfsmfa

MFA for ADFS 2022/2019/2016/2012r2
MIT License
139 stars 51 forks source link

Input string was not in a correct format. #350

Closed helloboy1980 closed 2 months ago

helloboy1980 commented 2 months ago

Hi

When my users want to enroll in the final stage they get Input string was not in a correct format. This error will be shown in the event viewer as well. I checked SQL connection and every thing is ok. Also when I use below command I get the Error adding user xxx@xxxxx.com Input string was not in a correct format. Add-MFAUsers -Identity xxx@xxxxx.com -MailAddress xxx@xxxxx.com -Confirm:$false

But when I use above command with PIN it works.

How can I check why default PIN is not set on users because I do not want to set PIN for my users?