none
PowerShell Web Access - Get-Credential and storing credential object RRS feed

  • Question

  • Hi All,

    I'm currently setting up a PSWA server, and trying to create a startup script which will create a credential file for users after they log in.

    The users connect via pswa into a dummy server, at which point the startup script does a Get-Credential. 
    That part works, but as soon as it gets to ConvertFrom-SecureString code (or Export-CliXML), I either start getting access denied (if non admin), or the following:

    ConvertFrom-SecureString : The requested operation cannot be completed. The computer must be trusted for delegation 
    and the current user account must be configured to allow delegation.

    What can be done to allow the users the ability to store credentials in the target server that they are connecting to via PSWA? 

    Any help is appreciated!

    Regards,

    Jamie



    Jamie Courtes MCTS - SCCM 2007 MCTS - SCCM 2012

    Monday, June 12, 2017 6:20 PM

All replies