Could not set custom hostname 'xn--80aakbcae3au6am7h4b.xn--p1ai'. Details: Microsoft.Rest.Azure.CloudException: The
name xn--80aakbcae3au6am7h4b.xn--p1ai is not valid.
and then
Exception calling "UploadFile" with "2" argument(s): "System error."
At F:\path\Powershell\LetsEncrypt\WebAppFiles.ps1:28 char:35
Get-ChildItem : Cannot find path 'F:\path\Powershell\LetsEncrypt\web.config' because it does not exist.
At F:\path\Powershell\LetsEncrypt\WebAppFiles.ps1:28 char:35
Exception calling "UploadFile" with "2" argument(s): "An exception occurred during a WebClient request."
At F:\path\Powershell\LetsEncrypt\WebAppFiles.ps1:28 char:35
Wasn't really tested with that. If you want to fix it, feel free to do so. Happy to accept a pull request, but it is not something I plan on working on. Sorry.
I get this warning first:
and then
Get-ChildItem : Cannot find path 'F:\path\Powershell\LetsEncrypt\web.config' because it does not exist. At F:\path\Powershell\LetsEncrypt\WebAppFiles.ps1:28 char:35
Exception calling "UploadFile" with "2" argument(s): "An exception occurred during a WebClient request." At F:\path\Powershell\LetsEncrypt\WebAppFiles.ps1:28 char:35
and the following at the end: