Product: PowerShell Universal
New to PSU, I’ve found an instance an old admin had set up in our environment. Its currently running an application that our users used to log into with their AD credentials. AD authentication suddenly stopped working the other day and now I am trying to fix it.
We can still access the login page for the actual application on ports 80 and 443, but i’ve not been able to access the actual PowerShell Universal admin page via port 5000, which I believe I read in the documentation. The server does not appear to be listening on this port.
Can someone point me in the right direction?
Thanks in advance!
If you’re listening on 80 or 443, it won’t be listening on 5000. We just have that in the docs since it’s the default port. The admin console would just be http:///admin. That said, you’ll need to login to get there.
What you can do to temporarily bypass your non-working authentication, would be to go to your PSU server and open the file in %ProgramData%\UniversalAutomation\Repository.universal\authentication.ps1 and comment out what is in there or rename the file. This would revert the authentication back to default and it you can login with “admin” and any password.
You’ll also be able to see what the authentication.ps1 script is doing and maybe figure out why your AD logins arent working.
Thanks! After renaming the authentication file, I’m able to log in as admin with any password, but it 404’s me. Additionally if I visit http://[mysite.com]/admin, authenticated or not, I get 404’d as well. Anything else I can try?