I found a bug in Startup with the latest release. If you are using Form Authentication, and choose Native and Domain from the GUI, the Login Page won’t load the Username and password TextBoxes.
Set-PSUAuthenticationMethod -Type "Form" -ScriptBlock {
param(
[PSCredential]$Credential
)
#
# You can call whatever cmdlets you like to conduct authentication here.
# Just make sure to return the $Result with the Success property set to $true
#
New-PSUAuthenticationResult -ErrorMessage 'Bad username or password'
} -Native -Domain "MyDomain"
2026-01-09 10:52:59.014 -05:00 [ERR] Error deserializing D:\UniversalAutomation\Repository.universal\authentication.ps1. Parameter set cannot be resolved using the specified named parameters. One or more parameters issued cannot be used together or an insufficient number of parameters were provided.
It looks like maybe the Domain Parameter should be part of the Form Parameter Set?
Let me know if you need any more logs, or any testing to be done!
That did not work either:
2026-01-09 14:05:09.603 -05:00 [ERR] Error deserializing D:\UniversalAutomation\Repository.universal\authentication.ps1. Parameter set cannot be resolved using the specified named parameters. One or more parameters issued cannot be used together or an insufficient number of parameters were provided.
I think the issue is that the -Domain parameter is in a different ParameterSet (Domain) than the -Native Parameter (Form) so it’s failing.