I have written a fairly simple script, to simply retrieve users via the UserPrinsipalName. It fails with the following error:
Get-AdUser : Proper