Skip to content

Cannot process argument transformation on parameter 'EnrollmentPolicyServer' #260

Description

@DanTheMan-NL

When I use the example from the command Submit-CertificateRequest as displayed on page https://www.sysadmins.lv/projects/pspki/Submit-CertificateRequest.aspx I receive this error:

Submit-CertificateRequest : Cannot process argument transformation on parameter 'EnrollmentPolicyServer'. Cannot convert the "https://xxx/Test%20Issuing%20CA1_CES_Kerberos/service.svc/CES" value of
type "System.String" to type "PKI.Enrollment.Policy.PolicyServerClient".
At line:1 char:150
+ ... olicyServer "https://xxx/Test%2 ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [Submit-CertificateRequest], ParameterBindingArgumentTransformationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,Submit-CertificateRequest

The commands I tried are:
Submit-CertificateRequest -CA $CA -Attribute "CertificateTemplate:TestWebServer(Offlinerequest)" -RawRequest $CSR -CEP "https://xxx/Test%20Issuing%20CA1_CES_Kerberos/service.svc/CES"
Submit-CertificateRequest -CA $CA -Attribute "CertificateTemplate:TestWebServer(Offlinerequest)" -RawRequest $CSR -CEP "https://xxx/ADPolicyProvider_CEP_Kerberos/service.svc/CEP" -Credential Get-Credential

Why doesn't it work?

Metadata

Metadata

Assignees

No one assigned

    Labels

    ResearchRequires additional research or specification clarificationbugBug. An issue exist in our code.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions