letsencrypt-siteextension
letsencrypt-siteextension copied to clipboard
Exception in Automated Installation.
When trying to create new certificate I populate the Authentication Settings and when I press next I get the following:
System.ArgumentException: 'authority' should be in Uri format Parameter name: authority at Microsoft.IdentityModel.Clients.ActiveDirectory.Authenticator.DetectAuthorityType(String authority) at Microsoft.IdentityModel.Clients.ActiveDirectory.Authenticator..ctor(String authority, Boolean validateAuthority) at Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext..ctor(String authority) at LetsEncrypt.Azure.Core.ArmHelper.GetToken(IAzureEnvironment model) in J:\Projects\letsencrypt-siteextension\LetsEncrypt.SiteExtension.Core\ArmHelper.cs:line 39 at LetsEncrypt.Azure.Core.ArmHelper.GetWebSiteManagementClient(IAzureWebAppEnvironment model) in J:\Projects\letsencrypt-siteextension\LetsEncrypt.SiteExtension.Core\ArmHelper.cs:line 19 at LetsEncrypt.SiteExtension.Controllers.HomeController.Index(AuthenticationModel model)
To answer my own issue: You get the above error if you have then incorrect Tenant in the form.
Something for back log could be catch the exception and give a better error message.
IMHO a better error message is good enough reason to keep this open...
Wow, this thread really helped me. I second that a better error message is important.