Closed alfespa17 closed 2 months ago
My first hunch was: does ''C:\Temp\certificates\' exist at all? I don't think the export command will create directories ...
My first hunch was: does ''C:\Temp\certificates' exist at all? I don't think the export command will create directories ...
Thank you @glatzert that was the issue, I have created a pull request to update the AzureRunbookExample
Hello, I am using similar script from the sample file here with a small update to use a managed identity to connect to azure and to use the Az.Websites instead of using AzureRM.Website, the script has been working pretty well for a long time when running inside an Azure Runbook but from a few days ago I am facing the following issue.
it looks like it is failing in this part of the code because the file C:\Temp\certificates\certificate.pfx is not getting created but I am not really sure why....
Any idea why the Export-ACMECertificate operation could be failing?
This is one sample for the logs that I am getting when running the azure runbook:
The complete script that I am using can be found here.