Product: PowerShell Universal Version: 2.11.1
I followed the instructions here to setup my instance to run as my service account. My service starts and everything seems to work except the ability to call Universal Secret Variables when I choose to run a script as the service account. When i checked the logs, i saw alot of this error message “An exception was thrown while deserializing the token.
Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException: The antiforgery token could not be decrypted.”
When I change my Script Credential to run as the “Default” then the Secret Variables work, and I’m able to use them for -credential prompts.
When I’m logging into PSU, i’m using the default admin user and have all my Secret Variables created with the BuiltInLocalVault.
Any Idea’s on what could be causing this?