Quantcast
Channel: Forum Microsoft Identity Manager
Viewing all articles
Browse latest Browse all 4767

SSPR Automatic User Registration - Encoding Issue

$
0
0

Hi,

I'm using a script to programatically register SSPR users, it's based on the sspr script here:

https://konab.com/automate-sspr-registration-fim-2010-r2/

This scripts works fine, but I have an issue. HR provide me with an ASCII exported CSV file containing the answers. I convert the ASCII to unicode using notepad and import the file using a script (my script uses "-Encoding Unicode" with the import-CSV cmdlet. The problem I have is:

 When users type their SSPR answers in a web browser, if the answer has a space (i.e. " ") the response always fails, but if the user copies their answer from the input file, this works.

I've tried modifying the input CSV file by doing a find and replace on white space by copying a single blank space and then doing a replace using a typed space and saving the file as Unicode. This has the opposite effect - if a user types their answer, it works, but if they do a copy and paste from the input source it fails.

In summary, I want to give users the option of copying and pasting their SSPR answers, as well as typing them in directly - however I can't do that, it seems as if I'm hitting encoding issues somewhere. I've tried importing the file as ASCII but that's even worse - any answers with  space fail regardless of whether I type or copy the answer in.

Any help appreciate, thanks.


IT Support/Everything


Viewing all articles
Browse latest Browse all 4767

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>