PowerShell Universal and Error 500

Greetings all!

Any idea how to hack my way into fixing error 500 with PowerShell Universal? Made a small OIDC change and reverted it back, and now all logins have error 500. Attempted to restore to a month earlier, and the same error now. As far as I can tell, it must be somehow self-corrupting after I restore the virtual machine to a ‘working’ state. Always error 500 now.’

Product: PowerShell Universal
Version: 1.4.6

Hey @dlloyd,

I’d recommend grabbing a log to see what exception is causing the 500 error.

As for the OIDC settings, you need to verify where they are being configured. They can be in:

  • Appsettings.json in the Program Files directory
  • Appsettings.json in the ProgramData\PowerShellUniversal directory
  • Authentication.ps1 in ProgramData\UniversalAutomation\Repository.universal directory

One troubleshooting step would be to make sure they are only configured in one place.