DEV Community

Discussion on: RunAS account in Azure Automation, ARM Template and deployment script

Collapse
 
glaisne profile image
Gene Laisne

I'm trying to implement this with a slight difference (using an existing service principal). I'm having a problem with the cert. Specifically the $certCollection.Import() call. The error I'm getting is "Exception calling "Import" with "3" argument(s): "Error occurred during a cryptographic operation."
Did you get this, or know where this might be coming from? TIA.