Product: PowerShell Universal Version: 3.7.2
After several months of it being down, we are finally trying to revive our dev server to test an upgrade. We thought everything look good, but when trying to access the web portal we get this error:
No authenticationScheme was specified, and there was no DefaultChallengeScheme found. The default schemes can be set using either AddAuthentication(string defaultScheme) or AddAuthentication(Action configureOptions).
We have our production environment synced with Azure AD and utilizes MFA. Not sure if that makes a difference. Has anybody run into this error before?
This could be a license issue. If you try to access http://:/login do you see the login page?
Adam Driscoll
PowerShell Expert and Developer at Devolutions
Thanks for the quick response. It should not be licensed, as it is only a dev environment, but what is the easiest way to verify without access to the GUI?
I also tried what you said, and it threw this error:
TypeError: Cannot read properties of undefined (reading 'defaultLoginPage')
at Gt (https://psu-dev.xxxxxxxxxxxxx.edu/admin/static/js/main.899a1edf.chunk.js:1:183774)
at d (https://psu-dev.xxxxxxxxxxxxx.edu/admin/static/js/17.7cce8ea5.chunk.js:2:389246)
at p (https://psu-dev.xxxxxxxxxxxxx.edu/admin/static/js/17.7cce8ea5.chunk.js:2:389574)
at h (https://psu-dev.xxxxxxxxxxxxx.edu/admin/static/js/17.7cce8ea5.chunk.js:2:389311)
at u (https://psu-dev.xxxxxxxxxxxxx.edu/admin/static/js/17.7cce8ea5.chunk.js:2:377284)
at n (https://psu-dev.xxxxxxxxxxxxx.edu/admin/static/js/17.7cce8ea5.chunk.js:2:3110145)
at Suspense
at u (https://psu-dev.xxxxxxxxxxxxx.edu/admin/static/js/main.899a1edf.chunk.js:1:64979)
at m (https://psu-dev.xxxxxxxxxxxxx.edu/admin/static/js/main.899a1edf.chunk.js:1:144280)
at s (https://psu-dev.xxxxxxxxxxxxx.edu/admin/static/js/17.7cce8ea5.chunk.js:2:940914)
at c (https://psu-dev.xxxxxxxxxxxxx.edu/admin/static/js/17.7cce8ea5.chunk.js:2:665677)
at xaDid you come across a solution for this @AnonymousUser or @Adam Driscoll ?
We seem to have the same issue - renewed our licenses back in November, but I think this is the first redeploy we’ve done since then and it’s throwing the same error:
“No authenticationScheme was specified, and there was no DefaultChallengeScheme found. The default schemes can be set using either AddAuthentication(string defaultScheme) or AddAuthentication(Action configureOptions).”
If I try /login I get the same Type Error:
TypeError: Cannot read properties of undefined (reading ‘defaultLoginPage’)
at Gt (https://xxxxxx-dev.azurewebsites.net/admin/static/js/main.2124f30d.chunk.js:1:188679) at d (https://xxxxxx-dev.azurewebsites.net/admin/static/js/17.a1ff02bb.chunk.js:2:388526) at p (https://xxxxxx-dev.azurewebsites.net/admin/static/js/17.a1ff02bb.chunk.js:2:388854) at h (https://xxxxxx-dev.azurewebsites.net/admin/static/js/17.a1ff02bb.chunk.js:2:388591) at u (https://xxxxxx-dev.azurewebsites.net/admin/static/js/17.a1ff02bb.chunk.js:2:376639) at n (https://xxxxxx-dev.azurewebsites.net/admin/static/js/17.a1ff02bb.chunk.js:2:3135711) at Suspense at u (https://xxxxxx-dev.azurewebsites.net/admin/static/js/main.2124f30d.chunk.js:1:9343) at m (https://xxxxxx-dev.azurewebsites.net/admin/static/js/main.2124f30d.chunk.js:1:148799) at s (https://xxxxxx-dev.azurewebsites.net/admin/static/js/17.a1ff02bb.chunk.js:2:954224) at c (https://xxxxxx-dev.azurewebsites.net/admin/static/js/17.a1ff02bb.chunk.js:2:679331) at xa
I’ve double-checked today that we’re using the correct license key - it had changed when we renewed and I’ve updated it today but doesn’t seem to have made a difference.
Is there a minimum version tied to licensing at all? We’ve beenusing 3.8.8 for a fair while now as we’re awaiting on a project to re-architect and uplift - could that be the reason? (I’m clutching at all the straws!)
No, I was never able to get it working. We decided a long time ago to abandon the dev server
Ah, shame. Thanks for the response though.