Quantcast
Channel: Public Key Infrastructure PowerShell module
Viewing all articles
Browse latest Browse all 729

Commented Unassigned: Add-CertificateTemplateAcl returned error when called from PowerShell remoting [48]

$
0
0
The following works locally
Get-CertificateTemplate -Name $template | Get-CertificateTemplateAcl | Add-CertificateTemplateAcl -User $user -AccessType Allow -AccessMask $fullControl | Set-CertificateTemplateAcl

But if I ran it from a PowerShell remote session, I got error:
Specified method is not supported.
+ CategoryInfo : OperationStopped: (:) [], NotSupportedException
+ FullyQualifiedErrorId : Specified method is not supported.

Any idea what could be wrong? Is there a workaround?
Comments: I don't think that AD object ACL modification is supported in remote sessions. There is no need to perform this operation in remote sessions, since you already modify ACL remotely.

Viewing all articles
Browse latest Browse all 729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>