Closed rchan-cjj closed 5 days ago
Running the function Get-UserPRTKeys with leads to the error Parameter set cannot be resolved using the specified named parameters (AmbiguousParameterSet) error
$prtKeys = Get-AADIntUserPRTKeys -Credentials $creds -PfxFileName .\d03994c9-24f8-41ba-a156-1805998d6dc7.pfx -TransportKeyFileName .\d03994c9-24f8-41ba-a156-1805998d6dc7_tk.pem
I added ParameterSetName='FileAndPassword' to the parameter $Credentials to resolve the conflict
(I found that trying to reattempt Pass The Certificate in 2024. Again, thanks for the great work for all these years!)
Running the function Get-UserPRTKeys with leads to the error Parameter set cannot be resolved using the specified named parameters (AmbiguousParameterSet) error
$prtKeys = Get-AADIntUserPRTKeys -Credentials $creds -PfxFileName .\d03994c9-24f8-41ba-a156-1805998d6dc7.pfx -TransportKeyFileName .\d03994c9-24f8-41ba-a156-1805998d6dc7_tk.pem
I added ParameterSetName='FileAndPassword' to the parameter $Credentials to resolve the conflict