When attempting to test this script, I have a users.txt file with one email address listed. Upon attempting the invoke-lyncspray, it fails on invalid credential provided at the command line. But when I use the correct password once (correctly shows the Found credentials message) subsequent calls also return the valid credential message even with invalid password entries.